|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
301 Redirect for Misspelled Domain
I have a couple of domains on the same server and they share the same IP. One domain is a misspelling (www.misspelled.com) and the other is the correct spelling (www.correct.com)
I would like to have it so: 1) if someone types in www.misspelled.com it redirects them to the www.correct.com domain 2) The URL Address on the browser will be rewritten as www.correct.com I understand that the best way to do this is with a 301 redirect and that is the preferred method of the search engines. I have access to the .htaccess file but am having problems getting this to work. Any suggestions? -Thanks |
|
#2
|
||||
|
||||
|
This assumes the your web_root for misspelled.com is different from correct.com.
If they are the same, then you will need to add conditions to this. Code:
.htaccess
redirect 301 / http://www.correct.com/ Check out MOD REWRITE Guide & Common Requests for more.
__________________
Cheers, Jamie # mdb4u | mobile movie database] | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > 301 Redirect for Misspelled Domain |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|