Strange redirection problem after upgrade from 2.2 to 2.6
-
Hi there,
I recently upgraded to WordPress 2.6.3, which seems to cause a strange redirection problem on my domain (www.laszlo.se)
My host supports some kind of virtual subdomains – for example, each top folder created on the domain can be used as a subdomain mirror (I don’t know the correct term for this, I’m afraid). In my case I have my blog at https://www.laszlo.se/blog/. This means that blog.laszlo.se can be used instead – although, there is no physical subdomain, all it does is that it redirects the user to the original adress (www.laszlo.se/blog/). Since I upgraded to WordPress 2.6.3 (from 2.2) this has caused some issues,
blog.laszlo.se now bounces back to the top of the domain, https://www.laszlo.se, instead of https://www.laszlo.se/blog/, as of before.
Unfortunately this is quite a big issue for me since most of the sites linking to me uses blog.laszlo.se and not https://www.laszlo.se/blog
My humble guess is that the problem lies somewhere with all require-statements in the index.php and wp-blog-header.php files, although I’m not a web developer so I wouldn’t know.
Unfortunately my host does not allow me to change anything in the phpinfo, so the only way to solve this would be with php. A trick I tried was to change the original index.php to index2.php and create a new index.php with the following line
header(‘Location:https://www.laszlo.se/blog/index2.php’);
However, this caused another problem; when I visit a single post or a category or something else it bounces back to index2.php.
Sorry for the fuzzy explanation – I hope somebody could clear some things out for me. ??
Thanks in advance
- The topic ‘Strange redirection problem after upgrade from 2.2 to 2.6’ is closed to new replies.