Welcome to WebmasterWorld Guest from 54.224.230.193

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Easy htaccess question!

     
7:03 pm on Sep 14, 2011 (gmt 0)

Full Member

10+ Year Member

joined:Mar 16, 2004
posts: 283
votes: 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
9:32 pm on Sept 14, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13210
votes: 347


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

What have you got so far?
9:41 pm on Sept 14, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 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.