Jump to content

Redirect Loop on Front office


Recommended Posts

Hi everyone

 

I am on PS1.6 and I wanted to transfer my website from local to an OVH server which already hosts another website

The new website is in : www/sitev2

The old website directly in www/ (Magento CMS)

But when I try to access the front office, (www.mywebsite.com/sitev2), I have an error telling me there is redirect loop.

 

I can't access FO but I can access Back Office no problem.

What I've already tried :

 

- Chmod 777 for all files

- Delete .htaccess and in Back Office, Disable/Enable Friendly URL to regenerate an htaccess

- Disable Apache multiview

- I verified the config file with database informations : OK

- Empty cache

- Empty chrome cache

I don't know what to do, if you have an idea ... Debug mode is ON but no error.

Do you think maybe it's because I have an other website in www/ (with an htaccess and all) ?

Thank you for your help, I'm lost here ..

 

Templar

Link to comment
Share on other sites

I just found what was wrong :

 

The "Redirect to the canonical URL" option in SEO & URL was set on "301 : Moved Permanently." or "302 : Moved Temporarely"
Either case it's not working, I have to set it to "No redirection" and it works.

On my local website it's on 302 and it's working fine, any idea why on my serveur I have to set it on "No redirection" ?

And is it bad to set it on this value ? In the BO it says it may cause some duplicate content issues ...

Thank you,
 

Templar

 

EDIT : Now that I can see my Front Office, I have an other problem, if friendly URLs are activated, when I click on any link, it send me to a 404 not found page from the OLD VERSION of the website which is directly in www/
I have to disable friendly URLs to make it work ...

Any idea ?

Edited by Templar77400 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...