StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Page url is redirecting to existing page (http://www.studiopress.com/support/showthread.php?t=123121)

camrud 11-03-2012 03:29 AM

Page url is redirecting to existing page
 
I am trying to create a new page called /denver-pay-per-click/

When I publish it, it shows me a page in my site called http://camrud.com/denver-pay-per-click-management/

When I return the page to draft status, and type in http://camrud.com/denver-pay-per-click/ it doesn't show the 404 page, it still redirects to the same page.

I have turned off plugins.
I have reset the permalink structure.
I have checked for 301 redirects in the .htaccess file
My host says all is clear with the hosting, regarding anything that would cause this.
It does this in Firefox, Safari, and Chrome (wasn't sure if browsers have started filling in the next best thing if they can't find a file that matches)

Theme is copyblogger with WP 3.4 and Genesis 1.8.2

Has anybody experienced such a thing?

Thanks.

andrea_r 11-03-2012 07:28 AM

Because you have two similarly named pages, and the end slash is being stripped from the end fo the url.

So Wordpress is filling in the rest.

This would happen even if you switched themes - it's the permalink slug on both pages.

camrud 11-04-2012 11:49 PM

Thanks Adrea, but it doesn't change the faulty action. I had previously had the end slash, but removed it. I replaced it again, but the same thing occurs.

Slight difference, but may be significant -- Wordpress is filling in the rest, but in the process is overriding a shorter page url; in effect overriding a page naming system.

andrea_r 11-05-2012 06:38 AM

Try it with the default WP theme. If it still happens, post over at the wordpress.org forums.

Bill Murray 11-05-2012 09:30 AM

If you look at the headers, the URL without the word "management" in it is 301 redirecting to the URL with the word management. In all likelihood, you manually edited the permalink and created a page with a similar URL and the combination of those 2 events confused WP, which tries to set up a redirect in the event the permalink is changed.

Try looking at your DB in the posts table and find the record for the URL without the word "management" and look at the guid field.

Too much playing with permalinks (manual or otherwise) can create redirect loops that will make your browser's head spin.

Hope that helps.


All times are GMT -5. The time now is 10:53 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.