Preview not working correctly
-
I think this is an easy problem to solve, but I can’t figure it out.
I originally installed WordPress in a /wp directory in root. I’ve since moved the index file to the root level, and left everything else in /wp. I changed the path in the admin accordingly, and everything works and publishes just fine. I access my admin in /wp/wp-admin just fine. The only quirk I noticed was that a second index also continues to publish in the usual directory within /wp (it’s /wp/wp-content/index.php).
Everything works except previewing. The preview button brings up an error message, saying “nothing found” – because the url is wrong for the preview. It’s trying to load a preview on the root dir (“.com/?p=”), but I have to manually add the /wp to see the preview load.
Thoughts on where to fix this glitch? I’d love to also delete that second index from publishing in the process – something tells me it’ll happen automatically with this fix – but really need to get preview working first.
Thanks!
The topic ‘Preview not working correctly’ is closed to new replies.