Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
DeathMarine Posted August 27, 2010 Posted August 27, 2010 I was suggested to put my question here so here it goes. Is there a way to make image attachments into nice URLs instead of mysite.com/index.php?app=core&module=attach§ion=attach&attach_rel_module=post&attach_id=??? to something of the affect mysite.com/nameofimage.jpg i would like the pictures to be easily and properly picked up by google. when i search my site through google image search i get picture names like this "post-83928374928340238940.jpg" thanks for reading this.
.Peter Posted August 27, 2010 Posted August 27, 2010 Getting the image name to change isn't very easy from post-83928374928340238940.jpg to nameofimage.jpg as having it the other way prevents duplicates from being uploaded. Also if you have FURL enabled that should fix your first problem, if you do have it enabled you could pull that off by modifying your .htacess
DeathMarine Posted August 28, 2010 Author Posted August 28, 2010 you can mark it with the postid like mysite.com/forum/topic-34/postID/nameofimage.jpg unless the person is uploading the same picture multiple times i dont see why it would be hard to implement.
bfarber Posted August 30, 2010 Posted August 30, 2010 you can mark it with the postid like mysite.com/forum/topic-34/postID/nameofimage.jpg unless the person is uploading the same picture multiple times i dont see why it would be hard to implement. I have at least 3 or 4 "photo.jpg" images on my computer that are different images with the same name (in different folders obviously). All it would take is for me to upload 2 of those to conflict...
DeathMarine Posted August 31, 2010 Author Posted August 31, 2010 couldn't it check to see if the file name exists and add a number to make the names different?
bfarber Posted September 1, 2010 Posted September 1, 2010 couldn't it check to see if the file name exists and add a number to make the names different? Yes, in theory (though if you have 20,000 "photo.jpg" images already, that could take a while).
DeathMarine Posted September 3, 2010 Author Posted September 3, 2010 would putting the title of the picture in the actual <img> help at all for google image search?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.