0

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

2
  • Possible duplicate of How do I remove index.php from the URL in Magento Commented Feb 13, 2017 at 21:24
  • when I told that there is no answer, rather I have given the link to answer myself. What I am asking is even after following the answer I am not getting the intended result. Commented Feb 13, 2017 at 21:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.