Won't redirect site correctly
-
I’m trying to set up a duplicate test site of my wordpress site, but with the same database. I have copied the site in to a sub directory.
But the site wont redirect to the directory. It always get back to the root. I first thought it was a htaccess problem. But then found out it isn’t, with a die(); test I could see it actually hit the index file in the sub directory. I have also changed the WP_SITEURL and WP_HOME. But the site is still going back to the root.
I thought for a while and came to the conclusion that it may be due to the Polylang plugin. Is it using the database siteurl to redirect the site? Can I override this in any way?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Won't redirect site correctly’ is closed to new replies.