LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-17-2009, 02:25 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Redirect the Page to home page?


I have a page http://myprojectname.com/en which I want to redirect the page to my homepage http://projectname.com provided with other options like if anyone who access it through /cs or /info or /access should be automatically be redirected to the homepage.
 
Old 12-17-2009, 02:59 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
ehm... your posts here actually not associated with linux in any way. xcpt that you maybe host sites on linux but that doesn't tell anything. more than you don't tell us anything. how can we guess what webserver do you use?
 
Old 12-17-2009, 03:30 AM   #3
AngTheo789
Member
 
Registered: Sep 2009
Posts: 110

Rep: Reputation: 24
Put in each location that you want to redirect an index.html file, where you add the redirect option to the HTML head section with a value of 0, meaning that it will redirect immediately to the location that you specify as the redirection target.
 
Old 12-17-2009, 10:36 AM   #4
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I have been using Apache Server on my RHEL Box.
 
  


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
nginx redirect error page cbtshare Linux - Server 0 10-10-2009 02:30 PM
Apache redirect for non existing page cooljai Linux - Server 1 11-03-2008 10:00 AM
Redirect page koscek Programming 9 11-02-2007 04:29 AM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 07:10 PM
how to redirect PHP code to another page bahadur Programming 3 03-21-2005 06:59 AM


All times are GMT -5. The time now is 05:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration