The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
VBSEO Uninstall and Linked Images
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....strations.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 |
#3
|
|||
|
|||
Tried to install it and after the .htaccess change the whole site gives a 404 even the home page domain.
|
#4
|
||||
|
||||
What's the current link to the images in that blog post? Is the attachment id in that link vbseo generated?
|
#5
|
|||
|
|||
The link is
estetica-design-forum.com/attachments/illustration-graphic-design/8394d1343305301-rubens-scarelli-nike-illustrations-dfe8307a9fec2b0aac7124108c69f9b8.jpg --------------- Added [DATE]1397470069[/DATE] at [TIME]1397470069[/TIME] --------------- Actual image is now located at: estetica-design-forum.com/attachment.php?attachmentid=8395&d=1343305326 |
#6
|
||||
|
||||
Add this to the Rewrite Rules in your .htaccess:
Code:
RewriteRule ^attachments/(.*)/([0-9]*)d([0-9]*)(.*)$ http://www.estetica-design-forum.com/attachment.php?attachmentid=$2&d=$3 [R=301,L] |
Благодарность от: | ||
toon79 |
#7
|
|||
|
|||
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 |
#8
|
||||
|
||||
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.
|
#9
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|