View Full Version : VBSEO Uninstall and Linked Images
toon79
04-10-2014, 09:30 AM
I had a blog for quite some year which I used to post some of the more interesting on-topic stuff posted at the forum, as the images were linked there since the removal of VBSEO none of the images will appear.
http://illustration-design.blogspot.co.uk/2012/07/rubens-scarelli-nike-illustrations.html
Is there a rewrite anyone knows of that I could add to the htaccess file that would relink all these images, bearing in mind there's probable 1000's over the year, relinking each one would take a long time.
Is there a simpler solution anyone here knows about?
Thanks
final kaoss
04-13-2014, 02:09 PM
If I recall, I believe dbseo (http://illustration-design.blogspot.co.uk/2012/07/rubens-scarelli-nike-illustrations.html) has the ability to rewrite attachments as well which appears to be where these images are from. You should be able to do this with their free version.
toon79
04-14-2014, 07:23 AM
Tried to install it and after the .htaccess change the whole site gives a 404 even the home page domain.
cellarius
04-14-2014, 08:54 AM
What's the current link to the images in that blog post? Is the attachment id in that link vbseo generated?
toon79
04-14-2014, 09:06 AM
The link is
estetica-design-forum.com/attachments/illustration-graphic-design/8394d1343305301-rubens-scarelli-nike-illustrations-dfe8307a9fec2b0aac7124108c69f9b8.jpg
--------------- Added 1397470069 at 1397470069 ---------------
Actual image is now located at:
estetica-design-forum.com/attachment.php?attachmentid=8395&d=1343305326
cellarius
04-14-2014, 09:56 AM
Add this to the Rewrite Rules in your .htaccess:
RewriteRule ^attachments/(.*)/([0-9]*)d([0-9]*)(.*)$ http://www.estetica-design-forum.com/attachment.php?attachmentid=$2&d=$3 [R=301,L]
toon79
04-14-2014, 10:20 AM
Thanks for the fix that's great. I don't suppose you know how to get the members to rewrite?
They were estetica-design-forum.com/members/craig7777.html
But now they are now:
estetica-design-forum.com/member.php?16270-Craig7777
cellarius
04-14-2014, 10:36 AM
Since you chose not to show the userid in the vBSEO url, that's not easily done. All you have to go on in the URL is the Username. You'd need to write a php script to query the database for the userid to go with the username. Then have the .htaccess redirect to that file, get the userid from the database, and then redirect to the correct URL.
toon79
04-14-2014, 10:46 AM
Since you chose not to show the userid in the vBSEO url, that's not easily done. All you have to go on in the URL is the Username. You'd need to write a php script to query the database for the userid to go with the username. Then have the .htaccess redirect to that file, get the userid from the database, and then redirect to the correct URL.
Ah thanks, I understand a little better now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.