Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

WPThumb & SEO #62

Open
htrex opened this issue Apr 3, 2013 · 3 comments
Open

WPThumb & SEO #62

htrex opened this issue Apr 3, 2013 · 3 comments

Comments

@htrex
Copy link

htrex commented Apr 3, 2013

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.... ?

@joehoyle
Copy link
Member

joehoyle commented Apr 3, 2013

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.

@htrex
Copy link
Author

htrex commented Apr 5, 2013

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’

@joehoyle
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants