1

Topic: Google and forum/index.php

Hello,
I've run a PunBB forum for 1 year and it has Google PR3 when you call the domain as http://forum.forexsb.com
but when you press "Index" menu it calls http://forum.forexsb.com/index.php
In the PR tool bar I have a gray line in this case.

Seems Google does not make connection between both addresses.

Has this got a negative result on my forum PR.

I tried to redirect index.php by means of the .htaccess:

Redirect 301 /index.php http://forum.forexsb.com/

but received an error:  "Bad redirection"

What can I do? (If it's necessary)

Thanks!

I'm using PunBB at Forex Forum since 2006.

Re: Google and forum/index.php

I think it's easier to just modify profile.php to have the link not go to index.php wink

3

Re: Google and forum/index.php

Cannot find exactly how to make it,
Can you explain further?

I'm using PunBB at Forex Forum since 2006.

Re: Google and forum/index.php

http://forums.digitalpoint.com/showthread.php?t=48460

Just use Google and you find lots of references to how to redirect index files wink

5

Re: Google and forum/index.php

Why doesn't this run:
Redirect 301 /index.php http://forum.forexsb.com/

I'm using PunBB at Forex Forum since 2006.

Re: Google and forum/index.php

i clicked on the index link inside ur forum and everything works. did u fix the link?

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

7

Re: Google and forum/index.php

It works but the problem is that the Google does not index /index.php.
I want to redirect the link to ...forum.forexsb.com instead to index.php in order to increase the PR of the domain.

I'm using PunBB at Forex Forum since 2006.

8

Re: Google and forum/index.php

I've tried with this:

RewriteEngine on
RewriteBase /
RewriteRule ^index\.(htm|html|php) http://forum.forexsb.com/ [R=301,L]

But it also does not work:

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
*   This problem can sometimes be caused by disabling or refusing to accept cookies.

I'm using PunBB at Forex Forum since 2006.

Re: Google and forum/index.php

That's because forum.forexsb.com redirects to index.php and index.php in return redirects to forum.forexsb.com. It's an infinite loop.

Try my suggestion:

Open include/functions.php
Find:

$links[] = '<li id="navindex"><a href="index.php">'.$lang_common['Index'].'</a>';

Replace with:

$links[] = '<li id="navindex"><a href="/">'.$lang_common['Index'].'</a>';

10

Re: Google and forum/index.php

Thanks a lot  elbekko!
That is what I wonted.

In addition I renamed  the menu item "Index" to "Forex Forum" into the lang/English/common.php to be more meaningful to my forum.

Thanks again.

I'm using PunBB at Forex Forum since 2006.

Re: Google and forum/index.php

Same here smile.
But as my forum is located in website-url/forum, when I used:

 $links[] = '<li id="navindex"><a href="/">'.$lang_common['Index'].'</a>';

The index button sent me to the website-url. I then replaced the <a href="/"> part by <a href="/forum/"> but index still redirected me to website-url/forum/index.php
How do I fix that?
Thanks a bunch.

If you do what you've always done, you'll get what you've always gotten.

Re: Google and forum/index.php

Works fine for me.

Re: Google and forum/index.php

Ah, sorry smile. I checked too fast maybe, now it seems to work okay for me too. But with the /forum/ modification.
Thanks smile.

If you do what you've always done, you'll get what you've always gotten.