Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Preventing Duplicate Content ON Web Pages

Posted on 2014-12-16
10
Medium Priority
?
80 Views
Last Modified: 2014-12-16
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
Comment
Question by:Bob Schneider
  • 6
  • 3
10 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 1668 total points
ID: 40503608
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
 

Author Comment

by:Bob Schneider
ID: 40503619
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
 
LVL 58

Assisted Solution

by:Gary
Gary earned 1668 total points
ID: 40503632
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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 332 total points
ID: 40503652
I suggest that your users are more important than 'SEO'.  Don't do any 'SEO' that messes it up for your users.
0
 

Author Comment

by:Bob Schneider
ID: 40503668
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
 
LVL 58

Expert Comment

by:Gary
ID: 40503680
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
 
LVL 58

Assisted Solution

by:Gary
Gary earned 1668 total points
ID: 40503682
Or ASP

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

Open in new window

0
 

Author Comment

by:Bob Schneider
ID: 40503686
That's what I needed.  but what is the difference between that and nofollow?  And does that go in the head section?
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 1668 total points
ID: 40503692
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
 
LVL 58

Accepted Solution

by:
Gary earned 1668 total points
ID: 40503699
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

[Part 6 of a 6 part series called SEO Basics: 5 SEO Secrets for Creating Content that Drives Traffic (http://www.experts-exchange.com/Web_Development/Internet_Marketing/Search_Engine_Optimization_SEO/A_8369-SEO-Basics-5-SEO-Secrets-for-Creating-Cont…
With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question