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.
Bob SchneiderCo-OwnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Search Engine Optimization (SEO)

From novice to tech pro — start learning today.