Reply
Old 10-02-2008, 03:30 PM .htaccess redirect
Junior Talker

Posts: 2
Trades: 0
I need to redirect my old domain to a new domain like so.

http://olddomain.com/file123.php to http://newdomain.com/file123.php

so that when a user tries to access file123.php on the old domain it will send them to file123.php on the new domain.

Also, I want to keep the server from forwarding the subdomains to newdomain.com. That is an issue I had when trying this before, you would access http://sub.newdomain.com and it would send you to http://newdomain.com instead of the subdomain.

Thanks for any help offered.

< fake signature removed >

Last edited by chrishirst; 10-03-2008 at 02:30 AM..
adamwhiles is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 10-03-2008, 02:28 AM Re: .htaccess redirect
dWhite's Avatar
I WANT YOU!

Posts: 1,465
Name: Daniel White
Location: United States
Trades: 0
This should help you:

http://www.webweaver.nu/html-tips/web-redirection.shtml
dWhite is offline
Reply With Quote
View Public Profile Visit dWhite's homepage!
 
Reply     « Reply to .htaccess redirect
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.08702 seconds with 13 queries