phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
How to construct nice URL's for PHP BB SEO?

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
abaird



Joined: 02 Dec 2008
Posts: 3

How to construct nice URL's for PHP BB SEO?Posted: Tue Dec 02, 2008 6:55 pm    Post subject: How to construct nice URL's for PHP BB SEO?

I have a website that I've integrated with a phpbbseo premod. It works great, and I love the URL's.

One of the features of this website is it offers a "preview" of forum topics on the front page. Previously, this was very easy to do because I could just pull the thread id out of the phpbb mysql database and manually construct an (ugly) URL using viewtopic.php?t=[topic_id]. This works with the phpbbseo premod fine, but I don't get to take advantage of the awesome URL's that phpbbseo gives me.

Google does a great job of indexing my front page, and I'm afraid it's not following those links as well as it should.

I'd like to format the links on my front page with nice URL's that phpbbseo but I can't figure out how to do it. I went through a few source files to try to find something but I'm not sure what, if any of the phpbb seo functions I should be using. They all looks pretty internal to the class itself, so I'm a little reluctant to use any of them.

Does anyone know of a way I could do this?
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 4551

How to construct nice URL's for PHP BB SEO?Posted: Wed Dec 03, 2008 8:38 am    Post subject: Re: How to construct nice URL's for PHP BB SEO?

It depends on if your external page shares phpBB script or not.

Could you tell us a bit more on how do you do it currently ?

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
abaird



Joined: 02 Dec 2008
Posts: 3

How to construct nice URL's for PHP BB SEO?Posted: Wed Dec 03, 2008 6:57 pm    Post subject: Re: How to construct nice URL's for PHP BB SEO?

Yes, it does share phpBB script.

The external page includes phpbb's common.php functions by default (but I could expand this easily).

Anyone visiting the page has a phpbb session, even if it's anonymous.

Right now I just do a query on the phpbb_posts and phpbb_topics table for the topic id/post id and subject. I display that on the front page and hard code in the URL to viewtopic.php with the correct post id and topic id.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

How to construct nice URL's for PHP BB SEO?Posted: Sat Dec 06, 2008 10:41 am    Post subject: Re: How to construct nice URL's for PHP BB SEO?

This post should give an answer :
http://www.phpbb-seo.com/boards/phpbb3-mod-rewrite/discussions-vt3610.html

Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
abaird



Joined: 02 Dec 2008
Posts: 3

How to construct nice URL's for PHP BB SEO?Posted: Sat Dec 06, 2008 11:09 am    Post subject: Re: How to construct nice URL's for PHP BB SEO?

Wow, super easy, and PERFECT! Thank you so much!!

Already implemented and working great Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: