Question

If I use an online redirect checker like redirect-checker or seobook.com I do get a "SERVER RESPONSE: HTTP/1.1 302 Moved Temporarily" for all pages, even for the homepage.

I tried to fix it by modifying .htaccess:

#RewriteRule .* index.php [L]
RewriteRule .* index.php [R=301,L]

But this results in a "broken" redirect like:

http://www.example.com/www/sites/www.example.com/files/html/index.php

Further I changed

System -> Configuration -> Web -> Url Options

and set "Auto-redirect to Base URL" to 301 (before 302). Cleared ALL caches in backend and var/cache - The online checker still show the same - 302.

Any ideas how to fix the issue? Thanks!

Was it helpful?

Solution

I fixed it - in my case a GEO Location extension was responsible for the issue.

Anyway - to check in general I recommend to take a look in

  • .htaccess
  • index.php
  • search for keywords like "controller_action_predispatch" events, "header('Location:" or ""HTTP_X_FORWARDED_FOR" to identify related extensions and disable these.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top