Created
January 31, 2019 10:14
-
-
Save ErMandeep/89ffbd955614abb821129a678c7d7271 to your computer and use it in GitHub Desktop.
rewite url from http://localhost/realwed/couples.php?username=demo to http://localhost/realwed/couples/demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rewite url from http://localhost/realwed/couples.php?username=demo to http://localhost/realwed/couples/demo | |
.htaccess // create file | |
RewriteEngine On | |
RewriteRule ^([a-z0-9]+)$ couple.php?username=$1 [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment