Welcome to WebmasterWorld Guest from 54.226.60.235

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Easy htaccess question!

     

PeteM

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

10+ Year Member



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

9:32 pm on Sep 14, 2011 (gmt 0)

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



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

What have you got so far?

g1smd

9:41 pm on Sep 14, 2011 (gmt 0)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month