.Darkman Posted April 13, 2007 Share Posted April 13, 2007 Hello Everybody, I need some help with .htaccess Currently i use this code : RewriteRule ^category/(.*)$ category.php?name=$1 I use that so that http://mysite.com/category/Photoshop is redirected to http://mysite.com/category.php?name=Photoshop That goes smoothly. But when i type http://mysite.com/category/Photoshop/ it gets redirected to http://mysite.com/category.php?name=Photoshop/ So i get an error. So how shall i redirect this one too to the http://mysite.com/category.php?name=Photoshop Please Help Thanks, Quote Link to comment Share on other sites More sharing options...
.Darkman Posted April 13, 2007 Author Share Posted April 13, 2007 nvm. i figures this out myself. For anyone who might need this, i learnt from here : http://www.webforgers.net/mod-rewrite/mod-rewrite-syntax.php Thanks, 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.