Opencart 2.3.0.2 如何将默认的 index.php?route=common/home 更改为 index.php?route=magikblog/article [英] Opencart 2.3.0.2 how to change default index.php?route=common/home to index.php?route=magikblog/article

查看:79
本文介绍了Opencart 2.3.0.2 如何将默认的 index.php?route=common/home 更改为 index.php?route=magikblog/article的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有人可以帮助我,我有问题我想将默认的 index.php?route=common/home 更改为 index.php?route=magikblog/article 因为我希望访问者先访问我的博客他们开车到我网站的另一部分.请帮忙!谢谢

I have a problem if anyone could help I would like to change the default index.php?route=common/home to index.php?route=magikblog/article cos I want the visitor visit my blog first before they drive to another part of my site. Please help! Thanks

推荐答案

'common/home' 默认路由设置在配置文件中:

The 'common/home' default routing in set in a config file:

/system/config/default.php

/system/config/default.php

在默认操作变量设置下

// Actions
$_['action_default'] = 'common/home';

只需将路线更改为

// Actions
$_['action_default'] = 'magikblog/article';

或任何其他首选路由

这篇关于Opencart 2.3.0.2 如何将默认的 index.php?route=common/home 更改为 index.php?route=magikblog/article的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆