Forum Moderators: phranque
If you are asking if a Redirect (mod_alias) and a Rewrite (mod_rewrite) are equivellent redirects from an external point of view - Yes they are.
Both will correctly default to a 302, undefined redirect, unless a specific code is designated. (307 temporary & 301 permanent)
Both will cause the browser address bar to change.
Both will be seen the same from an external perspective (EG Search Engines).
Justin
What I want is to redirect mydomain/folder/item/1/ to mydomain/book/item/1/
I`m trying to use 301 redirect
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /folder/item/[0-9]+)/\ HTTP/
RewriteRule ^(.*) /book/item/%1? [R=301,L]
But does`nt work. SO I use
Redirect /folder/item/([0-9]+)/ www.mydomain/book/item/([0-9]+)/
But according to my log "Redirect" is a 302-redirect which has some issue with Google. So I`m trying again to use 301-redirect which unfortunately, I dont know why it doesnt work.