Friday, September 3, 2010

Magento - Admin Redirect to Frontend Homepage

I have had this problem a couple times. There are three possible resolutions:


  1. Go to Configuration > General > Web and set "Redirect to Base URL if requested URL doesn't match it" to NO
    1. the problem with this is that your canonicals will then need to be set to optimize seo and remove duplicate search engine sites lowering seo
  2. Instead of typing domain/admin type www.domain/admin
  3. Follow Step 1 and then add this to your htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite\.com
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]










I would select 3

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Web Design & Marketing - Click and get an instant quote on your project