Posts: 81
Location: Cape Coral, Florida, United States
|
try this in a htaccess file in your main folder...
Code:
RewriteEngine On
RewriteRule ^(.*)/(.*)$ /index.php?cat=$1&t=$2 [L]
however, i would suggest structuring the urls like "/unused/language/blah-blah-blah"
that way, you can make sure that it is only handed to the script like so...
Code:
RewriteEngine On
RewriteRule ^(articles|walkthroughs|etc)/(.*)/(.*)$ /index.php?cat=$2&t=$3 [L]
basically keeping the hand-off limited to certain urls and not ALL of them.
Last edited by simptech : 03-25-2005 at 12:04 PM.
|