Hi Team,
My client had a html website, that we decided to convert to CMS/Wordpress. After convertion we get another problem - URLs
Old website's URLs had such a structure
https://example.com/Arrest-Me-There-_AE888.html
https://example.com/post-title-name-_AE858.html
https://example.com/another-post-title-name-_AE155.html
so at the end of URL
-_AE(number)(number)(number).html
or
_AE(number)(number)(number).html
or
._AE(number)(number)(number).html
on wordpress I keep the same keywords in slugs, but without those extensions at the end
https://example.com/arrest-me-there/
-
unfortunately we have >1900 URLs that need to be redirected, so it's impossible to do one by one.
I tried to run thru redirection plugin
^/(.*?)\.html$
/$1/
but this don't fix the issue with "-_AE***"
Please advice what other command I can run to /remove/ and redirect URLs to new pages.
-_AE***.html
Thanks
[edited by: not2easy at 5:22 pm (utc) on Apr 19, 2023]
[edit reason] For readability, please use 'example.com' [/edit]