The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Converting from vBSEO or DBSEO to vB4.x Friendly URLs
Just posted this in response to a question at vBulletin.com but I wouldn't be surprised if it gets deleted over there so reposting here.
https://www.vbulletin.com/forum/foru...dragonbyte-seo The member posted: Quote:
I have never used DBSEO but I have uninstalled vBSEO from several vBulletin 4.x installations. It's a time-consuming process but the following works. First, you need to identify what rewrite rules are currently being used, or in other words what your URLs currently look like. Then, you need to use notepad or something to list the names and forum numbers of all your forums and categories and tags; you'll obtain these from Forum Management in your ACP. Finally, you will need to add redirects to your .htaccess file. For vBSEO, the following assumes you want to convert to the vBulletin 4.x Basic Friendly URLs (set these in Settings .. Options >> Friendly URLs). Add these near the top of your .htaccess file: Code:
Options +FollowSymLinks # Some servers require the Rewritebase directive to be enabled (remove '#' at the beginning to activate) # Please note: when enabled, you must include the path to your root vB folder (i.e. RewriteBase /forums/) RewriteBase / RewriteEngine On #rewrite old vBSEO thread and post URLs: this is the easy part RewriteRule [^/]+/([0-9]+)-[^/]+\.html http(s)://YOURDOMAIN.COM/showthread.php?t=$1 [L,R=301] # Redirecting the rest is the time-consuming part #redirect tags Redirect 301 /tags/tagname.html http(s)://YOURDOMAIN.COM/tags.php?tag=tagname #repeat for all tags and place this at the end of your list: Redirect 301 /tags/ http(s)://YOURDOMAIN.COM/tags.php #redirect old vBSEO forum categories Redirect 301 /name-of-category/ http(s)://YOURDOMAIN.COM/forumdisplay.php?XXname-of-category #replace XX with the forum number obtained from your ACP and repeat for all categories #redirect old vBSEO forums Redirect 301 /forum-name/ http(s)://YOURDOMAIN.COM/forumdisplay.php?XXforum-name #replace XX with the forum number from your ACP and repeat for all forums |
#2
|
||||
|
||||
The best way to do this is create a temp sitemap which will generate all urls of vBseo or dbseo and after that you will get those urls from sitemap file and use Redirect 301 to redirect them to vB4.x Friendly URLs.
|
#3
|
|||
|
|||
I believe that is the part the OP (and most people) was having difficulty with.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|