Jump to content

Recommended Posts

Posted
We copied a processwire instalation (website) to another directory on the same server to create a new PW website:

from /site2014 to /site2016

The strange thing is that when we access:

/site2016 we get redirected to /site2014/home

Everything is ok if we use /site2016/home (doesn't redirect).

I've already checked all ocurrences of "site2014" in /site2016 and changed everything accordingly but the redirect remains...

Also checked the .htaccess file and there's no refence to /site2014...

Any feedback welcome.

Posted

ProcessWire doesn't hardcode any folders or any location information. It's all working relatively to the root folder. Did you use any $session->redirects before copying the folder? When used without a second argument, it would create a permanent redirect, which your browser would memorize and not even try to access the url before redirecting. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...