Jump to content

Remove ?get=vars


therealwesfoster

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/141706-remove-getvars/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.