-
Hello,
I would like one url to show an html file but without the .html part
For instance: https://mysite.com/link-a should show content of https://mysite.com/link-b.html but the url should show as https://mysite.com/link-bI know this can be done via .htaccess for removing .html part but our situation is a little more complex than that. We have multiple origin links that we cycle through multiple destination links and sometimes those destination links file names are exactly the same as the original links (ie, we redirect /link-a to /link-a.html). So if I add the .htaccess snippet for it, and link-a.html exists, but we are trying to redirect /link-a to /link-b.html, this does not work.
In other words, what I would like to achieve is the functionality from Redirection’s plugin that allows you to “pass through” an url. I had achieved this behavior with that functionality in the past.
I recently updated from 1.0.42.1 to 1.0.47 and I think this might be related, since we are mostly sure this was working before.
Thank you in advance!
The ticket ‘Remove file extension (ie, .html) from URL’ is closed to new replies.