MesterPerfect
Active member
good morning
I'm trying to direct links from vBulletin3.7 to Xenforo using htaccess
Old links look like this
I want it to be like this
I wrote this code in htaccess file
	
	
	
		
But when you visit the old links, the conversion process is like this
Any tips are appreciated
				
			I'm trying to direct links from vBulletin3.7 to Xenforo using htaccess
Old links look like this
localhost/vb/t75853.htmlI want it to be like this
localhost/xf/threads/75853I wrote this code in htaccess file
		Code:
	
	    RewriteRule ^t(.*)-new-post.html$ threads/$1 [L,R=301]
    RewriteRule ^t(.*)-([0-9]+).html$ threads/$1/#post-$2 [L,R=301]
    RewriteRule ^t(.*).html$ threads/$1 [L,R=301]
    RewriteRule ^f([0-9]+).*$ forums/$1 [L,R=301]
    RewriteRule ^u(.*).*$ members/$1 [L,R=301]
    RewriteRule ^sitemap/t-(.*).html$ threads/$1 [L,R=301]
    RewriteRule ^sitemap/f-(.*).html$ forums/$1 [L,R=301]
    RewriteRule ^sitemap/f-([0-9]+).*$ forums/$1 [L,R=301]
    RewriteRule ^showthread.php?t=([0-9]+).*$ threads/$1 [L,R=301]
	But when you visit the old links, the conversion process is like this
localhost/C:\Xampp\htdocs/xf/threads/75853Any tips are appreciated