I have a very simple rewrite rule. My entire .htaccess file is as follows:
RewriteEngine On
RewriteRule ^login/([a-zA-Z0-9-/]+)$ company-page.php?company_url=$1
RewriteRule ^login/([a-zA-Z0-9-/]+)/$ company-page.php?company_url=$1
This works fine on the local Wamp server, but does not work on the online server. It displays the following error.!
The requested URL /EZsample/login/mereco-technologies/ was not found on this server.
Can anybody help me!
source
share