codename25 Posted August 17, 2014 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
raffahacks Posted September 3, 2014 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now