我正在使用VPS托管。无法从url magento中删除index.php在VPS主机上
我/var/www/html
下创建虚拟服务器,现在,在这我已经迁移我的Magento站点。
如果我在.htaccess
文件中进行更改从url中删除index.php
它不起作用。我曾尝试从Magento管理面板使用Web服务器Rewrites -> Yes
,它也无法正常工作。
Mod_rewrite
也能。
您的帮助将不胜感激。
我正在使用VPS托管。无法从url magento中删除index.php在VPS主机上
我/var/www/html
下创建虚拟服务器,现在,在这我已经迁移我的Magento站点。
如果我在.htaccess
文件中进行更改从url中删除index.php
它不起作用。我曾尝试从Magento管理面板使用Web服务器Rewrites -> Yes
,它也无法正常工作。
Mod_rewrite
也能。
您的帮助将不胜感激。
正如你已经设置Web Server Rewrites
到Yes
。请确保Base Secure URL
和Base Unsecure URL
不含index.php
例:
基本URL必须像的http://www.example.com/
代替http://www.example.com/index.php/
嗨.. Pankaj ...我使用没有index.php的基础网址...所有相同的数据都适合我的Godaddy托管。 –
好吧..请按照这两个帖子上的回答http://magento.stackexchange.com/questions/21033/remove-index-php-from-the-magento-url-gives-404-error http:// stackoverflow。 com/questions/10474740/how-to-remove-index-php-from-url这里提到所有可能的情况 –
谢谢大家.. –
解决的问题。有问题,在特定的商店配置index.php被提及。 –