.

.

How to remove ‘index.php’ from the website URL

1. Click the System->Configuration tab.
2. click "Web" tab under "General" on the left hand side of your admin panel.
3. Now set the "Use Web Server Rewrites" option under "Search Engines Optiomization" to "Yes".
4. Then, set the "Use Secure URLs in Frontend" option under "Secure" to "Yes". Click "Save Config" button in the top right:
5. Now we need to create an .htaccess file with the rewrite directives in the root of your Magento installation. You may use your hosting control panelFile Manager or FTP to create a file.
If your Magento store is installed in root (public_html), use this:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
If your Magento store is installed in a subfolder (public_html/shop), use this:
RewriteEngine On
RewriteBase /shop/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /shop/index.php [L]



EmoticonEmoticon