I have tried various option on my local wamp server for magento to remove index.php usng .htaccess
as per this stackoverflow link - link
I have tried various alternatives like
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
## RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
## RewriteRule . /index.php [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
## RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule . /index.php [L]
</IfModule>
- I have set the secure url to use on Frontend.
- Also set the Use Web
- Server Rewrites to yes. Cleared all the cache.
Now when I access a category, the url is shown without index.php. But then instead of the showing the category page I get the wamp server configuration page.
Note: If I insert the
index.php
between the domain and category the page opens correctly