IT Community - Software Programming, Web Development and Technical Support

How do I use .htaccess to redirect

This is a discussion on How do I use .htaccess to redirect within the Server Management forums, part of the Servers and Hosting category; I already have all non-www. links redirected as www. Now I want to redirect pages that have more than ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Servers and Hosting > Server Management

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 02-19-2007, 02:00 PM
LennyP LennyP is offline
D-Web Trainee
 
Join Date: Feb 2007
Posts: 40
LennyP is on a distinguished road
Default How do I use .htaccess to redirect

I already have all non-www. links redirected as www. Now I want to redirect pages that have more than one url to the same url to avoid supplemental results. For example pages with and without .index. How do I do this in simple terms?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-20-2007, 06:35 AM
sfod223 sfod223 is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 51
sfod223 is on a distinguished road
Default Re: How do I use .htaccess to redirect

Sorry my man but the only experience i have with the .htaccess file is with regard to banning ip's and such.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-26-2007, 02:04 AM
sivaramakrishnan sivaramakrishnan is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 74
sivaramakrishnan is on a distinguished road
Default Re: How do I use .htaccess to redirect

u can use the Rewrite Rule to redirect the pages.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect your users without using PHP chetan1 PHP Programming 0 05-06-2008 12:53 AM
How to redirect domain URL without www into www.TestSite.com? KiruthikaSambandam ASP and ASP.NET Programming 0 04-25-2008 12:15 AM
Using .htaccess files in apache venkatesan.N Server Management 6 08-31-2007 12:09 AM
How to make use of .htaccess file to password protect a directory from users bluesky PHP Programming 1 07-17-2007 07:49 AM
Htaccess www to non www vadivelanvaidyanathan Search Engine Optimization 0 06-30-2007 12:13 AM


All times are GMT -7. The time now is 12:54 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0