Hey guys, good news! .. I got Mod Rewrite on the go at NuWeb Entertainment.
No need realy with the upgradeing of Search Engines, but thought id do it anyway, to make it easyer for people to like share URLS.
Here is my .htaccess
Code:
RewriteEngine on
RewriteRule ^games/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1
RewriteRule ^categories/([_A-Za-z0-9-]+)/([0-9]+)-([0-9]+)/?$ index.php?action=browse&catname=$1&page=$2&limit=$3 [S=1]
RewriteRule ^categories/([_A-Za-z0-9-]+)/?$ index.php?action=browse&catname=$1
RewriteRule ^search/([_A-Za-z0-9-]+)/([0-9]+)/?$ index.php?action=browse&searchterm=$1&page=$2 [L]
But.. OHH NO! NuWeb uses ? in the titles of the games.
I could use the games id instead, but that doesent look as good.
Well what im wanting to do, is something that will jsut REMOVE invalid text from the rewrite thing.
So remove the invalid charictors such as @, `, ? from the urls?
Is their a easy way to do this? ..
__________________
Please login or register to view this content. Registration is FREE
NuWeb 10101101
|