Support

Admin Tools for WordPress

#41198 redirect a linkt to a pdf to a new url doesn't work

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
6.6.2
PHP version
8.3
Admin Tools version
1.6.7

Latest post by on Monday, 14 October 2024 06:07 CDT

sumawelt

Hi,
I'm trying to redirect a pdf file to a new url:

Old url is: https://domain.tld/wp-content/uploads/2022/03/Terminanfrage.pdf and I want to redirect it to https://otherdomain.de.
Other redirects, I set up, are working fine. It seems to be related to the wp-content directory. When I try to redirect the pdf from anywhrere within the wp-content directory, I get a 404, If I redirect it from the sites' root, it works fine.

 

System Task
system
The ticket information has been edited by Markus Tjoa (sumawelt).