【问题标题】:After use seo url friendly opencart it shows pages out of website ; localhost page使用 seo url 友好的 opencart 后,它会显示网站外的页面;本地主机页面
【发布时间】:2014-05-05 14:35:22
【问题描述】:

请我在 opencart 中遇到关于 seo url 友好的问题

我安装了OpenCart 1.5.5.1 应用服务(PHP Version 5.2.6 Apache/2.2.8 (Win32)) 并将 htaccess.txt 重命名为 .htaccess ,我检查了 mod-rewrite 是否已启用。

我测试了 2 个主题:

1 如果启用 SEO URL(Settings->Server) ->我已经在管理页面上设置了密钥word = about_us 打开关于我们的页面后,它会显示 appserv 服务器的第一页

2 如果禁用SEO URL(Settings->Server) ->打开关于我们的页面后显示index.php?route=information/information&information_id=4" -> 显示正确的页面。

我尝试使用opencart 15.6.4 这是同样的问题。 我做错了什么?请帮我解决它。 非常感谢。

【问题讨论】:

    标签: seo


    【解决方案1】:

    尝试在您的 .htaccess 文件中更改以下内容:

    重写基础/

    需要改成

    RewriteBase /your_project_name/

    【讨论】:

    • 现在可以使用了,非常感谢您的好意。 ^-^
    猜你喜欢
    • 2017-09-20
    • 1970-01-01
    • 2014-04-09
    • 2015-12-10
    • 1970-01-01
    • 2014-12-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多