Under "Search Engine Optimization" set value of "Use Web Server Rewrite" to "Yes"
Under "Secure" section set "Use Secure URLs in Frontend" to "Yes".
Now,
Add the following lines to your .htaccess 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>
If your magento setup is under some folder like Clients/testsite then use followin lines
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Clients/testsite/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /Clients/testsite/index.php [L]
</IfModule>
No comments:
Post a Comment