redirect-module icon indicating copy to clipboard operation
redirect-module copied to clipboard

How to remove page extension

Open themodernpk opened this issue 4 years ago • 1 comments

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?

themodernpk avatar May 27 '21 12:05 themodernpk

Would like to know the answer to this too.

simonhrogers avatar Apr 23 '22 13:04 simonhrogers