Wednesday, June 8

How to remove index.php from magento URL

Hi, if you are using Magento and your site urls are looking this way,

http://www.mymagentostore.com/index.php/cloths/men.phtml

So, you must be looking , how to remove that index.php from the url, as thats not good for Search Engine Indexing at all. So, here is the trick.

1. Goto your site root folder and you can find the .htaccess file. Just edit that. Open it on a text editor and find this line, #Rewrite Base /magento/ . Just replace it with Rewrite Base / .

2. Then goto your Admin Panel and enable the Web Server Rewrites. You can find it at System > Configuration > Web > Search Engine Optimization.

3. Then goto your Cache Management page ( System > Cache Management) and refresh your Cache and also refresh the Web Redirects.

now check the front end.

Hope it helps.. Thanks..

No comments:

Post a Comment