Tag Info

New answers tagged

1

So after some trial and error I came up with a working solution that I'm not quite happy with. But at least it works. Since all "real" images are located in /includes/ or subdirectories I simply rewrote the rule for the images. So this location ~* \.(?:gif|jpe?g|png|ico)$ { expires 168h; add_header Pragma public; add_header Cache-Control ...


2

Facebook in general doesn't like to send users out of it, that's why it makes it difficult for the users to leave. I've had that problem in the past, then stopped, then had it again, there seems to be no reason for this. I think Facebook handles the same links differently. For example sharing a link inside a group is not the same as sharing it on a wall or ...


0

The only SEO that might change by dynamically serving an appropriate sized image for the device would be the ranking of that image itself in Google image search. Google is fine with serving different content to different devices as long as you treat Googlebot mobile user agents the same way that you would treat the corresponding mobile device. They have ...


2

Before your question was clarified, you had said that you had a responsive site. Here is how you would use responsive CSS to change the image based on browser size: @media screen and (max-width:480px) { #myimage { background:url('/smaller-image.png'); } } @media screen and (min-width:481px) { #myimage { ...


4

You can either edit your image, like bybe says, or you can tell Facebook and Google Plus which image to use by using the Open Graph Protocol. If you create a new image and add it to the meta property="og:image"-tag, they should use that image when people share one of your pages. If you use this, you won't run the risk of Facebook or Google using the wrong ...


2

PNG Transparency This is happening because your logo is a transparent PNG file which is normally fine but because your logo is white it will clash with Google Plus as they use a white background. A simple fix to this solution is to edit your PNG file and give it a solid background color the same of your elements on the website, in this case a background of ...


0

Facebook uses the facebookexternalhit user agent facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)" Google+ uses a user agent containing "Google" Google (+https://developers.google.com/+/web/snippet/) You should grant them access by user agent.


0

Google declared to execute JavaScript with their bots, see this post for more explanation. As documented you mustn't forbid static files to GoogleBot for dynamic crawling.



Top 50 recent answers are included