Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Supplementals issue on Wordpress internal pages

old and new wp versions have different urls - will 301s fix?

         

Kurt

9:23 pm on May 11, 2007 (gmt 0)

10+ Year Member



Page one of site: domain.com has good links, the rest have gone supplemental. A version ago of wordpress, they used urls like this /?p=60

The new method uses pretty urls, where it would be /something-i-gave-as-a-title/

Still, I had many pages in the index with the?p=id method, and then coverted to a new version of WP and it changed all my urls. However, id based url's still work in wordpress. Dupe content is killing me I think, and if not, I should still fix it anyway.

That would be a few hundred mod rewrites to 301 redirects to fix it, lots of work.

Also, the fact wordpress will serve up a page based on id versus a url title can post "gaming" issues for someone who wanted to hurt me. They would simply have to link bait a post to a network, and use the?p=id link, and there you have it, crawled dupe content.

So rewrite method would fix the past issues, but I am thinking, this should be solved at the wordpress level, something like:

if get args send in url ending with p=id
search mysql for the real page name
301 redirect out that page to the correct one
end if

Is this solid thinking, and if so, anyone else even considered this as an issue?

Robert Charlton

5:20 am on May 12, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Kurt - You may want to take a look at this thread in the Apache Web Server forum, which starts out by alluding to issues that sound very much like yours, and then goes into some of the server specifics...

Lost in Wordpress tweaks and code
need help tweaking .htaccess and robot.txt
[webmasterworld.com...]

OK, I've spending the last 4 hours reading the various topics relating to wordpress and modifications needed to avoid duplicate content penalties and subsequent supplemental indexing.