therealwesfoster Posted January 21, 2009 Share Posted January 21, 2009 I've created a mod_rewrite to get clean urls (/games/Title.htm instead of games.php?title=Title) Now people are appending query strings after the .htm in the clean urls, and these URLs are getting indexed! (and hurting rankings) How can I detect if there is any query strings after the .htm? And if so, redirect to the homepage. Thanks! Wes Quote Link to comment Share on other sites More sharing options...
Matrixkid Posted January 27, 2009 Share Posted January 27, 2009 I cant give you the correct answer, but I can share this with you: http://forums.devshed.com/showthread.php?p=1165165 One of the examples should be able to help you out. Good luck! Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.