codename25 Posted August 17, 2014 Share Posted August 17, 2014 Hi, How can i implement pretty urls for my website build in php by accessing .htaccess files?. something like....... RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^users/(\d+)*$ ./profile.php?id=$1 RewriteRule ^threads/(\d+)*$ ./thread.php?id=$1 RewriteRule ^search/(.*)$ ./search.php?query=$1 Quote Link to comment Share on other sites More sharing options...
raffahacks Posted September 3, 2014 Share Posted September 3, 2014 Can you explain better what you want? I can't understand Do you mean something like this?http://corz.org/server/tricks/htaccess2.php 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.