• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 89
  • Last Modified:

Preventing Duplicate Content ON Web Pages

I have a site that, among other things, provides race results for many races.  I am finding that SEO looks at the results for one race as a different page than the results of another even though it is the same page but just with different values being passed via query strings and forms.  How can I resolve this?  I assume that it has to do either with canonical or nofollow but I don't know the difference.  Any help would be much appreciated.
0
Bob Schneider
Asked:
Bob Schneider
  • 6
  • 3
6 Solutions
 
GaryCommented:
Search engines will take into account querystring params when determining duplicate content

mypage.php?somevar=somevalue

is seen as a different page from

mypage.php?somevar=someothervalue

You have nothing to worry about.
0
 
Bob SchneiderCo-OwnerAuthor Commented:
That is wierd because I am doing a trial period for SEO Moz and it says that I have all of these duplicate titles and content and much of it is this type of a situation.  Comments?
0
 
GaryCommented:
It depends on if you want these pages indexed or not
If you do then append the title tag with something unique like the race details
or
If you don't want them indexed then use a canonical tag to tell the search engines the default page i.e. mypage.php is the default page to be indexed and any other page that has querystring params should not be "indexed".
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
Dave BaldwinFixer of ProblemsCommented:
I suggest that your users are more important than 'SEO'.  Don't do any 'SEO' that messes it up for your users.
0
 
Bob SchneiderCo-OwnerAuthor Commented:
1) There aren't "pages", but one page that renders different data based on the race results the viewer is interested in.  The querystring "?race_id=123" is how they are distinguished right now, or via the form submission.  That is what is frustrating me.

2) I agree that the users are more important by far and we need to try to balance that with getting more users.  

Quite honestly, all I really care about is the default.asp page in terms of being visible on the web but I am worried that the content in other pages of the site will take away from my SEO and then make my services harder to find.
0
 
GaryCommented:
Then you just add the canonical link on the page.

<?php
if ($_GET){ // if any querystring params then tell the search engines this isn't the real page
?>
<link rel="canonical" href="http://www.mysite.com/page.php" />
<?php
}
?>

Open in new window


If the data is from a FORM post then search engines won't see it as they don't post forms
0
 
GaryCommented:
Or ASP

if request("race_id")<>"" then %><link rel="canonical" href="http://www.mysite.com/page.php" />

Open in new window

0
 
Bob SchneiderCo-OwnerAuthor Commented:
That's what I needed.  but what is the difference between that and nofollow?  And does that go in the head section?
0
 
GaryCommented:
nofollow wouldn't index the page as it would be by default with no querystring.
The canonical says index this page but any variations are to be ignored.
0
 
GaryCommented:
Actually my logic is wrong
Either will do.
Though the canonical might be easier to administer instead of applying nofollow to all the links

Yes it goes in the HEAD
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now