Forum Moderators: phranque

Message Too Old, No Replies

301 Redirect Comparison - 1 more time

do the following accomplish the same thing?

         

jbgilbert

4:12 pm on Oct 11, 2005 (gmt 0)

10+ Year Member



The objective: Permanently "REDIRECT" all domain1 pages to domain2 home page...

Do the following two examples generate the same result (meet the "objective") in the eyes of the "user" and the "search engines"?

#1
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) [domain2.com...] [R=301,L]

#2
RedirectMatch 301 (.*) [domain2.com...]

dcrombie

4:29 pm on Oct 11, 2005 (gmt 0)



AFAIK the only difference is that one uses mod_alias while the other users mod_rewrite. The best way to check if there is actually a difference is to examine the server headers in each case.

jd01

5:05 pm on Oct 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, they will be identical to SEs and users. As dcrombie stated, the only difference in that regard is the module they use to generate the result.

Justin

jbgilbert

5:32 pm on Oct 11, 2005 (gmt 0)

10+ Year Member



excellent.... thanks guys for the confirmation!