February 20, 201016 yr I'm trying to redirect a directory to the main index (which is in a sub dir already). I have tried a few different things but nothing has worked. Like I said I don't want to use my domain, in the script. I have tried using the html ../ but that doesn't work. I guess if I have to, I can just use an html/php script and do it that way, but I would like to use .htaccess instead. Any ideas?ExampleRedirect 301 /tuts/ ../
March 11, 201016 yr elaborate a tad bit more about what you wanna do. i currently have several vb forums running 3.8.0 so we are in the same boat if your talking about aftershockforums.com
March 12, 201016 yr ...Like I said I don't want to use my domain, in the script.I think you will need to use the full absolute URL (with the domain) if you are doing a Redirect, since the new address is returned to the browser for it to retry. However, if you have mod_rewrite then I think you can use path parts with the RewriteRule (ie. what looks like relative paths, but not "../") in your substitution.
Create an account or sign in to comment