Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-16-2010, 09:47 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
.htaccess to redirect all requests to another URL

Hi gang,

I would like to setup .htaccess to redirect every request to one website regardless of folder/filename combination to another URL.

For example:

would all redirect to
Old 04-16-2010, 11:38 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614


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
Redirect http requests angle2009 Linux - Networking 6 12-18-2009 06:08 PM
Is is possible to redirect the requests to another IP which is not on my WLAN? JAY-D Linux - Wireless Networking 4 12-02-2006 02:07 PM
Redirect SMTP Requests ALInux Linux - Networking 2 08-03-2006 08:41 AM
How can I redirect all requests for 1 ip to a different IP? with iptables abefroman Linux - Networking 1 08-31-2005 02:09 PM
Htaccess with a redirect Diode Linux - Networking 0 10-28-2003 07:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 AM.

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