[dancer-users] eliminating duplicate Perl Dancer site (with and without www )

Dave Cross dave at dave.org.uk
Sat Oct 7 08:02:55 BST 2017


On Fri, Oct 6, 2017 at 6:06 AM, Gabor Szabo <szabgab at gmail.com> wrote:
> Hi,
>
> I am writing on the list as the subject might be relevant to every web
> site owner.
> I've just noticed both http://www.perldancer.org/ and
> http://perldancer.org/ serve the site.
>
> As far as I understand this is a waste of Google Juice. It is better
> to have only one of them serve the pages and have the other one
> redirect to the one serving.
>
> e.g.   http://perldancer.org/ serving the content
> and http://www.perldancer.org/ redirecting to http://perldancer.org/

Two suggestions. Pick which URL you want as the definitive version and:

1/ Include a canonical tag pointing to that URL (on both versions of the site)

<link rel="canonical" href="http://perldancer.org">

2/ In Google Webmaster Tools (every site that cares about SEO should
be registered with GWT) you can tell Google which domain to use (gear
icon -> settings -> preferred domain).

You can put redirections in place as well if you want - but these two
actions will take care of it.

Dave...


More information about the dancer-users mailing list