LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 12-24-2004, 03:09 AM   #1
latino
Member
 
Registered: Aug 2003
Location: Puerto Rico
Distribution: Centos 6.6
Posts: 142

Rep: Reputation: 15
Question Need help with Apache rewrite rules??


Hi All:

I have a problem, my website located at www.olddomain.com have been indexed by robots and I changed DOMAIN to www.newwebsite.com. I will loose all that traffic when olddomain get canceled....

Problem is content is the same index.php, need to be able to write a rule or rules (.htaccess) that redirects all traffic to www.olddomain.com to www.newdomain.com

I have seen example re how to short cut long expressions but not the situation I have, both sites use same files and ar located at same server. It was just a movement from a domain name to another...

Any help will be appreciated...


 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache proxy server rewrite urls slackwarefan Linux - Software 0 10-19-2004 08:58 PM
Help me make this rewrite rule in Apache ganninu Linux - General 8 01-07-2004 09:30 AM
apache mod rewrite Robert0380 Linux - Software 5 07-31-2003 05:42 PM
Apache rewrite question CrazyToon Linux - Software 3 06-17-2003 03:00 PM
Apache Rewrite Not Working mikeyt_333 Linux - General 1 05-20-2003 06:00 PM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration