Exploding Garrmondo Weiner Interactive Swiss Army Penis

Exploding Garrmondo Weiner Interactive Swiss Army Penis (http://www.gamingforce.org/forums/index.php)
-   Help Desk (http://www.gamingforce.org/forums/forumdisplay.php?f=36)
-   -   .htaccess help (http://www.gamingforce.org/forums/showthread.php?t=11662)

Roph Sep 3, 2006 09:17 AM

.htaccess help
 
So if I'm thinking correctly, what I'm trying to do should be accomplishable with a mod_rewrite in a .htaccess file.

There's a forum that I'm involved in that recently moved domains, though there's still alot of URLs all over the place (and on other sites) that still link to the old domain (which will no longer work).

So for example a topic that used to be at http://example-1.com/forum/index.php?topic=67.0 will now be at http://some-new-domain.com/index.php?topic=67.0.

would I be able to use a .htaccess file that redirects any request on the original domain over to the respective place at the new adress?

I'll take their request for example-1.com/forum/<*value> and send them to some-new-domain.com/<*value>

Sorry if my explanation of what I'm after sucks. I've done some menial searching for a guide or something but come up dry so far :(

Rock Sep 3, 2006 02:56 PM

Since I'm also in the process of getting accustomed to Apache's mod_rewrite, I'll gladly share this excellent tutorial with you. It helped me a lot.

Arainach Sep 3, 2006 10:03 PM

If the server was UNIX-based, a simple "ln -s ./ forum" ran in the base directory of the site would do the trick.


All times are GMT -5. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.