Mobile app version of vmapp.org
Login or Join
Yeniel560

: Will URL encoding the image names affect Google Just wondering if it makes any difference to Google whether or not I URL encode the image names when linking to them. For example if I have

@Yeniel560

Posted in: #UrlEncoding

Just wondering if it makes any difference to Google whether or not I URL encode the image names when linking to them.

For example if I have an image named "test-1234-!.jpg", does it make a difference if I name it refer to it as "test-1234-%21.jpg"?

The reason I am asking is because I am doing a major shift in the way my website works and while all new image names will not be URL encoded, all of the past ones are. I want to see if it is worth it renaming all of them or if I should just leave it like that.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Yeniel560

1 Comments

Sorted by latest first Latest Oldest Best

 

@Phylliss660

See RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax about the gory details of Url encoding. You should always urlencode your references, keep things standard conform and this way don't break your clients requests.

Google Bot will be happy if it can fetch all your linked assets and this is what you want. Of course the bot is able to url-decode your references/links.

Don't be tricked that it looks some sites do not urlencode: Almost everytime the browser already decoded a urlencoded link just for user readability (e.g. in the address bar). If you look at the source you'll notice the truth.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme