I notice your still having a few issues thoughYou pretty much described what I did, mrb. I did upload the mod_rewrite part, but have it disabled at the moment as it did not seem to have any impact on my forum.
Got mine working, after Mike gave me the golden tip.
As it turns out the import log table did exist in my backup. I exported it from a restore, then imported it into my live db, and using the tip from http://xenforo.com/help/import-redirection/, I added the table to the 301redirect file, and that did it.
Thanks, Mike (and of course everyone else offering help). This seriously had me worried to the extent that I stayed up late last night trying to get it done. It's such a relief knowing everything worked out eventually
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
RewriteRule t([\d]+)-([\d]+)/ showthread.php?t=$1&page=$2 [NC,L]
RewriteRule t([\d]+)/ showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)-([\d]+)/ forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]
</IfModule>
RewriteEngine on
RewriteRule t([\d]+)-([\d]+)/ showthread.php?t=$1&page=$2 [NC,L]
RewriteRule t([\d]+)/ showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)-([\d]+)/ forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]
Well, the instruction tells you to put it on near the top...And even I'm not sure if that'd work.Well I've tried placing this code in several spots in the htaccess file and nothing changes.
Source: Rewrites for uploaded XML file
Thread Paging
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
Thread
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
Forum Paging
Unsupported url format.
Forum
Unsupported url format.
Copy the rewrite rules given below to your .htaccess file in the same directory where you have placed showthread.php and forumdisplay.php files provided by Kier: Redirection Scripts for vBulletin 3.x. If you already have some rewrite rules in that .htaccess file, place these near the top.
RewriteEngine on
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
<------vBSEO URL's?------->
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
Is there a converter for nginx?
Redirect 301 /forum/category-on-vb/ http://www.targeturl.com/forums/category-on-xf.9/
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule [\d]+-[^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [\d]+-[^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
RewriteRule ([\d]+)-[^/]+/index([\d]+).html forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule ([\d]+)-[^/]+/ forumdisplay.php?f=$1 [NC,L]
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
RewriteEngine On
RewriteRule [\d]+-[^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [\d]+-[^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
RewriteRule ([\d]+)-[^/]+/index([\d]+).html forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule ([\d]+)-[^/]+/ forumdisplay.php?f=$1 [NC,L]
This script will allow me to uninstall vBseo and keep urls working on vbulletin?UPDATE:
I've uploaded the script at: http://tools.geekpoint.net/xfseo/, with the ability to upload your own XML backup file and have the tool generate rewrite/redirect rules for you (in case you are not using a preset). Let me know if you encounter any errors while using the rewrite rules or the script itself.
View attachment 4147
/ End Update
######################################################################
If you had installed vBSEO for your vBulletin forum and want to redirect all those rewritten links to the corresponding XenForo links, there's no single way to do that unfortunately. The rewrite codes all depend on what url formats you were using. vBSEO ships with 7 presets by default, for which the rewrite rules can be instantly generated.
Credits:
» Got the idea from Mike's post.
Links:
» http://www.vbseo.com/blogs/mert-goekceimam/how-uninstall-vbseo-238/
» http://xenforo.com/community/threads/redirection-scripts-for-vbulletin-3-x.5030/
» http://xenforo.com/community/threads/xenseo-vbseo.4505/
» http://tools.geekpoint.net/xfseo/
You will need to keep everything installed until import is complete. Save your archive, and then link to it in the config. You then can use the redirects script.This script will allow me to uninstall vBseo and keep urls working on vbulletin?
We use essential cookies to make this site work, and optional cookies to enhance your experience.