Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

Domain forward best for SEO

Hi,

I manage several domains on a dedicated server. Many customers buy multiple versions of domains to ensure no competitor snatches them up.
They ask me on the best way to forward them to the main domain.

Often I simply add a rewrite role into the virtual host entry such as:
RewriteRule ^/(.*) http://www.domain.com/$1 [L,R=301]

However, I am not really sure on best practice so that it would indexed as well in a search engine or at least does not penalize them.

So is it better to do a index.html file with a meta redirect, php redirect, etc.
What is the most compliant way to forward from lets say

www.domain.net
to
www.domain.com where the main website is located.

Best wishes,
Tom
0
Thomanji
Asked:
Thomanji
1 Solution
 
Tony McCreathTechnical SEO ConsultantCommented:
The 301 redirect means the source domain will not get indexed, and that's what you want.

It avoids issues related to duplicate content.

A zero second meta refresh redirect is often considered as equivalent to a 301 redirect, but it's a slower user experience and there is a chance it is considered as another form of redirect. So avoid them.

php will create the same sort of redirect that the .htaccess file makes. i.e. HTTP header response code based redirects.

So stick to what you are doing.
0
 
ThomanjiAuthor Commented:
Thanks for the advice, I feel better that someone seconded the procedure.
0

Featured Post

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now