https://github.com/fadilxcoder/friendly-url
Having friendly URL in your projects with .htaccess
https://github.com/fadilxcoder/friendly-url
php poc
Last synced: 10 months ago
JSON representation
Having friendly URL in your projects with .htaccess
- Host: GitHub
- URL: https://github.com/fadilxcoder/friendly-url
- Owner: fadilxcoder
- Created: 2020-06-19T19:49:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-14T16:49:17.000Z (almost 5 years ago)
- Last Synced: 2025-01-04T19:23:47.626Z (over 1 year ago)
- Topics: php, poc
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Friendly URLs
- `/display/ab-dolorem-quo-aperiam-et-voluptates-voluptatem`
- - In .htaccess **RewriteRule ^display/(.*)$ _show.php?uri=$1 [QSA]**
- - Passing 1 variable
- `/mutiple-data/1/ab-dolorem-quo-aperiam-et-voluptates-voluptatem`
- - In .htaccess **RewriteRule ^mutiple-data/(.*)/(.*)$ _get.php?id=$1&uri=$2 [QSA]**
- - Passing more tha 1 variable