homepage Welcome to WebmasterWorld Guest from 54.227.34.0
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Easy htaccess question!
PeteM

10+ Year Member



 
Msg#: 4362533 posted 7:03 pm on Sep 14, 2011 (gmt 0)

We've rewriteen out site and I simply want to redirect all of the old .htm pages (using mod rewrite) to index.php. How would I do this?

Thanks, Pete

 

lucy24

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4362533 posted 9:32 pm on Sep 14, 2011 (gmt 0)

Suspiciously easy. You're withholding something, aren't you?

What have you got so far?

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4362533 posted 9:41 pm on Sep 14, 2011 (gmt 0)

It's always a bad idea to redirect to a named index filename in a URL. The canonical URL for an index page ends with a trailing slash, and does not include the index filename.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved