Facebook not seeing styled version of page
-
When I try to share my wp homepage (https://www.azwfk.org/) on Facebook by pasting the URL into the status entry field Facebook goes out to retrieve the page title, description, image thumbnails, etc.
For some reason, when I give it just the website URL — i.e., https://www.azwfk.org/ — it is having a problem getting to the page contents. It gets the page title but instead of the description it displays the following text:
“You are viewing an unstyled version of this page. Either your browser does not support Cascading Style Sheets (CSS) or CSS styling has been disabled.”
And it does not show any image thumbnails.
If, instead, I give it the URL https://www.azwfk.org// (note the extra slash at the end) or https://www.azwfk.org/index.php it works fine. If I give it the URL for a page other than the home page it works fine.
If I give it https://www.azwfk.com/ (which automatically redirects to .org) it works fine.
Screenshots showing different URLs and the results. <– Note that Facebook returns different numbers of thumbnail images (sometimes 3, sometimes 5 or 6) but that’s a Facebook issue.
My .htaccess file contains the .com to .org redirect code followed by the code WordPress inserted. It all appears good to me and it all seems to work. Here it is:
RewriteEngine on RewriteCond %{HTTP_HOST} ^azwfk\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.azwfk\.com$ RewriteRule ^/?$ "http\:\/\/www\.azwfk\.org" [R=301,L] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
I wouldn’t mind so much except copying the homepage URL and pasting it into Facebook is the most typical way of sharing a website and I want my description text to show up, not some warning message.
I’m using the Able WordPress theme (by Automatic).
- The topic ‘Facebook not seeing styled version of page’ is closed to new replies.