WordPress/Apache rewrite/redirect rule and regex
I need to do some apache rewrite/redirect rules to external webservice in case of 404 error for specific file extensions: .jpg, .png, etc. Wordpress is used here. So, if 404 occurs at: https://test.com/folder/subfolder/year/month/filename.jpg I want to redirect it to: https://test1.com/folder/subfolder/year/month/filename.jpg…