MyBB Community Forums
(Redirects 301) vBulletin to MyBB - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Merge System Support (https://community.mybb.com/forum-180.html)
+--- Thread: (Redirects 301) vBulletin to MyBB (/thread-188375.html)



(Redirects 301) vBulletin to MyBB - Zero13 - 2016-01-24

Hello everyone!
 
 I did the conversion of vBulletin 4.2.3 to MyBB 1.8.6 and it was all right, only I have a problem with SEO friendly 301 redirects, I don't want to lose all the previous links.
 
 Link Original vBulletin 4.2.3:
 showthread.php?751-IMPORTANTE-las-normas-del-Foro
 
 Current link of MyBB 1.8.6:
 Thread-IMPORTANTE-Las-Normas-del-Foro
 
 It is possible with code in the .htaccess 301 to make this address?
 
Thank you very much!
Undecided


RE: (Redirects 301) vBulletin to MyBB - Jones H - 2016-01-25

As long as the slug (the part of the title in the url) is the same in both forums it should be possible via something like this (not that I haven't tested it):

RewriteRule ^showthread.php?([0-9]+)-([a-zA-Z\-]+)$ Thread-$1 [R=301,L,QSA]



RE: (Redirects 301) vBulletin to MyBB - Zero13 - 2016-01-25

Thank you!, but still does not work... I enclose two links (which doesn't work) and the new one that must redirect:
 
 Original (not working)

http://www.zero13wireless.net/showthread.php?8154-Proyecto-Cantenna-BELGRANO-(-por-Mandarache-)

New (Working)

http://www.zero13wireless.net/Thread-Proyecto-Cantenna-BELGRANO-por-Mandarache

If I put in the original link, changing the showthread.php?8154 by Thread, Work.

I hope your comments!

Thanks! Smile


RE: (Redirects 301) vBulletin to MyBB - Omar G. - 2016-01-25

Because vBulleting allows characters than your MyBB configuration doesn't.


RE: (Redirects 301) vBulletin to MyBB - Zero13 - 2016-01-25

Isn't there any solution?, I find it strange, that symbol can not be ignored with wildcard? (*) (^)


RE: (Redirects 301) vBulletin to MyBB - Jones H - 2016-01-26

In your example you can clearly see that the slug is different so you can't redirect using that one.
An alternative would be using the id which is included in your old link, however that would require changes to the merge system which you would need to rerun and you would need rio write a plugin.