It’s pretty straight forward:
Redirect 301 /forum http://www.jobs4mind.com/forum
Note that first you give the “alias” as a relative URL (ie, not including the domain), but then you give the “destination” URL in full, including protocol and domain.
There’s no problem with having multiple redirects in .htaccess (I’ve got over 200 in one of mine!), even if some of them work in chains, just as long as you haven’t got two rules giving conflicting instructions for the same URL.
Sorry Stevie i got the following error. This webpage has a redirect loop
The webpage at [noparse]http://www.jobs4mind.com/forum/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
I have written this code in .httaccess file. i am not a techy guy plz can u give the full code.
Redirect 301 /forum http://www.jobs4mind.com/forum[/noparse]
Yes, that’s because I gave you the wrong code. The full URL there should be the one you want it to go to, ie [noparse]http://forum.jobs4mind.com[/noparse]
Thank u very much stevie it worked.