Preview not working correctly when Wordpress is not installed in same directory
|Reported by:||frizzle||Owned by:|
I did this using the exact instructions here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
The site is not MultiSite.
It works perfectly EXCEPT when it comes to previewing posts. If I preview a unpublished, draft post, it tries to access http://mypages.com/?p=114&preview=true — which doesn't work.
The only funny thing about this install (which is brand-new) the different directory. (The same theme, files, version, etc. work fine on a testing server where Wordpress is installed in the same directory.)
I also have trouble previewing changes — I get this form of URL for pages and this form for posts:
For both I get the following response: "You do not have permission to preview drafts."
Again, the only thing different between this install and another, cloned install is the ability to have Wordpress in its own directory. I suspect the same sort of bug is at the heart of both.
Not having the ability to preview posts or changes is a "major" bug in my book — it's pretty key for all of us who don't want to fly blind!