Url Forwading???

  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Novice
  • Novice
  • No Avatar
  • Joined: May 27, 2004
  • Posts: 16
  • Status: Offline

Post September 12th, 2004, 8:28 am

Hi,

I know this may be fricking tool-ish yet...

I have a domain. http://www.such-as-such.com yet i only have a forum upto now, and I want to point my users to my forum, which is http://www.such-as-such.com/forum/phpbb2...

I aint sure how to do this, is this web hosting side or what???
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 12th, 2004, 8:28 am

  • harryhood
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 15, 2004
  • Posts: 141
  • Status: Offline

Post September 12th, 2004, 9:06 am

One way to do this would be to add the following line to the .htaccess file in your root web directory:

Redirect 301 / http://www.such-as-such.com/forum/phpbb2...
  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Novice
  • Novice
  • No Avatar
  • Joined: May 27, 2004
  • Posts: 16
  • Status: Offline

Post September 12th, 2004, 9:41 am

Could you ellaborate a little further please, as i am quite new to this..
  • harryhood
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 15, 2004
  • Posts: 141
  • Status: Offline

Post September 12th, 2004, 9:56 am

(¯`·._.·[LaZaRuS]·._.·´¯) wrote:
Could you ellaborate a little further please, as i am quite new to this..


Sure, sorry about that.

In your web directory edit, or create if not already present, the file named .htaccess. Add the line

Code: [ Select ]
Redirect 301 / www.such-as-such.com/forum/phpbb2...


This will create a permanent redirect from http://www.such-as-such.com (or /) to http://www.such-as-such.com/forum/phpbb2...

When someone accesses http://www.such-as-such.com they will be redirected or sent to http://www.such-as-such.com/forum/phpbb2....

Here is a link I found on google regarding using .htaccess and reditects.

http://wsabstract.com/howto/htaccess7.shtml
  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Novice
  • Novice
  • No Avatar
  • Joined: May 27, 2004
  • Posts: 16
  • Status: Offline

Post September 12th, 2004, 10:01 am

Hey man, you are a true gent to every meaning of the word...

May you live long and be good...

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 40 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.