Forum Moderators: open

Message Too Old, No Replies

is google handling redirects correctly?

think i've redirected ok but google evidence is otherwise

         

incywincy

4:44 pm on Feb 28, 2003 (gmt 0)

10+ Year Member



greetings everybody,

i have 3 domain names pointing to the same webspace. domain A.com is the domain that i ask everyone to link to , domain A.co.uk and domain B.eu.com also point to the same webspace but i have put the following in my httpd.conf file for the 2 virtual host blocks which i thought forced a permanent redirect:
RewriteRule ^/(.*)$ [A.com...] [P]

when i check google, a.com has a pr of 6, a.co.uk has a pr of 4 and B.eu.com has a PR of 2. all 3 domains coexist in googles index. A.com has over 1300 pages in Google, A.co.uk has 1200+ pages in Google and B.eu.com has 1100+ pages in google's index.

does this mean that redirect permanent isn't working properly? also am i at risk of being dropped from google?

jdMorgan

9:00 pm on Feb 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



incywincy,

The [P] flag is used for forcing the request through Apache's Proxy module, and will not result in a permanent redirect. If you wish to return a permanent redirect status code, you must use [R=301] or [R=permanent].

See this handy Introduction to mod_rewrite [webmasterworld.com] thread.

HTH,
Jim