|
Posted by BobK on March 4, 2008, 12:02 pm
Please log in for more thread options >> I have all forms of my URL redirected to a single version of the
>> URL
>> using:
>>
>> RewriteEngine On
>> RewriteCond % !^www\.usernomics\.com$
>> RewriteRule (.*) http://www.usernomics.com/$1 [R=301,L]
>
> Maybe a bit more readable:
> RewriteCond % !=www.usernomics.com
> RewriteRule (.*) http://www.usernomics.com/$1 [R=301,L]
>
> Personally, I would drop the www:
>
>
> Maybe a bit more readable:
> RewriteCond % !=usernomics.com
> RewriteRule (.*) http://usernomics.com/$1 [R=301,L]
>
>> Do you also redirect your index file so that
>> http://www.usernomics.com/index.html redirects to
>> http://www.usernomics.com ?
>
> I recently did for a site, which also had index2.html, index3.html
> after I
> had removed the horrible frame set they were using. I would redirect
> index.html if I had used links to index.html on my site, or others
> would
> link to my site that way.
>
>> Is this worth doing? If so, how would you do that - just for the
>> index.html alone?
>
> You can always do something like:
>
> RewriteRule ^index\.html$ http://usernomics.com/
> [R=301,L]
> RewriteRule ^(.+)/index\.html$ http://usernomics.com/(.+)/
> [R=301,L]
>
> to catch index.html deeper down.
>
> (all untested).
>
Hello John,
Thanks for codes.
On changing the main URL, I have really good SERPS for
http://www.usernomics.com right now. I worry about changing to
http://usernomics.com in terms of loosing juice. I don't see a
compelling reason to change at this point. Do you?
On the index.html issue, I do not have any links to index.html but
Google does see both pages. There are a few (12) backlinks to
index.html but nothing major. My thinking was to redirect index.html
just so Google will not divide the juice to the main URL. Does it make
sense to do that for that reason? I don't want to mess-up my good
SERPS at this point.
Thanks Again,
Bob
|