• About Me
  • Best Of
  • Contact Me
  • Forum

Jay Gaulard

  • Home & Living
    • Automotive & Mechanical
    • Carpentry & Building
    • Entertainment
    • Firewood & Heating
    • Gardening
    • Home Improvement
    • Lawn Care & Landscaping
    • Pets & Animals
  • Fitness & Recreation
    • Brazilian Jiu-Jitsu (BJJ)
    • Bushcraft & Camping
    • Hiking & Walking
  • Nature & Outdoors
    • Trees & Shrubs
    • Weather & Seasons
  • Technology & Internet
  • Travel & Destinations
  • Writing & Blogging
    • Ramblings & Opinion
You are here: Home / Technology & Internet / Duplicate Content – Mysite.com/ vs. Mysite.com/index.html

Duplicate Content – Mysite.com/ vs. Mysite.com/index.html

September 20, 2008

As I wrote in a previous post, duplicate content on your own website can come in the form of www.mysite.com/ vs. www.mysite.com/index.html. The search engines see this same page as two different ones, but with identical content. As I also mentioned, most search engines are smart enough to figure out that these two pages are the same one, but still, they do share Pagerank.

What to do? That’s easy too. Just open up your .htaccess again and type in the following code:

RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ http://www.mysite.com/ [R=301,L]

You can do this with other pages that have the same problem as well.

Related posts:

  1. Creating Short URLs – MediaWiki – Version 1.10.0
  2. Avoiding Duplicate Content On Your Own Website
  3. Google Ranking Drop Because Of Duplicate Content
  4. How To Check Your Web Page HTTP Headers & Response Codes
  5. Changing the Logo – MediaWiki – Version 1.10.0

Filed Under: Technology & Internet

What’s Next? Email Updates!

If you enjoyed reading this post as much as I enjoyed writing it, why not sign up to receive my posts by email? It's free and you can unsubscribe at any time!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

CONNECT WITH ME

  • Email
  • Facebook
  • Google+
  • RSS
  • Twitter

RECEIVE MY POSTS BY EMAIL!

Interested in receiving my posts by email? This is your chance! Simply place your email address in the box below and I'll deliver each and every post I write directly to your inbox.

MOST POPULAR POSTS

  • Putting Wooden Sides On A Utility Trailer I am sure you are all just thrilled about my new utilit...
  • How to Fix a Symmons Shower Valve That Leaks What I'm about to share is for the greater good. I've d...
  • Building Wooden Sides For a Utility Trailer NOTE: Please read comments down below. This isn't a goo...
  • Assembling a John Deere 7-Bushel Rear Bagger I must say, this John Deere ride-on mower has been a re...
  • What Is a BMW Standard Scope? A few posts ago, I mentioned that I had to bring my car...
  • How Do I Get Rid of the Smell in My Brand New Wool Blanket? Question: All I can say is that this thing stinks. I ca...
  • Installing A Water Spigot In The Garage Valentine's day was here. I wanted to wash the car and...
  • Replacing a Stem Cartridge Spindle For Symmons Temptrol Shower Valve Wouldn't you just know it. As I was writing yesterday's...
  • Installing Lally Columns and Footings for Girder Beam One of the first things I noticed while looking at this...
  • Installing New Wooden Trailer Sides I know I've been down this road before, but I thought I...

Recent Comments

  • Jay Gaulard on Installing a Through-the-Wall Wood Stove
  • James on Installing a Through-the-Wall Wood Stove
  • Greg on Filling In a Basement Crawl Space
  • Swoopadoop on Using a Belt Sander to Sand Walls
  • Dani Lamirand on How to Effectively Move Warm Wood Stove Air From One Room to Another

Copyright © 2021 · Jay Gaulard My Personal Blog Blog · About · Best Of · Contact · Privacy / Terms · Sitemap