Duplicate content issue. Delete index.html and replace with www.?
-
I have a duplicate content issue. On my site the home button goes to the index.html and not the www. If I change it to the www will it impact my SERPS? I don't think anyone links to the index.html.
-
When you say "delete", do you mean delete it from the home button (and just use the root version), or delete the page? Keep in mind that the "index.html" page also drives the root version of the site ("www.example.com/"), so you definitely don't want to delete that file.
Whether you use 301-redirects or canonical tags (either should be ok, but it sounds like the canonical tag would be easier for you to implement), it is important to use a consistent path. So, you do need to change the button link to match the canonical version of the URL. Don't do this until after you've got either the 301 or canonical tag in place.
-
Remember, if you put this in the PHP code, it has to be conditional - you don't want to redirect your canonical version unnecessarily. Since your home-page is just one template, you'd be firing a 301 for every situation.
-
Well the canonical will be different for every page...so if your page is:
www.jeremygower.com/contact/index.php
your canonical would be:
Basically, what that says is..."hey google, it doesn't matter what URL you think you're at, make sure that the only one in your search engine is the one in the canonical tag"...therefore, be very careful with it as well. If you simply put www.jeremygower.com as the canonical for every page, google would de-index every other page of your site.
Anywhere in the head is good.
IMO, unlimited ends up being a bad thing...the way those things work is that godaddy (or whoever) puts a ton of websites on the same server, so think about the 500 or so other sites with 'unlimited' bandwidth using your server. It makes it slow...for instance there's about 400 domains on the same server as my domain, and yes, it's slow a lot of the time...the cheap plan on a small orange I'm sure is similar but I'd expect better quality than godaddy. (they dont have unlimited)
-
I use dream weaver as my HTML editor, I templated out my site so I wonder if I can just put the code at the top of the template and have it update every page on my site. Now where in the head do I put the code? At the very beginning? Also I know yahoo, godaddy and others promote unlimited bandwidth and storage while others have a tiered plan. Isn't it better to have unlimited? I'm just asking since there is an up charge if you go over the bandwidth or storage on the other hosting plans. Thank you for your help.
-
header ('HTTP/1.1 301 Moved Permanently');
header ('Location: http://www.whatever.com/whatever.php');
-------- As far as I know there's no difference...to Google a 301 is a 301 no matter where you tell it. Would still be a pain in the butt, though - and I'm not sure 100% efficient....the best thing (i think) would be to have a canonical on every single page, then that will take care of it from the search engine standpoint. However, I'd still go somewhere that allows rewrites...that's just crazy. Even my godaddy shared hosting allows htaccess. Dont go to Godaddy shared hosting - it's awful. Not sure where to get cheap hosting with htaccess, but I'd venture to say that most hosts support it. I'd look into a small orange, it's offered as a pro perk through SEOmoz for 3 months at half price and it looks like they offer $20/mo plans for business - or if you wanna try it $35/yr plan as well. From my experience, as long as you do it correctly, changing hosts will not affect your SERPs. We actually moved in January and saw nothing change.
-
Also is using a php code a real 301 redirect or no? Do you have a sample php code that I could use? I'm still in learning mode.
-
Which hosting company do you prefer? Which one is best for seo purposes? And how do I transfer without impacting my SERPS or does it have no impact?
-
Well, 301 would be best...but I suppose in that situation what I'd do is use the canonical tags...but that's a pain as you'd need to do it for like every page...
In short, that's just whack...I'd find a new host.
Edit: P.S. Why can't yahoo just die already?
-
I should put the code in the head right? Thank you.
-
Thank you, I am trying to figure out how to do the 301 redirect but when i asked yahoo they say that the php code is not a real 301 redirect when I asked them. And they only do the 301 redirect on the ecommerce hosting plans which I have no need for. Any insight? Thanks for your answer.
-
Just to follow up on this. the meta tag for this is
-
You should have a 301 redirect setup so that everything goes to one address, ie. www.jeremygower.com....so that no matter if they type index.html or www.jeremygower.com/ or jeremygower.com it all goes to the same place. Other than that, an easier method (and you should probably do both...just put a canonical tag on that page, then no matter what the main page will get the link juice.
And yes, it probably will - either way, you should fix it.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Crawl Diagnostics: Duplicate Content Issues
The Moz crawl diagnostic is showing that I have some duplicate content issues on my site. For the most part, these are variations of the same product that are listed individually (i.e size/color). What would be the best way to deal with this? Choose one variation of the product and add a canonical tag? Thanks
Technical SEO | | inhouseseo0 -
URL Mixed Cases and Duplicate Content
Hi There, I have a question for you. I am working on a website where by typing any letter of the URL in lower or upper case, it will give a 200 code. Examples www.examples.com/page1/product www.examples.com/paGe1/Product www.examples.com/PagE1/prOdUcT www.examples.com/pAge1/proODUCt and so on… Although I cannot find evidence of backlinks pointing to my page with mixed cases, shall I redirect or rel=canonical all the possible combination of the cases to a lower version of them in order to prevent duplicate content? And if so, do you have any advice on how to complete such a massive job? Thanks a lot
Technical SEO | | Midleton0 -
Would Google Call These Pages Duplicate Content?
Our Web store, http://www.audiobooksonline.com/index.html, has struggled with duplicate content issues for some time. One aspect of duplicate content is a page like this: http://www.audiobooksonline.com/out-of-publication-audio-books-book-audiobook-audiobooks.html. When an audio book title goes out-of-publication we keep the page at our store and display a http://www.audiobooksonline.com/out-of-publication-audio-books-book-audiobook-audiobooks.html whenever a visitor attempts to visit a specific title that is OOP. There are several thousand OOP pages. Would Google consider these OOP pages duplicate content?
Technical SEO | | lbohen0 -
Duplicate Content
SEOmoz is reporting duplicate content for 2000 of my pages. For example, these are reported as duplicate content: http://curatorseye.com/Name=“Holster-Atlas”---Used-by-British-Officers-in-the-Revolution&Item=4158
Technical SEO | | jplill
http://curatorseye.com/Name=âHolster-Atlasâ---Used-by-British-Officers-in-the-Revolution&Item=4158 The actual link on the site is http://www.curatorseye.com/Name=“Holster-Atlas”---Used-by-British-Officers-in-the-Revolution&Item=4158 Any insight on how to fix this? I'm not sure where the second version of the URL is coming from. Thanks,
Janet0 -
How do I get rid of duplicate content
I have a site that is new but I managed to get it to page one. Now when I scan it on SEO Moz I see that I have duplicate content. Ex: www.mysite.com, www.mysite.com/index and www.mysite.com/ How do I fix this without jeopardizing my SERPS ranking? Any tips?
Technical SEO | | bronxpad0 -
Canonical usage and duplicate content
Hi We have a lot of pages about areas like ie. "Mallorca" (domain.com/Spain/Mallorca), with tabbed pages like "excursion" (domain.com/spain/Mallorca/excursions) and "car rental" (domain.com/Spain/Mallorca/car-rental) etc. The text on ie the "car rental"-page is very similar on Mallorca and Rhodos, and seomoz marks these as duplicate content. This happens on "car rental", "map", "weather" etc. which not have a lot of text but images and google maps inserted. Could i use rel=nex/prev/canonical to gather the information from the tabbed pages? That could show google that the Rhodos-map page is related to Rhodos and not Mallorca. Is that all wrong or/and is there a better way to do this? Thanks, Alsvik
Technical SEO | | alsvik0 -
How can I prevent duplicate content between www.page.com/ and www.page.com
SEOMoz's recent crawl showed me that I had an error for duplicate content and duplicate page titles. This is a problem because it found the same page twice because of a '/' on the end of one url. e.g. www.page.com/ vs. www.page.com My question is do I need to be concerned about this. And is there anything I should put in my htaccess file to prevent this happening. Thanks!
Technical SEO | | onlineexpression
Karl0 -
High number of Duplicate Page titles and Content related to index.php
It appears that every page on our site (www.bridgewinners.com) also creates a version of itself with a suffix. This results in Seomoz indicating that there are thousands of duplicate titles and content. 1. Does this matter? If so, how much? 2. How do I eliminate this (we are using joomla)? Thanks.
Technical SEO | | jfeld2220