Incorrect /?step=2 URL and missing actions for links
-
Been at this all day with two heads with dozens of reinstallations and we can’t seem to get it resolve. We got the site up, but is not correct:
https://opensite.winserver.com/blog
1) Installation
At step=2, the urls seems to be incorrect, for example, the form action for the login was:
/blog?step=2/wp-login.php
and the links on this page also pointed to /blog?step=2
The only way we figured how to get pass this stage was to stop at this login page, go to the database wp_options table and edit the siteurl which has this incorrect url
https://opensite.winserver.com/blog?step=2
Removing ?step=2 and saving the table, going back to the login and refreshing it, finally shows the loging with the correct CSS, etc.
Then we are able to login in.
But there were urls that remained to have /blog?step=2
I was able to clear most of these by blanking out the BLOG URL in the admin panel. But there still remain a few.
We tried everything short of reviewing the PHP deeply to see whats going on. I’m a developer and this smells, walks and talks like the old PHP_SELF and/or PATH_INFO string concatenation problem that PHP has with various web servers that don’t set it correctly which is NOT too and allow PHP to handle it. I pencil in time to look at WP php code to see if this is the issuse, but it would seem to me that this would be repeated by others and was resolved. Googling this offers no real solution.
Again, nothing special in the installation. Followed all instructions.
2) Missing URLs scripts for URLS
In the main blog home page, like at the url above, various lines have no script to it, like the about:
https://opensite.winserver.com/blog/?page_id=2
and the same with the edit/comment links.
I’m capable of rolling up my sleeves and digging into this and try to find the problem, but this is way too obvious of a problem – something was done wrong or we missed a step somewhere.
Any tips or pointer to a solution?
Thanks
- The topic ‘Incorrect /?step=2 URL and missing actions for links’ is closed to new replies.