Hello, i would like to uninstall vbseo from my forum. Everything is ok when doing that, but then i have problems with 301 redirects vbseo to vbulletin urls. Can someone help me with this please? In vbseo url rewrite settings I'm using default preset 001. What do i have to choose in vbulletin friendly urls, after removing vbseo? And what goes to .htaccess file? Appreciate your help
From this site. http://tools.geekpoint.net/xfseo/ it says to use these rules for 001 Code: RewriteEngine on RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L] RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
It doesn't work for forum, it says Unsupported url format. Anyway it's ok, google will have to re-index just categories, threads are redirecting fine. Thanks
That likely means your forum URLs do not contain the forum id numbers such that you can't setup a generic redirect for those URLs. It will be necessary to setup individual redirects for each forum URL. Please provide specific examples of old and new forum URLs.
Yes that's true. Here is the example: Old:http://www.imspot.org/imspot-forum-news/ New: http://www.imspot.org/forumdisplay.php?235-IMSpot-Forum-News
I just added this Redirect 301 /oldpage/ http://www.yoursite.com/newpage/ and of course replaced with my urls
The only mention of "301" on in that file is this? Code: RewriteRule (.*) http://www.imspot.org/$1 [L,R=301]
This has been removed because it's not working Redirect 301 /link-building/ http://www.imspot.org/forumdisplay.php?121-Link-Building
I think it's time to move to xenforo, i'm tired of vbulletin and vbseo + their support is awful. My forum has a lot of bugs after upgrade to 4.2.2. version.
This should do the trick: For forums: RewriteRule ^imspot-forum-news/index([0-9]+)\.html$ forumdisplay.php?235-IMSpot-Forum-News/page$1 [L] RewriteRule ^imspot-forum-news/$ forumdisplay.php?235-IMSpot-Forum-News [L] RewriteRule ^another-example/index([0-9]+)\.html$ forumdisplay.php?1-Another-Example/page$1 [L] RewriteRule ^another-example/$ forumdisplay.php?1-Another-Example [L] Forum name Forum ID Page number Those rules include single page forums and multiple page forums. For threads: RewriteRule ^[^/]+/([0-9]+)-.+-([0-9]+)\.html$ showthread.php?t=$1&page=$2 [L] RewriteRule ^[^/]+/([0-9]+)-.+\.html$ showthread.php?t=$1 [L] Matches forum name Matches thread ID Matches thread name Matches page number Those rules include single page threads and multiple page threads. They should be put in that exact same order, so that your .htaccess should initially look like this: Code: RewriteEngine on # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. # RewriteBase /forum/ # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off. # Options -MultiViews RewriteCond %{HTTP_HOST} !^www\.imspot\.org RewriteRule (.*) http://www.imspot.org/$1 [L,R=301] #Forums: RewriteRule ^imspot-forum-news/index([0-9]+)\.html$ forumdisplay.php?235-IMSpot-Forum-News/page$1 [L] RewriteRule ^imspot-forum-news/$ forumdisplay.php?235-IMSpot-Forum-News [L] RewriteRule ^another-example/index([0-9]+)\.html$ forumdisplay.php?1-Another-Example/page$1 [L] RewriteRule ^another-example/$ forumdisplay.php?1-Another-Example [L] #Threads: RewriteRule ^[^/]+/([0-9]+)-.+-([0-9]+)\.html$ showthread.php?t=$1&page=$2 [L] RewriteRule ^[^/]+/([0-9]+)-.+\.html$ showthread.php?t=$1 [L]
Adding the R flag should fix that: RewriteRule ^imspot-forum-news/index([0-9]+)\.html$ forumdisplay.php?235-IMSpot-Forum-News/page$1 [L,R] RewriteRule ^imspot-forum-news/$ forumdisplay.php?235-IMSpot-Forum-News [L,R]