View Single Post
Old 05-11-2008, 06:55 PM   #3 (permalink)
NGB_Vero
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default Re: .htaccess help needed (redirection)

Quote:
Originally Posted by dxlwebs
Hey all,

i have two url's going to 1 ip address at the moment and ofcause they all point at one folder, but i would like to send them to separate sub folders i really don't know much about .htaccess so if any one knows i would be very greatful

it only needs to be ulr1.com to folder1 url2 to folder2 other to folder1 or something like that if you understand

thanks in advance

Hi,

I advise you to use PHP redirect for your URLs. 301 redirect is considered to be the most SEO friendly. Htaccess redirect requires Linux server, which has the Apache Mod-Rewrite module enabled.

Code:
<? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new-url.com" ); ?>
NGB_Vero is offline   Reply With Quote
Sponsored Links