.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, Link to comment https://forums.phpfreaks.com/topic/46830-htaccess-problem/ 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, Link to comment https://forums.phpfreaks.com/topic/46830-htaccess-problem/#findComment-228291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.