Can anyone solve my problem ? I want to remove .php extention only: My current url is:
www.example.com/department.php/beakers.html?id=213863
And I want like this:
www.example.com/department/beakers.html?id=213863
Thanks in advance
Can anyone solve my problem ? I want to remove .php extention only: My current url is:
www.example.com/department.php/beakers.html?id=213863
And I want like this:
www.example.com/department/beakers.html?id=213863
Thanks in advance
You can use .htaccess
redirection method
RewriteEngine On
RewriteRule ^/?department/(\w+\.html)/?$ /department.php/$1 [END,QSA]