Url Forwading???

  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Novice
  • Novice
  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Posts: 16

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • harryhood
  • Graduate
  • Graduate
  • harryhood
  • Posts: 141

Post 3+ Months Ago

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
  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Posts: 16

Post 3+ Months Ago

Could you ellaborate a little further please, as i am quite new to this..
  • harryhood
  • Graduate
  • Graduate
  • harryhood
  • Posts: 141

Post 3+ Months Ago

(¯`·._.·[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
  • (¯`·._.·[LaZaRuS]·._.·´¯)
  • Posts: 16

Post 3+ Months Ago

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 33 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
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.