WPThumb icon indicating copy to clipboard operation
WPThumb copied to clipboard

WPThumb & SEO

Open htrex opened this issue 11 years ago • 3 comments

Pretty URLs – No ugly ‘phpthumb?args=blah’. More like: ‘uploads/cache/foo-bar-jpg/h456d6.jpg’

AFAIK both URLs are not the best considering a SEO perspective, where the image name has a quite strong weight in SERP.

Why not something like $imagename_$width_$height_$otherparameters.... ?

htrex avatar Apr 03 '13 10:04 htrex

AFAIK both URLs are not the best considering a SEO perspective, where the image name has a quite strong weight in SERP.

Both are not the best indeed - though that's not what the statement says.

Why not something like $imagename_$width_$height_$otherparameters.... ?

The image path already has the image name in it, so all your are adding is params of width & height, given the mount of variables (width/height/cropping/cropping options/watermarking options/any 3rd party addons) the filename would be come too long. The URLs that WP Thumb outputs is just as good as the standard WordPress file uploads, the phpthumb.php? example is not about seo, it's about exposing more information that necessarily and getts very messy image paths when it comes to query params.

joehoyle avatar Apr 03 '13 10:04 joehoyle

I understand your point, but most of the literature about image SEO declares keywords in the image name as one important positioning factor, so what about swapping the image name with encoded parameters? ‘uploads/cache/h456d6/foo-bar.jpg’ instead of ‘uploads/cache/foo-bar-jpg/h456d6.jpg’

htrex avatar Apr 05 '13 14:04 htrex

This should be a lot easier once #94 is merged as you will be able to specify your own naming pattern.

joehoyle avatar Nov 18 '13 04:11 joehoyle