• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Help Me Complete All My Redirects

Brent W

Well-known member
Ok so long story short before becoming owner of this forum it changed domains and folder structure multiple times. We have three domains and a complete of directory changes involved. Our current redirect setup:

Original domain url for a thread: http://3.8mustang.com/forum/showthread.php?t=258266

Current redirect setup for the 3.8mustang.com domain (Apache):

RewriteCond %{HTTP_HOST} !^7mustang.com\.com$
RewriteRule ^(.*)$ http://3.7mustang.com/$1 [R=301,L]

Which sends that url to: http://3.7mustang.com/forum/showthread.php?t=258266

HOWEVER, when the move was made to 3.7mustang.com the directory structure changed to this: http://3.7mustang.com/vb/showthread.php?t=258266 <--- that redirects correctly right now

So I now need to do something to redirect http://3.7mustang.com/forum/showthread.php?t=258266 to http://3.7mustang.com/vb/showthread.php?t=258266 under nginx as the 3.7mustang.com domain is on a nginx web server.

What should my rewrite look like?

Brent W

Well-known member
So I figured this out. I had a ` where I should have had a ' in 301config.php. Had to be a text editor changing it cause I know I never use that. Now everything works perfect.