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
-
Non-standard HTML tags in content
I had coded my website's article content with a non-standard tag <cnt>that surrounded other standard tags that contained the article content, I.e.</cnt> , . The whole text was enclosed in a div that used Schema.org markup to identify the contents of the div as the articleBody. When looking at scraped data for stories in Webmaster Tools, the content of the story was there and identified as the articleBody correctly. It's recently been suggested by someone else that the presence of the non-standard <cnt>tags were actually making the content of the article uncrawlable by the Googlebot, this effectively rendering the content invisible. I did not believe this to be true, since the content appeared to be correctly indexed in Webmaster Tools, but for the sake of a test I agreed to removing them. In the last 6 weeks since they were removed, there have been no changes in impressions or traffic from organic search, which leads me to believe that the removal of the <cnt>tags actually had no effect, since the content was already being indexed successfully and nothing else has changed.</cnt></cnt> My question is whether or not an encapsulating non-standard tag as I've described would actually make the content invisible to Googlebot, or if it should not have made any difference so long as the correct Schema.org markup was in place? Thank you.
Technical SEO | | dlindsey0 -
Duplicate Content Issues on Product Pages
Hi guys Just keen to gauge your opinion on a quandary that has been bugging me for a while now. I work on an ecommerce website that sells around 20,000 products. A lot of the product SKUs are exactly the same in terms of how they work and what they offer the customer. Often it is 1 variable that changes. For example, the product may be available in 200 different sizes and 2 colours (therefore 400 SKUs available to purchase). Theese SKUs have been uploaded to the website as individual entires so that the customer can purchase them, with the only difference between the listings likely to be key signifiers such as colour, size, price, part number etc. Moz has flagged these pages up as duplicate content. Now I have worked on websites long enough now to know that duplicate content is never good from an SEO perspective, but I am struggling to work out an effective way in which I can display such a large number of almost identical products without falling foul of the duplicate content issue. If you wouldnt mind sharing any ideas or approaches that have been taken by you guys that would be great!
Technical SEO | | DHS_SH0 -
Correct linking to the /index of a site and subfolders: what's the best practice? link to: domain.com/ or domain.com/index.html ?
Dear all, starting with my .htaccess file: RewriteEngine On
Technical SEO | | inlinear
RewriteCond %{HTTP_HOST} ^www.inlinear.com$ [NC]
RewriteRule ^(.*)$ http://inlinear.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://inlinear.com/ [R=301,L] 1. I redirect all URL-requests with www. to the non www-version...
2. all requests with "index.html" will be redirected to "domain.com/" My questions are: A) When linking from a page to my frontpage (home) the best practice is?: "http://domain.com/" the best and NOT: "http://domain.com/index.php" B) When linking to the index of a subfolder "http://domain.com/products/index.php" I should link also to: "http://domain.com/products/" and not put also the index.php..., right? C) When I define the canonical ULR, should I also define it just: "http://domain.com/products/" or in this case I should link to the definite file: "http://domain.com/products**/index.php**" Is A) B) the best practice? and C) ? Thanks for all replies! 🙂
Holger0 -
Duplicate Content of Reseller Product?
There is a particular product/service that I resell through an API. There are quite a few of them and each one requires a lot of content. The company provides web content for each product but I'm wondering about the SEO implications of using it? Obviously using the content, it will not be unique so I won't be able to rank (easily at least) for these products. Are there any _negative_results that I can get from using this content though? If I simply won't rank for those products it's not an issue since I get traffic elsewhere. Thanks!
Technical SEO | | reliabox0 -
What could be the cause of this duplicate content error?
I only have one index.htm and I'm seeing a duplicate content error. What could be causing this? IUJvfZE.png
Technical SEO | | ScottMcPherson1 -
Duplicate video content question
This is really two questions in one. 1. If we put a video on YouTube and on our site via Wistia, how would that affect our rankings/authority/credibility? Would we get punished for duplicate video content? 2. If we put a Wistia hosted video on our website twice, on two different pages, we would get hit for having duplicate content? Any other suggestions regarding hosting on Wistia and YouTube versus just Wistia for product videos would be much appreciated. Thank you!
Technical SEO | | ShawnHerrick1 -
Duplicate Page Issue
Dear All, I am facing stupid duplicate page issue, My whole site is in dynamic script and all the URLs were in dynamic, So i 've asked my programmer make the URLs user friendly using URL Rewrite, but he converted aspx pages to htm. And the whole mess begun. Now we have 3 different URLs for single page. Such as: http://www.site.com/CityTour.aspx?nodeid=4&type=4&id=47&order=0&pagesize=4&pagenum=4&val=Multi-Day+City+Tours http://www.tsite.com/CityTour.aspx?nodeid=4&type=4&id=47&order=0&pagesize=4&pagenum=4&val=multi-day-city-tours http://www.site.com/city-tour/multi-day-city-tours/page4-0.htm I think my programmer messed up the URL Rewrite in ASP.net(Nginx) or even didn't use it. So how do i overcome this problem? Should i add canonical tag in both dynamic URLs with pointing to pag4-0.htm. Will it help? Thanks!
Technical SEO | | DigitalJungle0 -
Duplicate Content Resolution Suggestion?
SEOmoz tools is saying there is duplicate content for: www.mydomain.com www.mydomain.com/index.html What would be the best way to resolve this "error"?
Technical SEO | | PlasticCards0