Force a 403 response to xml file in WordPress

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

I’m looking to force a 403 access denied response for an xml file in a directory outside of the default WordPress install.

The url I’m trying to force the 403 response on looks like this mydomain.com/autodiscover/autodiscover.xml

I’ve tried modifying the default WordPress htaccess file by adding a line to ignore the custom directory but it doesn’t seem to work. When visiting the url I get a 404. I did create the directory and xml file and pushed them to our server.

Wondering if anyone has every run into this before and if they found a solution. My end goal would be to just force the 403 on the one file so my xml sitemaps don’t get blocked as well.

Thanks in advance.

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com