I have only one image attachment per post, as featured image. Every post have just one image, featured image, and no any other image in post content.
By default URL of image attachment is:
How to change it to this?
(Without image title at the end of url)
I have site, image gallery, and I wish to move it from current CMS to WordPress. On old CMS I have one page with medium image on it, and one more page with same image in high resolution on it.
I will redirect old page URL with medium image on it to post URL on WordPress:
Old page with full size image on it I will redirect on that shorter attachment URL. It will be much better that attachment URL is shorter, and easier for making 301 redirection, like this:
http://www.sitename.com/category/sub-category/article-name/image or http://www.sitename.com/category/sub-category/article-name/hd