kontrabass
Well-known member
Can someone help me finish out my vbulletin 3.x -> xenforo redirects? In my httpd.conf I have the following which work great for all threads posts and users.
There are just a few URL's that I'd like to redirect one-by-one but I can't seem to get the syntax correct in my httpd.conf. Specifically these that are top in our search results:
http://www.talkbass.com/forum -redirected to-> http://www.talkbass.com/forums/
http://www.talkbass.com/forum/f45/ -redirected to-> http://www.talkbass.com/categories/bass-guitar.45/
http://www.talkbass.com/forum/f44/ -redirected to-> http://www.talkbass.com/categories/double-bass.245/
Thanks!!!!
Code:
RewriteRule ^f[0-9]+/.+-([0-9]+)/$ /threads/$1/ [R=301,L]
RewriteRule ^f([0-9]+)/$ /forums/$1/ [R=301,L]
RewriteCond %{QUERY_STRING} (^|\?)u=([0-9]+)$
RewriteRule ^member\.php$ /members/%2/? [R=301,L]
There are just a few URL's that I'd like to redirect one-by-one but I can't seem to get the syntax correct in my httpd.conf. Specifically these that are top in our search results:
http://www.talkbass.com/forum -redirected to-> http://www.talkbass.com/forums/
http://www.talkbass.com/forum/f45/ -redirected to-> http://www.talkbass.com/categories/bass-guitar.45/
http://www.talkbass.com/forum/f44/ -redirected to-> http://www.talkbass.com/categories/double-bass.245/
Thanks!!!!
Last edited: