I'd like to redirect a single web page, it will be a temporary redirect so I don't want it to affect SEO rankings.
So I was thinking of using a method other than htaccess, but if it would be more efficient to use htaccess please let me know.
Also, is it possible to redirect the homepage to another page but have all other pages un-redirected?
So for e.g. www.abc.com
redirected to www.example.com
But
www.abc.com/news.html
is not affected.
For w3d:
I'm trying to do this:
# Use PHP5.4 as default
RewriteEngine On
RewriteRule ^news1\.html$ https://www.example.com/news1.html [R,L]
RewriteRule ^news2\.html$ https://www.example.com/news2.html [R,L]
RewriteRule ^news3\.html$ https://www.example.com/news3.html [R,L]
Options -Indexes
even tried this:
Redirect 302 /news1.html example.com/news1.html
Redirect 302 /news2.html example.com/news2.html
only the first one gets redirected.
Also do they both execute exactly the same function?