You are here: SEO Simple Machines Forum. Create web pages of all your forum posts. « All PHP « IT news, forums, messages
SEO Simple Machines Forum. Create web pages of all your forum posts.

Posted by Gary on 11/17/05 14:00

Hi all

I've written some php code that does the following to run on my own
site at: http://www.menkaura.com/Forum/index.php

The code canbe downloaded directly at:
http://www.menkaura.com/Forum/index.php?topic=212.0

1. Reads all the topics in the SMF database.
2. Create an 'htm' file of the topic in a directory called '/SEO/'
just off your root directory.
3. Insert into this htm file your keywords generated from the topic
title. Words contained in a bad_words table will be excluded from
the keywords that appear in the title.
4. Create a MySiteMap.htm file with all the topic links. Link this
file in your own site index.htm file and let Google do the rest.
5. First change some of the variable values to reflect your particular
setup.
6. I suggest that you run this script as a cron job as appropriate.

I make no claims of being a coder or indeed to have any great insight
into the in's and out's of SMF so be gentle a lads and lady's ....

The code should at least make all of your posts available for Google
indexing. Let me know how you get on what you think.

Regards, Gary

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация