Your HostICan Community  


Go Back   Your HostICan Community > Programming & Design > HTML / Design

HTML / Design Are you a designer? Or just trying to become one? Great! You'll be able to talk about layouts, and HTML code to help your fellow designers, so everyone can work together to master the tricks of the trade. (Maybe even some JavaScript too!)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-23-2009, 08:48 AM
valila valila is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Default duplicate pages on my hosting with Google sitemap

I use auto generator program for Google sitemap. This XML sitemap file contain my home page twice, one with the index.html extension and one without. I think this is not correctly because it can be considered for duplicated pages on my hosting. If I remove index.html file from sitemap file is possible to lose indexing in search engines. What should I do?
Reply With Quote
  #2  
Old 08-23-2009, 09:35 AM
hood's Avatar
hood hood is offline
Member
 
Join Date: Jan 2009
Posts: 99
Default Re: duplicate pages on my hosting with Google sitemap

There is two options:
- Remove that block in which there is no index.html file
- Otherwise, remove the block with index.html line but add these lines in .htaccess file:
Code:
RewriteCond %{HTTP_HOST} ^yoursite.com$
rewriterule (.*) "http\:\/\/www\.yoursite\.com/$1"  [R=301,L]
Reply With Quote
Reply

Tags
duplicate, google, hosting, pages, sitemap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:54 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.