redirect-module
redirect-module copied to clipboard
How to remove page extension
I am trying to redirection using the following code:
{
"from": "^/oldPage.php",
"to": "/newPage",
}
It redirects to /newPage.php, which leads to 404 page, how can I remove the .php from the redirected page?
Would like to know the answer to this too.