Duplicate content issue with pop=1 pages

69thelememt

Free Member
Dec 15, 2009
49
3
Hi there, I'm running Joomla 1.5.14 and VM 1.1.3 with SH404SEF 1.0.16_Beta - build_222.

I've noticed in webmaster tools that I have many pages with duplicate meta tags... the source of these duplicates are the pop=0 and pop=1 pages.

What I mean is this : I'll have a page http://www.mysite.com/category/product1.html

Then I'll have a duplicate of that page http://www.mysite.com/category/product1.html?pop=0 and ?pop=1 how do I make the pop=0 pages noindex ? Is there a reason why these pages even exist?

What I'm looking for is a way to make these pop=0 pages "noindex" is there a way to do this easily?

i now know this is to do with the view next product link on each of the product pages pagesbut really i wanted to keep this active
 
N

Ninja Commerce

I'm not sure how the following will come out, but assuming it displays correctly:

Just paste the following into the header of your site's template. The php should read the url and if the url of the page being viewed contains "pop=" it will add a noindex meta tag.

This is a bit of a hack, but it should do the job just fine.

<?php
$url1 = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
if(strstr($url1, 'pop='))
{echo "<META NAME='ROBOTS' CONTENT='NOINDEX, NOFOLLOW' />";}
?>
 
Upvote 0
I'm not sure how the following will come out, but assuming it displays correctly:

Just paste the following into the header of your site's template. The php should read the url and if the url of the page being viewed contains "pop=" it will add a noindex meta tag.

This is a bit of a hack, but it should do the job just fine.

<?php
$url1 = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
if(strstr($url1, 'pop='))
{echo "<META NAME='ROBOTS' CONTENT='NOINDEX, NOFOLLOW' />";}
?>

or purchase some de-duplication software?

what backup software do you use?
 
Upvote 0
N

newagemedia

You ought to be able to find a suitable plugin to sort this out for you. I was going to send you a link, to a couple of examples however UKBF doesn't allow us to post links yet.

An alternative approach would be to implement a PHP script to insert the <link rel="canonical"> meta tag into the head of duplicate pages (in order to configure the correct Canonical URLs), so Google knows about the most appropriate URL to index.

(As a work around of our restriction on posting links as of yet), If you Google search

site:Google.com About rel="canonical"

It'll bring up the official Google Page which will be able to give you a lot more information about this area.
 
Upvote 0

Latest Articles

Join UK Business Forums for free business advice