![]() |
|
|
#1
|
||
|
I have both .com and .net tlds about a domain name i want to redirect .net to the .com name as 301. can anyone explain how to do it ?
__________________
|
|
|
|
||
|
#2
|
||
|
create a file named .htaccess and place it in the main root directory of the .net domain and put the following code in the file:
Code:
Redirect 301 / http://www.mydomain.com where mydomain.com is your .com domain |
|
|
|
||
|
#3
|
||
|
Is there an advantage to doing 301 redirects versus other options? I've not used them before and would like to know more about them.
|
|
|
|
||
|
#4
|
||
|
Can we do this in Cpanel without editing the .htaccess file ?
@aqgiles : I read somewhere that if you want to direct bunch of domains towards single domain Google prefers this way.
__________________
|
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FAQ: For all your mod_rewrite needs - 301 redirect, pretty URLs, wildcard subdomains | Dave | Site & Server Administration | 1 | 05-06-2007 16:32 |