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
-
Despite canonical duplicate content in WMT
Hi, 2 weeks ago we've made big changes in title and meta descriptions. To solve the missing title and descriptions. Also set the right canonical. Now i see that in WMT despite the canonical it shows duplicates in meta descriptions and titles. i've setup the canonical like this:
Technical SEO | | Leonie-Kramer
1. url: www.domainname.com/category/listing-family/productname
2. url: www.domainname.com/category/listing-family/productname-more-info The canonical on both pages is like this: I'm aware of creating duplicate titles and descriptions, caused by the cms we use and also caused by wrong structure of category/products (we'll solve that nest year) that's why i wanted the canonical, but now it's not going any better, did i do something wrong with the canonical?0 -
How to deal with 80 websites and duplicated content
Consider the following: A client of ours has a Job boards website. They then have 80 domains all in different job sectors. They pull in the jobs based on the sectors they were tagged in on the back end. Everything is identical across these websites apart from the brand name and some content. whats the best way to deal with this?
Technical SEO | | jasondexter0 -
Duplicate Page Content
Hi, I just had my site crawled by the seomoz robot and it came back with some errors. Basically it seems the categories and dates are not crawling directly. I'm a SEO newbie here Below is a capture of the video of what I am talking about. Any ideas on how to fix this? Hkpekchp
Technical SEO | | mcardenal0 -
Duplicate Content Issue
My issue with duplicate content is this. There are two versions of my website showing up http://www.example.com/ http://example.com/ What are the best practices for fixing this? Thanks!
Technical SEO | | OOMDODigital0 -
Why has Google stopped indexing my content?
Mystery of the day! Back on December 28th, there was a 404 on the sitemap for my website. This lasted 2 days before I noticed and fixed. Since then, Google has not indexed my content. However, the majority of content prior to that date still shows up in the index. The website is http://www.indieshuffle.com/. Clues: Google reports no current issues in Webmaster tools Two reconsideration requests have returned "no manual action taken" When new posts are detected as "submitted" in the sitemap, they take 2-3 days to "index" Once "indexed," they cannot be found in search results unless I include url:indieshuffle.com The sitelinks that used to pop up under a basic search for "Indie Shuffle" are now gone I am using Yoast's SEO tool for Wordpress (and have been for years) Before December 28th, I was doing 90k impressions / 4.5k clicks After December 28th, I'm now doing 8k impressions / 1.3k clicks Ultimately, I'm at a loss for a possible explanation. Running an SEOMoz audit comes up with warnings about rel=canonical and a few broken links (which I've fixed in reaction to the report). I know these things often correct themselves, but two months have passed now, and it continues to get progressively worse. Thanks, Jason
Technical SEO | | indieshuffle0 -
Duplicate Content on SEO Pages
I'm trying to create a bunch of content pages, and I want to know if the shortcut I took is going to penalize me for duplicate content. Some background: we are an airport ground transportation search engine(www.mozio.com), and we constructed several airport transportation pages with the providers in a particular area listed. However, the problem is, sometimes in a certain region multiple of the same providers serve the same places. For instance, NYAS serves both JFK and LGA, and obviously SuperShuttle serves ~200 airports. So this means for every airport's page, they have the super shuttle box. All the provider info is stored in a database with tags for the airports they serve, and then we dynamically create the page. A good example follows: http://www.mozio.com/lga_airport_transportation/ http://www.mozio.com/jfk_airport_transportation/ http://www.mozio.com/ewr_airport_transportation/ All 3 of those pages have a lot in common. Now, I'm not sure, but they started out working decently, but as I added more and more pages the efficacy of them went down on the whole. Is what I've done qualify as "duplicate content", and would I be better off getting rid of some of the pages or somehow consolidating the info into a master page? Thanks!
Technical SEO | | moziodavid0 -
Dealing with duplicate content
Manufacturer product website (product.com) has an associated direct online store (buyproduct.com). the online store has much duplicate content such as product detail pages and key article pages such as technical/scientific data is duplicated on both sites. What are some ways to lessen the duplicate content here? product.com ranks #1 for several key keywords so penalties can't be too bad and buyproduct.com is moving its way up the SERPS for similar terms. Ideally I'd like to combine the sites into one, but not in the budget right away. Any thoughts?
Technical SEO | | Timmmmy0 -
Duplicate content question with PDF
Hi, I manage a property listing website which was recently revamped, but which has some on-site optimization weaknesses and issues. For each property listing like http://www.selectcaribbean.com/property/147.html there is an equivalent PDF version spidered by google. The page looks like this http://www.selectcaribbean.com/pdf1.php?pid=147 my question is: Can this create a duplicate content penalty? If yes, should I ban these pages from being spidered by google in the robots.txt or should I make these link nofollow?
Technical SEO | | multilang0