Redirect to 404 when file access is denied

in Download Manager Free

Viewing 8 posts - 1 through 8 (of 8 total)
Sep 16, 2022 at 11:09 am
#178040
Participant
Merlin Kairies
OP

Hello,
when accessing a protected file by its URL it redirects and downloads a short .txt file with a “You don’t have permission to download this file” message.

Is it possible to instead redirect to a custom page? -such as 404

Seems to be a cleaner solution and reduces server download requests.

Sep 16, 2022 at 12:06 pm
#178042
Moderator
Nayeem Riddhi
Staff

Hello Merlin Kairies,

Hope you are well. Can you please share the related URL? if possible, please, give your temporary wp-admin login details in a private reply for checking the issue.

Thank you and regards

Sep 16, 2022 at 12:13 pm
#178043
Participant
Merlin Kairies
OP
This reply has been marked as private.
Sep 16, 2022 at 12:22 pm
#178045
Moderator
Nayeem Riddhi
Staff

Hello Merlin Kairies,

Can you please check the option from Downloads > Settings > Basic > Permission Denied Message for Packages: if it helps you.

Thank you and regards

Sep 16, 2022 at 1:18 pm
#178046
Participant
Merlin Kairies
OP
This reply has been marked as private.
Sep 16, 2022 at 1:22 pm
#178048
Participant
Merlin Kairies
OP
This reply has been marked as private.
Sep 17, 2022 at 8:02 am
#178069
Moderator
Nayeem Riddhi
Staff

Hello Merlin Kairies,

The admin login you have shared can’t able to access. Can you please check it again?

Thank you and regards

Sep 17, 2022 at 8:27 am
#178070
Participant
Merlin Kairies
OP
This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)

The topic "Redirect to 404 when file access is denied" is closed to new replies.