# Facebook and Social Media Crawlers Getting 403 on My Site

**URL:** <https://forum.infinityfree.com/t/facebook-and-social-media-crawlers-getting-403-on-my-site/114502>\
**Category:** Hosting Support\
**Created:** [August 9, 2025, 8:46am UTC](https://forum.infinityfree.com/t/facebook-and-social-media-crawlers-getting-403-on-my-site/114502 "2025-08-09T08:46:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pritam\_chaulagain](https://forum.infinityfree.com/letter_avatar/pritam_chaulagain/32/5_5575768a8748004e209b776fc1b2916d.png) [@pritam\_chaulagain](https://forum.infinityfree.com/u/pritam_chaulagain)\
**Post date:** [August 9, 2025, 8:46am UTC](https://forum.infinityfree.com/t/facebook-and-social-media-crawlers-getting-403-on-my-site/114502/1 "2025-08-09T08:46:48Z")

</div>

### Hi InfinityFree Team,

My site [https://missionitsolution.com.np/](https://missionitsolution.com.np/) is blocking Facebook’s and other social media crawlers from generating link previews.

Issue:

When I test my URLs in the Facebook Sharing Debugger, I get a 403 Forbidden error. This happens for other social media bots like Twitterbot and LinkedInBot as well.

What I’ve tried so far:

Updated .htaccess to explicitly allow facebookexternalhit, Facebot, Twitterbot, and LinkedInBot.

Updated robots.txt to allow all social crawlers.

Confirmed my .htaccess rules load correctly.

Error:

Still getting 403 from Facebook’s debugger.

It seems the block may be happening at the server/firewall level (possibly mod\_security) before .htaccess rules are processed.

Request:

Can you please confirm if InfinityFree’s security rules are blocking these crawlers, and whitelist the following User Agents for my domain?

facebookexternalhit

Facebot

Twitterbot

LinkedInBot

Googlebot

This is important for proper link previews when sharing posts from my site.

Thanks in advance!

Pritam Chaulagain

---

<div class="post-metadata">

**Author:** ![wasik405](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wasik405/32/55080_2.png) [@wasik405](https://forum.infinityfree.com/u/wasik405)\
**Post date:** [August 9, 2025, 8:51am UTC](https://forum.infinityfree.com/t/facebook-and-social-media-crawlers-getting-403-on-my-site/114502/2 "2025-08-09T08:51:09Z")

</div>

Welcome to the community.  
The link previews on social media aren’t working, probably because their crawler is being blocked. This is likely due to the security system described here:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

Unfortunately, there is no way to fix this, but search engine crawlers (like Googlebot) are whitelisted

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [August 16, 2025, 8:51am UTC](https://forum.infinityfree.com/t/facebook-and-social-media-crawlers-getting-403-on-my-site/114502/3 "2025-08-16T08:51:42Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
