LinkedIn profile 403 Forbidden

On my website renatofoschi.com I have a link to my LinkedIn profile, but when opened shows this:

403 Forbidden
Server or website configuration is blocking you from viewing this page.

I have no .htaccess file in my htdocs.
My LinkedIn profile is entirely public.
I have read the 403 Forbidden general guide on this forum and several other posts but none of the cases mentioned seem to apply.

How can I solve this?

Thanks!

Welcome to the forum!

I went to your website and clicked the LinkedIn link, and it works. Can you try clearing your browser cache?

9 Likes

I did clear my browser cache. Still showing 403.
It’s the same from my phone :melting_face:

Just for clarity: are you seeing the error on your website or on LinkedIn?

3 Likes

the error is an infinityfree error:

https://errors.infinityfree.net/errors/403/

This is happening because a slash is missing between the protocol and the website in your href attribute (it should be https://, but it currently is configured like this):

<a href="https:/www.linkedin.com/in/renatofoschi">

As such your browser is trying to load https://renatofoschi.com/www.linkedin.com/in/renatofoschi, and given that such a link does not exist, redirects you to InfinityFree’s 403 web page. Correcting the typo should fix this.

6 Likes

It’s true that the link doesn’t exist, but normally it will throw a 404; Why it throws a 403 is because it contains a banned word .com.

4 Likes

This (403 instead of 404) somehow completely skipped my mind when writing my response, and I don’t think I was aware of the .com ban either. Thanks for the clarification!

4 Likes

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