PDA

View Full Version : Question about forum directory


Chris11987
11-26-2008, 07:09 PM
I currently have my forums in a /forums/ directory. If I wanted to move them all to my root directory, would I be able to make a "forums" folder, and stick a copy of the index in it, so people could do mysite.com/forums, and be directed to the main forums index, while still having all links stay as "mysite.com/thread.php", "mysite.com/member.php", etc? So keep the entire site's files and settings in root, but keep a /forums/index.php copy for when people type in /forums.

firstimecaller
11-26-2008, 07:27 PM
see if you have mod_rewrite enabled (you probably do) and drop a rule in .htaccess (with a 301 response) to rewrite all your old requests to your new installation in root. You can Google your way to that solution pretty easily. unless there is a better way...