Hello .. i want the url appear like this http://www.site.com/user/someone old http://www.site.com/user.php?u=someone i use this code but it doesn't work .. Help Please , THX
I think you have to make the URL with slash in the end: http://www.site.com/user/someone/ Code (markup): Then rule will be the following: Options +FollowSymLinks RewriteEngine on RewriteRule ^user/(.*?)/$ /user.php?u=$1 Code (markup):
thanks brothers ,, i didn't worked but i found a solution .. make a new folder and name it "user" then put the file and the htaccess
I'm also having a problem with mod rewrite. Old url is: http://www.site.com/graphics/free-glitter-graphics/get_images.php?dir_images=Baby New url should be: http://www.site.com/graphics/free-glitter-graphics/Baby.html I'd appreciate any help.
Mab, I don't suggest you do it that way. Keep user.php in the main directory. In the .htaccess file, it should have the following rule: RewriteRule ^user/([^\/].*)/?$ user.php?u=$1 [L] Code (markup):