Try replacing ^(.*)
with ^(.*)$
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
Edit: Try replacing index.php
with /index.php
RewriteRule ^(.*)$ /index.php?url=$1 [L,QSA]
More Related Contents:
- How to do URL re-writing in PHP?
- deny direct access to a folder and file by htaccess
- How to check if mod_rewrite is enabled in php?
- Htaccess: add/remove trailing slash from URL
- URL rewriting : css, js, and images not loading
- No input file specified
- Pretty URLs with .htaccess
- Yii2 htaccess – How to hide frontend/web and backend/web COMPLETELY
- Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04
- How can I use .htaccess to hide .php URL extensions?
- When setting environment variables in Apache RewriteRule directives, what causes the variable name to be prefixed with “REDIRECT_”?
- Pretty URLs in PHP frameworks
- How to create clean url using .htaccess
- Permission denied: /var/www/abc/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable?
- .htaccess Redirect non-WWW to WWW preserving URI string
- How do I convert a PHP query string into a slash-based URL?
- using mod_rewrite with XAMPP and windows 7 – 64 bit?
- The requested URL was not found on this server.
- Allow php sessions to carry over to subdomains
- Execute root commands via PHP
- The mysqli extension is missing. Please check your PHP configuration
- WAMP Cannot access on local network 403 Forbidden
- Setup HTTP expires headers using PHP and Apache
- Preventing Caching of CSS Files
- How to enable and use HTTP PUT and DELETE with Apache2 and PHP?
- Intermittent PHP Abstract Class Error
- PHP errors NOT being displayed in the browser [Ubuntu 10.10]
- OpenSSL not working on Windows, errors 0x02001003 0x2006D080 0x0E064002
- 500 Internal Server Error?
- .htaccess – Redirect subdomain to folder