Redirection Question

Termy

New Member
Hi guys... I am wondering if this is possible and how ?

What I am trying to do is be able to use say alink like this - mysite.com and have it redirected to my forum that is - mysite.com/forum.

Basically what I am trying to say is that if someone types mysite.com OR mysite,com/forum they both take me to the forum.

Hope you understand what I mean... and if this is possible then please shed some light on this for me, lol.

Many thanks... Termy.
 
Normally, you would set this as a condition in your .htaccess file...

To fulfill your request, you might want to consider:


PHP:
RewriteRule ^(.*)$ http://www.mysite.com/forum/$1 [R=301,L]


I think this will work but you might have to tweak it mod_rewrite doesn't always work intuitively from my experience but this should work...
 
Hi, and sorry for my late reply... I had actually forgotten all about this, lol.

Sorry for my dumb question, but where about is the htaccess file would thos go... does it matter ??

And no, I dont have any portal or anything like that installed either Chief-Editor.

Many thanks... Termy.
 
Back
Top