homepage Welcome to WebmasterWorld Guest from 54.161.202.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
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




msg:4362535
 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




msg:4362586
 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




msg:4362587
 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