Redirecting / to /forum - help!

Reejoc

New member
Joined
Oct 18, 2005
Messages
4
Hi,

I have phpbb setup in /forum

I want all visitors to my site to be automatically redirected to /forum

At the moment I'm successfully using a index.php to do this:

<html>
<head>
<META HTTP-EQUIV="REFRESH"
CONTENT="0;URL=http://www.domain.com/forum/index.php?f=1"/>
</head>
</html>

However I don't think search engines are following this redirect and so my page isn't being indexed.

I tried to use the Directadmin redirect feature instead:
Local URL Path /
Destination URL http://www.domain.com/forum

This didn't work.

Can anyone think of a way of accomplishing this, so that google etc will index my site?

Thanks
 
I don't understand what I should do with "ln -s forum/index.php index.html"

??
 
At the user level, where CLI access to ln is scarce, you can try two different things. One method to try is to add to .htaccess file in .../public_html/ the following: REDIRECT / <full URI to forum>

where <full URI to forum> is the http://..... which could even be offsite.

The other method is to use the Redirect option on DA menus, with the same two fields as above.
 
Last edited:
Maynard said:
At the user level, where CLI access to ln is scarce, you can try two different things. One method to try is to add to .htaccess file in .../public_html/ the following: REDIRECT / <full URI to forum>

where <full URI to forum> is the http://..... which could even be offsite.

The other method is to use the Redirect option on DA menus, with the same two fields as above.
Thanks, but neither of these methods worked for some reason.

I think the only option will be to have an entry page :mad:
 
Simply edit your original index.html and provide a link to the searchengines to follow. This way both you and the searchengines are happy :)

Code:
<html> 
<head> 
<META HTTP-EQUIV="REFRESH" 
CONTENT="0;URL=http://www.domain.com/forum/index.php?f=1"/>
</head>
<body>
    If your browser does not redirect you automatically click <A HREF="http://www.domain.com/forum/index.php?f=1">here to go to our forum</a>
</body> 
</html>

As the refresh time is set to 0 nobody with recent browsers will see the text and link and people using antiquated browsers will also be able to find your forum. Most important searchengines will start indexing your forum because there is not a link to it from your main page.

Regards,
 
Back
Top