All post links to file.

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators

All post links to file.

Postby goorn » Sun Dec 23, 2012 6:51 pm

Hi,
I'm looking for a way to save all the links to the posts on the forum and save them in a file on the server. Important, but the links to those posts have SEO friendly links. I need to base these are random topics on the forum.


(Google Translate Use)
goorn
 
Posts: 11
Joined: Fri Jan 18, 2008 11:24 pm

Advertisement

Re: All post links to file.

Postby HB » Sun Dec 23, 2012 11:32 pm

You could search and parse the post_text column from the phpbb3_posts table looking for "<!-- m -->" (without quotes). I believe links are stored surrounded by "<!-- m -->" markers.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1515
Joined: Mon Oct 16, 2006 2:25 am

Re: All post links to file.

Postby goorn » Mon Dec 24, 2012 8:07 am

I think you dont understand me. I want all links to all the posts on the forum generated to a txt file.

example:

site.com/post_1.html
site.com/post_2.html
(...)
site.com/post_10000.html
goorn
 
Posts: 11
Joined: Fri Jan 18, 2008 11:24 pm

Re: All post links to file.

Postby HB » Wed Jan 09, 2013 5:47 pm

I did understand you, but I did not provide you a coded solution. I gave you a hint on how you might write one yourself. Links in posts are "marked" in the database as I described earlier, so you could write a SQL statement to find them in the posts table and generate your file of links. It would be on the order of 10-20 lines of code (and sorry, I'm not volunteering to write them for you :)).
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1515
Joined: Mon Oct 16, 2006 2:25 am


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests