Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-11-12 08:43:52

clivewalker
Member
From: Horsham UK
Registered: 2004-07-19
Posts: 26
Website

Google and duplicate URLs

I’m having a problem with my Txp site where Google Webmaster Tools is reporting duplicate URLs and I wanted to find out if anyone else has seen this. My site is over here

As you can see, Textpatttern is installed in /txp/ (historical reason for doing this) but, whilst Google has indexed everything, it’s also reporting duplicate (and weird) URLs like this:

/txp//txp/ and this /txp//txp/?pg=10 etc etc.

These both “work” but I cannot figure out how Google is getting these from the site (unless it is getting these from somewhere else).

Many thanks if you can help.

Offline

#2 2013-11-12 09:54:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Google and duplicate URLs

I know that there’s a solution with canonical (see here) but the way I do it is by using zem_redirect and an htaccess rule to add www to all pages.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2013-11-12 10:23:37

clivewalker
Member
From: Horsham UK
Registered: 2004-07-19
Posts: 26
Website

Re: Google and duplicate URLs

Thanks. I have added/amended canonical links now.

I don’t really know if this is the cause of the Google double URL issue so any other feedback from anyone is much appreciated.

Offline

#4 2013-11-12 10:57:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Google and duplicate URLs

zem_redirect, redirects all (most) urls to the ones you specify in the schema. If you go to http://www.neme.org/237/poetic or http://www.neme.org/237/ or http://neme.org/237 (try different combinations) you will find that all will redirect to http://www.neme.org/237/poetic-terrorism. It does the job seamlessly and I think that google likes it too:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2013-11-12 13:09:40

clivewalker
Member
From: Horsham UK
Registered: 2004-07-19
Posts: 26
Website

Re: Google and duplicate URLs

Ok, I’ll check out zem_redirect. Thanks

Offline

Board footer

Powered by FluxBB