K
K
Konstantin T2018-08-21 11:37:46
Nginx
Konstantin T, 2018-08-21 11:37:46

Nginx PageSpeed ​​Image_rewrite returns changed image title, how does this affect SEO?

Nginx PageSpeed ​​Image_rewrite returns the changed image name, but it inserts a Header Link with the real name and location of this file on the server
Here is an example:

https://site.ru/uploads/banner_code/3/x2.png.pagespeed.ic.eVd8440NtA.webp

agespeed.ic.eVd8440NtA.webp which was added to the filename BUT
in Headers there is this code
Accept-Ranges: bytes
Cache-Control: max-age=31536000
Connection: keep-alive
Content-Length: 10694
Content-Type: image/webp
Date: Tue, 21 Aug 2018 08:15:07 GMT
ETag: W/"0"
Expires: Wed, 21 Aug 2019 08:15:07 GMT
Last-Modified: Tue, 21 Aug 2018 08:15:07 GMT
Link: <https://site.ru/uploads/banner_code/3/2.png>; rel="canonical"
Server: nginx/1.11.13
Strict-Transport-Security: max-age=31536000
X-Page-Speed: 1.11.33.3-0

Where Link: <******/uploads/banner_code/3/2.png>; rel="canonical" leads to the correct URL

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2018-08-21
@ThunderCat

canonical links tell search robots where to look for the original content (what needs to be indexed) with DUPLICATE content. That is, if a copy of the original image from rel canonical comes from nginx to the original, then search engines will not pay attention to the copy, knowing where the original is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question