• Resolved Avi Nayar

    (@coolbrodio)


    I recently made a post about my website on Facebook, but when anyone including myself clicks the link (letzrefresh.com) Facebook sends it to my domain with a huge slug and it just gives me a 404 error. Basically its a 404 error that I cannot trace to anything wrong with the incorrect spelling or formation of the URL. Facebook says that its a “Bad Response CodeURL returned a bad HTTP response code.” From my understand there is nothing wrong with my site but rather an issue between clicking the Facebook link and it getting redirected to the wrong place on my site for some reason. If anyone has any idea to why this is happening and has a simple fix that would be awesome. I can provide any more information needed to help fix this issue. Not sure if this is even a wordpress issue but many wordpress users seem to be going through the same problem. Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Clicking the link above redirects to your homepage correctly without a 404 error. Can you confirm this is still a problem or if you have already fixed it?

    Thread Starter Avi Nayar

    (@coolbrodio)

    That is beyond weird as it still leads my to the 404 error of my site when I click it. Regardless any clicks on the Facebook link (which is just letzrefresh.com) take me to a 404 error for everyone not just me. I also forgot to mention that I have tried a couple redirection plugins and they mostly don’t work the I intended and blocked some normal pages too for some reason.

    There is indeed a problem, as a 404 error is visible. This type of error typically indicates that there may be an issue with how your server is handling the request, often related to your .htaccess file or server configuration. Such problems are usually caused by .htaccess files, which contain various rules and redirects that can start to contradict each other.

    I recommend checking your .htaccess file to ensure there are no misconfigurations or conflicting redirects. You should remove any unnecessary rules and keep only the default .htaccess rules for WordPress. Be careful when making changes, and be sure to create a backup of the file just in case you need to revert to the original. You can find more information about configuring this file in the official WordPress documentation here: https://developer.wordpress.org/advanced-administration/server/web-server/httpd/

    If you’re not comfortable making these changes yourself, it might be a good idea to reach out to your hosting provider for assistance. They should be able to help you troubleshoot the issue further.

    NOTE: As I am not familiar with your exact web server setup, keep in mind that you might not be using Apache and .htaccess at all. For more information about your web server setup, you can again check with your host; it could be Nginx, Windows IIS, or even something else.

    Thread Starter Avi Nayar

    (@coolbrodio)

    Thank you so much! I will do this later today/tomorrow and let you know how it went.

    You’re most welcome! I look forward to hearing how it goes. Good luck!

    Thread Starter Avi Nayar

    (@coolbrodio)

    Hi again, sorry for the delay, we did go to the .htaccess file and captured the fbclid error and then made it redirect to our requested page. This wasn’t exactly what you suggested as it seems that the error with the 404 was actually due to facebook adding its own characters to the redirect from facebook, so an easy fix was just redirecting those repetitive characters to the requested page with help from our hosting provider. Thank you so much for the help!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘404 Error When Clicking On My Website URL From FaceBook’ is closed to new replies.