![]() |
|
|
|
|
|||||||
| 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!) |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
||||
|
||||
|
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]
|
![]() |
| Tags |
| duplicate, google, hosting, pages, sitemap |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|