PDA

View Full Version : After remove Vbseo


Pleasures
07-07-2015, 05:45 AM
Hello

After remove vbseo, in my .html links do not work as such. I add the following code to the .htaccess file for it. but /theads/, /members/ are still not working. A few said that the failure of that business .htaccess redirect the links in the right direction with the 301, but I have to make all the issues one by one. How do I have to enter a code to .htaccess for it?

RewriteEngine on
RewriteRule [^ /] + / ([0-9] +) - [^ /] + \. html http://www.siteadresi.com/forum/showthread.php?t=$1 [L, R = 301]

--------------- Added 1436256081 at 1436256081 ---------------

For example

Old vbseo link http://www.sitename.com/washington/
New http://www.sitename.com/forums/99-Washington

How can I direct this and similar issues with .htaccess?

Skyrider
07-07-2015, 08:15 AM
Not sure if you've done the spacings on your rewrite rule on purpose, but:

http://www.unix.com/web-programming/238951-removing-vbseo-vbulletin-reverting-back-vbulletin-urls.html

After uninstallation you can also redirect your indexed content to original vBulletin urls. Please carefully check the rewrite rules and use the one that fits your current url structure.

RewriteEngine on
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]


If you have your thread rewrite rules set as forum-name/threadname-threadid.html use the following .htaccess

RewriteEngine on
RewriteRule [^/]+/[^/]+-([0-9]+)\.html http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]


If you have your thread rewrite rules set as forum-name/threadname-threadid/ use the following .htaccess


RewriteEngine on
RewriteRule [^/]+/[^/]+-([0-9]+)/ http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]


This however will not work if you are using nginx. Only works with apache.

Pleasures
07-07-2015, 08:43 AM
I got it. But my problem is /forums/

Old vbseo link http://www.sitename.com/washington/

New http://www.sitename.com/forums/99-Washington

fxdigi-cash
07-08-2015, 01:49 AM
it is simple, you have your rewrite url like this:

RewriteEngine on
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]

all you need is to remove forums like this:

RewriteEngine on
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.domain.com/showthread.php?t=$1 [L,R=301]

Pleasures
07-08-2015, 07:22 AM
I sent pm with real links
Thank you for your help

YukseLL
11-28-2017, 11:37 AM
Remove vBSEO ,

site url structure

www.yoursite.com/forum764/thread76107.html


htacces referral code please