2015-07-01 59 views
-2

我正在使用VPS托管。无法从url magento中删除index.php在VPS主机上

/var/www/html下创建虚拟服务器,现在,在这我已经迁移我的Magento站点。

如果我在.htaccess文件中进行更改从url中删除index.php它不起作用。我曾尝试从Magento管理面板使用Web服务器Rewrites -> Yes,它也无法正常工作。

Mod_rewrite也能。

您的帮助将不胜感激。

+0

解决的问题。有问题,在特定的商店配置index.php被提及。 –

回答

0

正如你已经设置Web Server RewritesYes。请确保Base Secure URLBase Unsecure URL不含index.php例:

基本URL必须像的http://www.example.com/代替http://www.example.com/index.php/

+0

嗨.. Pankaj ...我使用没有index.php的基础网址...所有相同的数据都适合我的Godaddy托管。 –

+0

好吧..请按照这两个帖子上的回答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这里提到所有可能的情况 –

+0

谢谢大家.. –