Robots.txt File Question

kuldeepsingh689

Regular Member
Joined
Sep 5, 2013
Messages
489
Reaction score
111
Hello Guys.

I need to know something about robots.txt file. please help.

I have converted my website images .jpg to .webp

But it did not work, so I deleted that plugin which converted .jpg to .webp

Now google bots are crawling the URL /wp-content/uploads/2017/720x400.jpg.webp (example) (found in Crawled - currently not indexed)

i need to block google bots.

What should i add in my website robots txt file.

Disallow: /wp-content/*.webp
or
Disallow: /wp-content/uploads/*.webp

Any ideas.

Thanks
 
webp does help in speed
what plugin did you use?
how do you know it did not work?
 
webp does help in speed
what plugin did you use?
how do you know it did not work?
website was getting error in the error log. And .webp version has bigger file size.
 
Not remember now, but you can easily find on WordPress plugins list.

You can also use litespeed cache plugin.
i dont need a plugin. wanted to know what plugin you were using to might have caused this.
 
Sir why you put dollar sign $ in last. can you let me know.
it means the file has to end in webp
without the $ sign, files like "some-important-article.webp-tutorial" would also be excluded
 
Back
Top