Welcome to WebmasterWorld Guest from 3.80.4.76

Forum Moderators: rogerd & travelin cat

WP is generating duplicate pages with "double" urls?

     
2:07 am on Jan 29, 2019 (gmt 0)

Junior Member

Top Contributors Of The Month

joined:Jan 8, 2019
posts: 89
votes: 2


Almost every URL on the site I just took over has a duplicate page that is just the original URL with a forward slash and then the url again. Sometimes with a -2 at the end.

That URL sends to a page with the same title tag and image as the original URL, but no content. I'm not sure if Wordpress is doing this or what.

Anyone else ever seen this before?
2:45 am on Jan 29, 2019 (gmt 0)

Preferred Member from CA 

Top Contributors Of The Month

joined:Feb 7, 2017
posts:572
votes: 58


I have not seen this before. Check your Permalink settings. Check to see if someone has messed with your .htaccess. Wordpress has a standard htaccess [codex.wordpress.org...] :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
3:34 am on Jan 29, 2019 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4469
votes: 332


WordPress only does what you tell it to do, so it is taking the instructions found in the Settings. If you are not able to edit your Settings > General URLs as posted previously here: [webmasterworld.com...] you need to straighten that out to be able to change the Permalink structure. These problems are related, not separate.

Are there additional efforts to rewrite WordPress URLs using .htaccess - other than the default WP code as TorontoBoy posted above?
5:43 pm on Jan 29, 2019 (gmt 0)

Junior Member

Top Contributors Of The Month

joined:Jan 8, 2019
posts: 89
votes: 2


Hi guys,

Thanks for the insight!

To figure this out I need to ask our Marketing Director who was here before me, as well as our developer.

We'll look at the htaccess and follow up with you just in case that info might come in handy some day.
6:25 pm on Jan 29, 2019 (gmt 0)

Junior Member

Top Contributors Of The Month

joined:Jan 8, 2019
posts: 89
votes: 2


The plot thickens...

When I inspect one of these mysterious duplicate pages in GSC, it says the URL is not indexed.

But it's still showing up in SERPs?....
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members