[answered] Can this be done to phpBB?

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
User avatar
cdkrg
Registered User
Posts: 706
Joined: Fri Jul 12, 2002 12:35 pm
Contact:

[answered] Can this be done to phpBB?

Post by cdkrg »

http://www.phpwizard.net/resources/tuto ... gines.html

This is important to me and I would like to know if it can be done with phpBB.
Last edited by cdkrg on Wed Aug 07, 2002 9:15 pm, edited 1 time in total.
Thoul
Registered User
Posts: 810
Joined: Sun Jun 23, 2002 1:25 am
Location: USA
Contact:

Post by Thoul »

The second paragraph under "Fooling robots" could be done if your webhost allows you to use .htaccess files. I use the same sort of trick on several of my non-phpBB pages, and I'm fairly sure I could modify that approach for phpBB with a bit of work.
radmanics
Registered User
Posts: 307
Joined: Sat Mar 30, 2002 3:29 pm
Location: England
Contact:

Post by radmanics »

just went and there site was messed up :P

care to tell us what you want to do?

(and i mean really messed up, vars n everything, front page only :P
User avatar
cdkrg
Registered User
Posts: 706
Joined: Fri Jul 12, 2002 12:35 pm
Contact:

Post by cdkrg »

radmanics wrote: just went and there site was messed up :P

care to tell us what you want to do?

(and i mean really messed up, vars n everything, front page only :P


I'd like to make the phpbb pages more readily indexable by search engines.

Since we all use a free forum I'd reckon that most of us place a moderate to great deal of importance on search engine indexing.

I intend to have some valuable content on my boards and would certainly like to have them indexed.

I don't cog to hta yet but a simple workaround might be to have a script compile a simple list of the topic links stripped of the session mumble jumbo.

You could put an invisible link to this page, and have search engines index it.

Can anyone make that mod?

E.G:

Just set it to make a stripped link for every post. I could just create a list of a couple thousand links but spiders frown on dead links. So what I'd like to see is a mod that simply increments this link format in accord with the total number of topics that have been posted:


http://www.phpbb.com/phpBB/viewtopic.php?t=1

Next would be:

http://www.phpbb.com/phpBB/viewtopic.php?t=2

Then

http://www.phpbb.com/phpBB/viewtopic.php?t=3

And so on. From what I've seen that Google has indexed of varied phpbb forums I don't think the single "?" will be to much of a hassle. And I noticed that most of the phpbb topics that have been indexed are ones that have been linked to extensively with the session numbers stripped.
radmanics
Registered User
Posts: 307
Joined: Sat Mar 30, 2002 3:29 pm
Location: England
Contact:

Post by radmanics »

hmm, maybe if you use this

Code: Select all

$current_url = sprintf("%s%s%s","http://",$HTTP_HOST,$REQUEST_URI);
and then add it into a link like so:

Code: Select all

<a href="<?php echo $current_url; ?>"></a>
and put it at the top of viewtopic.php, that might work :P
User avatar
cdkrg
Registered User
Posts: 706
Joined: Fri Jul 12, 2002 12:35 pm
Contact:

Post by cdkrg »

Am I right to assume that that prints the current url to the screen?

And if so, would that work better in the overall header?
radmanics
Registered User
Posts: 307
Joined: Sat Mar 30, 2002 3:29 pm
Location: England
Contact:

Post by radmanics »

yea, its the current url, so i guess i would work fine in overall header :P
User avatar
cdkrg
Registered User
Posts: 706
Joined: Fri Jul 12, 2002 12:35 pm
Contact:

Post by cdkrg »

Thank you very much. I'll use this as well as other workarounds.
User avatar
cdkrg
Registered User
Posts: 706
Joined: Fri Jul 12, 2002 12:35 pm
Contact:

Post by cdkrg »

This has been answered on another thread: http://www.phpbb.com/phpBB/viewtopic.php?t=32328

I'll now mark this thread as answered.
Post Reply

Return to “[2.0.x] MOD Requests”