• Everytime I do an upgrade of WP, my post preview has failed. The 2.6 upgrade I thought would be better, but it’s been the worst of all.

    I host my WP blog with a subdomain: https://www.mydomain.com/mysub, which is pointed to https://mysub.mydomain.com.

    In versions of WP prior to 2.6, my pain in the rear problem was that the preview links always referred to URLs of the format https://mysub.mydomain.com?p=<#>&preview=true. The way I got that to work was to hack the source so that it instead always pointed to https://www.mydomain.com/mysub/?p=<#>&preview=true. For some reason, that always worked when the former didn’t.

    Well, in WP 2.6 is it looks like they not only make post preview fail for me with its URLs of the format https://mysub.mydomain.com?p=<#>&preview=true. Now I try to type in or force a URL change to the format https://www.mydomain.com/mysub/?p=<#>&preview=true and that now *also* fails as well, giving me a “Oooops…Not found !” 404 error. The original ttp://mysub.mydomain.com?p=<#>&preview=true format URLs give me a “Not Found – Sorry, but you are looking for something that isn’t here.” error. So now I am screwed on both counts without a way to access a URL to view a preview of my posts.

    Is there a new URL format I should be using to get anything to appear right for previewing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter swag

    (@swag)

    I did research a fix that was the only thing that worked under these conditions.

    In Settings -> General, I’ve had “WordPress address (URL)” set to https://www.mydomain.com/mysub/ and “Blog address (URL)” set to https://mysub.mydomain.com/. Since version 1.x.

    By making them both https://mysub.mydomain.com/, I could get preview to work again. Which makes me absolutely puzzled as to why WP 2.6 would continue to offer two options for the blog URLs if the do not work if different…

    I have the same problem as well. WordPress address (URL) and Blog address (URL) were different for years (setup like swag) and never had any problems whatsoever. Now with the 2.7.1 upgrade, the preview fails exactly as described. I made the change suggested by swag but this didn’t work. I lost my stylesheet. The formatting was gone although the text and links looked ok. Did you make any other changes other than change the WordPress address (URL)?

    Some people suggest that you also have to do a 301 redirect. I haven’t been able to figure that one out as I’m not a .htaccess guru. I’m not sure of the exact sequence that one must follow to update the .htaccess and the rest of WordPress. I give it a shot earlier but made a mess of things.

    Any suggestions would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 2.6 – Post preview fails’ is closed to new replies.