Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more  

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-30-2008, 03:41 PM   #1 (permalink)
dxlwebs
Junior Member
 
dxlwebs's Avatar
 
Join Date: Mar 2008
Posts: 84
Exclamation .htaccess help needed (redirection)

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
__________________
DxLwebs - Design Is Everything!
GMX The Games Forum
Mamma Klubi - Parents Zone
dxlwebs is offline   Reply With Quote
Sponsored Links
Old 05-10-2008, 08:23 PM   #2 (permalink)
rafiki
Junior Member
 
Join Date: May 2008
Posts: 12
Default Re: .htaccess help needed (redirection)

Why not use meta refresh' or php header() function.
__________________
Jamiewest.org.uk
rafiki is offline   Reply With Quote
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
Old 05-12-2008, 11:22 AM   #4 (permalink)
swoopster
Junior Member
 
Join Date: Sep 2006
Posts: 15
Default Re: .htaccess help needed (redirection)

If I understand you corectly, your best solution is to create an add-on domain on your hosting account. This way it is all handled by your hosting provider.

Hosting companies like bluehost.com has unlimited domains for one low price.

Peace
__________________
The BANS Alternative is Here.
Start making money promoting eBay products
http://www.my-estore.net
swoopster is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 06:05 AM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums