HTACCESS Problem!!!!!!!!!!!!

Discussion in 'Site & Server Administration' started by projectWORD, Apr 14, 2010.

  1. #1
    Hi,

    I have a slight .htaccess problem which is causing me a real pain. I need to find out what the best way of doing something is and whether it is likely to be my re-write rules or my server.

    I have two re-write rules:-
    RewriteCond %{HTTP_HOST} ^http://www.projectword\.co\.uk/index.php [NC]
    RewriteRule ^(.*)$ http://www.projectword.co.uk/$1 [L,R=301]

    RewriteRule ^http://www.projectword.co.uk/index.php$ http://www.projectword.co.uk/

    I basically want URL/index.php to re-direct to URL. This is because URL holds a page rank of 4 and URL/index.php holds a page rank of 3. I feel that it is being shared.

    So...

    What is the best way to do this, keeping as much rank as possible

    and....

    Why does it plain and simply not work. No error, no re-direction. Nothing. I have other re-write rules that do work. I have tried each one individually. Would my server block some but let others through? Does it take time for it to be processed?

    Kind Regards

    Jamie
     
    projectWORD, Apr 14, 2010 IP
  2. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I do not think that .htaccess will solve your PR stuff. Google is not so stupid and it really knows that it is redirection. You can check your redirection stuff in webpagetest org where is shows how your pages are redirected.
     
    casius, Apr 14, 2010 IP
  3. sysadmin

    sysadmin Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Chose your options , you can't use two page ranks for same website . Just drop one.
     
    sysadmin, Apr 15, 2010 IP