0

enter image description here

when I enter url http://magento.premierexports.co.uk/magento/admin that time magento admin panel not open. Instead of this when I enter url http://magento.premierexports.co.uk/magento/index.php/admin that time admin panel is open. please provide solution

1

1 Answer 1

1

Follow following step :

Login, and change this setting Go to

System > Configuration > Web > Search Engine Optimization

Use Web Server Rewrites: YES

Then check .htaccess file exist or not in root , If not then include it from copying any default magento setup. Put the following code in the created file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

In case your Magento is installed in sub-folder, e.g. 'shop', you should use the following code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /shop/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /shop/index.php [L]
</IfModule>
2

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.