Deleting post redirects to root folder but WP site is not at root
-
I have this structure at https://gaycurl.ca :
/index.html (landing page for visitors to pick a city)
/home.php (home page for the active Toronto site)
/toronto/ (my WP site, not yet launched)The WP site under /toronto/ used to be hosted under /wordpress/, but I moved it. The site seems to be working fine, but one consistent problem appears every time I delete a post: after clicking Trash to delete, it redirects my browser to the root of the domain instead of remaining inside the WP site.
This means when I’m on this page:
https://www.gaycurl.ca/toronto/wp-admin/edit.php…and I click Trash on a post, I end up on this page:
https://www.gaycurl.ca/?trashed=1&ids=269This also happens when I restore a page from Trash. I end up here:
https://www.gaycurl.ca/?untrashed=1In each case, I should have stayed inside /toronto/.
I don’t believe any source files have been edited, but since I upgraded 3.5 onto a version someone else installed I can’t be sure. I don’t know if this existed before the upgrade, as upgrading was my first step, followed by moving to new directory.
No redirect plugins, just akismet, WP to twitter, Use Google Libraries, and Embed Latest Tweets.
Important and possibly tricky note: index.html must remain the default root homepage, so that visitors can choose their city and only go into /toronto/ by choice.
- The topic ‘Deleting post redirects to root folder but WP site is not at root’ is closed to new replies.