Okay so here is my story. My images on VBulletin are not working with my re-direct. I used to have .net domain but I managed to grab the .com. So I have both domains running on the same server but want to redirect all .net stuff to the .com version. I used the following Options +FollowSymLinks RewriteEngine on # RewriteCond %{HTTP_host} !^www\.myforums\.com RewriteRule (.*) http://www.myforums.com/$1 [R=301,L] And it worked perfectly except for the images in vbulletin (new posts images, etc.) arent showing up? Any tips?
If you load the image directly, like go to http://www.myforums.com/images/someimage.gif does it give a 404 or does it just fail to load? You could take a closer look by telnet'ing to port 80 on your server and typing in: GET /images/someimage.gif HTTP/1.1 Host: www.myforums.com (press enter twice after the last line) This should tell you if it's 301'ing to somewhere else or what it's trying to do