FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Duplicate content and home page





SoftStag
Hi

I have noticed that Google has indexed both http://www.technical-assistance.co.uk/ and http://www.technical-assistance.co.uk/index.php and lists them separately. I take it from this that Google sees these as 2 spearate URLs, even though they are the same page. My concern is that as they are the same page and listed separately, will the be penalised for being duplicate content?

I have though about putting http://www.technical-assistance.co.uk/index.php in the robots.txt file to disallow it being crawlled; but I am concerned that this will also disallow http://www.technical-assistance.co.uk/

Can anyone shed any light on this?
Bondings
Maybe place something like this in a file called .htaccess in that directory. (if it doesn't exist, create it)

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.technical-assistance\.co\.uk/index.php$ [NC]
RewriteRule ^(.*)$ http://www.technical-assistance.co.uk/$1 [R=301,L]
SoftStag
Bondings wrote:
Maybe place something like this in a file called .htaccess in that directory. (if it doesn't exist, create it)

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.technical-assistance\.co\.uk/index.php$ [NC]
RewriteRule ^(.*)$ http://www.technical-assistance.co.uk/$1 [R=301,L]

Thanks Bondings, I have tried this, and it doesn't seem to work. My .htaccess file now looks like this:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^technical-assistance\.co\.uk$ [NC]
RewriteRule ^(.*)$ http://www.technical-assistance.co.uk/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\.technical-assistance\.co\.uk/index\.php$ [NC]
RewriteRule ^(.*)$ http://www.technical-assistance.co.uk/$1 [R=301,L]

Any suggestions?
Bondings
If it doesn't work, then I don't know what to do. I'm not a mod_rewrite expert. Maybe just comment out the last 2 lines for the moment. (put a # before them)
SoftStag
Thanks Bondings. This mod_rewrite stuff is quite complicated and not easy to understand.

Can anyone else help?
Related topics
Set As Home Page Script (IE Only)
New design of the home page
Appearance on the Home Page
put the news of the frihost ,on the home page...
My first home page
I Need some good ideas for my home page.
Problem In Opening Home Page?
Whats your Internet Home Page ?
how i get hosting my home page?
Design Home Page, Get FRIH$
How to get seriouse traffic (for n00bs)
I need your help uploading home page
How do you make a home page!!??
How many visiters have you on you sites?
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> SEO and Search Engines

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.