skip to Main Content

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…

VIEW QUESTION

WordPress: Redirect Removing date from url using .htaccess

I have a redirect problem with WordPress and removing the date from the URL: OLD: https://www.example.de/2022/03/03/here-is-the-article-name-2582/ NEW: https://www.example.de/here-is-the-article-name-2582/ Redirect ERROR: https://www.example.de/03/ he redirect all the time on the "day" path. here my .htaccess test: ########### REDIRECT 301 ############ RewriteEngine on…

VIEW QUESTION
Back To Top
Search