Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress page URL goes to wrong page

Tags:

wordpress

I have a weird issue. I am still somewhat new to WordPress and I have an issue that has me stumped.

I have been working on a site created by another developer. I have been fixing the site map by making sure that pages have the appropriate parents and proper permalinks.

I have a situation where I have a page with the following permalink:

http://passaicschools.org/school-no-2/anti-bullying-info/

The problem is that this link takes me to a different page with a different permalink:

http://passaicschools.org/school-no-1/anti-bullying-info/

I can't seem to figure out what is going on here. You can even type in the first url and it "redirects" (it looks like a redirect but I am not using that term in a technical sense).

Can anyone point me in the right direction on this?

Thanks in advance...

like image 769
Menachem Bazian Avatar asked May 15 '17 19:05

Menachem Bazian


1 Answers

I had a similar issue where I created a services page and when I added it to the top menu it kept automatically redirecting to the blog page.

All the permalinks were fine and nothing was set to have a parent page. I read an above comment and tried a reverse effect of actually giving the services page a parent (I made it the blog page it was automatically redirecting to) and then it went to the services page perfectly fine!

I'm not sure how or why this worked but it fixed the issue so I'll worry about permalink aesthetic later haha

like image 113
Pri Avatar answered Nov 15 '22 10:11

Pri