LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02: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



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 07:58 PM
Help me make this rewrite rule in Apache ganninu Linux - General 8 01-07-2004 08:30 AM
apache mod rewrite Robert0380 Linux - Software 5 07-31-2003 04:42 PM
Apache rewrite question CrazyToon Linux - Software 3 06-17-2003 02:00 PM
Apache Rewrite Not Working mikeyt_333 Linux - General 1 05-20-2003 05:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:47 PM.

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
Open Source Consulting | Domain Registration