For a larger amount of images (approx 1k, plus same amount of thumbs, in ca 500 folders), we have the requirement that all image URIs used on the site have to have a SEO optimized path. They are already prepared and present with the complete path structures (each folder contains a thumbs folder with the same filename with smaller size/dimensions).
These are the URIs that we want to achieve:
Full size Image URI: http://myserver.com/img/de/cats/brown/jimmy.jpg
Thumb Image URI: http://myserver.com/img/de/cats/brown/thumbs/jimmy.jpg
wp-content/uploads/
part of standard wordpress media files.Simply put: we need full control over the image URIs, i.e. to have their own 'SEO-able' path structure and permalink.
I checked out several Gallery plugins (paid and free) but could not find any documentation on them for the above requirement.
Do you know of any plugin/theme to achieve and manage the URI structure described above?
You can try to add these lines by placing them inside your functions.php file:
update_option('upload_url_path', '/wp-content/uploads');
This will make WordPress embed images like:
src="/wp-content/uploads/fileName.jpg"
instead of
src="http://domainName.com/wp-content/uploads/fileName.jpg"
I hope this can help you to solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With