From 71a2d6118a48e01a70ccc6e761555f726a60b944 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 21 May 2024 11:55:47 +0200 Subject: [PATCH] handling attachments redirections --- __attachment.php | 1 - attachment.php | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) delete mode 100644 __attachment.php create mode 100644 attachment.php diff --git a/__attachment.php b/__attachment.php deleted file mode 100644 index 66dc5d4..0000000 --- a/__attachment.php +++ /dev/null @@ -1 +0,0 @@ -

salut

\ No newline at end of file diff --git a/attachment.php b/attachment.php new file mode 100644 index 0000000..1be8514 --- /dev/null +++ b/attachment.php @@ -0,0 +1,18 @@ +set_404(); + status_header(404); + get_template_part(404); + exit(); +}