I just installed a new phpbb golf forum. The install was straight out of the box.

What steps should I follow next to get the board SEOed (search engine optimized) and ready for public consumption.

Are there any SEO hacks you could recommend or a step by step guide on optimizing the forum and the database?

Dani AI

Generated

Short, practical checklist to follow after a clean phpBB install — building on points from , , and but with up-to-date, actionable steps and safety notes. The items below focus on preventing crawl-duplication, making threads discoverable, and keeping the forum fast and stable so search engines can crawl it efficiently.

Keep URLs unique and tell search engines which version you prefer. Implement a canonical URL for each thread and avoid indexing duplicate or parameterized variants; use XML sitemaps and submit them to Search Console so Google learns the preferred URLs. Use structured data for forum threads (DiscussionForumPosting) if you want Google to understand threads and replies. (developers.google.com)

Prevent session IDs from appearing in links (they create duplicate URLs and leak session tokens). Disable transparent SID propagation and force cookie-only sessions in php.ini, for example:

session.use_only_cookies = 1
session.use_trans_sid = 0

This is safer and prevents crawlers from indexing session-bearing URLs. Also avoid outdated PHP caches like mmCache; use the modern opcode cache built into PHP (OPcache) and, where useful, a reverse-proxy or CDN for static assets to improve page load times. (php.net)

Database work helps performance (and therefore crawlability) but is not a direct SEO signal. Focus on: add indexes for columns used in WHERE/ORDER BY (forum_id, topic_id, post_time, poster_id), use EXPLAIN to validate query plans, run ANALYZE/OPTIMIZE on large tables, archive old/low-value threads, and pick InnoDB with a properly sized buffer pool for bigger sites. Faster pages = better crawl efficiency. (dev.mysql.com)

Quick rollout roadmap: (1) turn off trans-SID and enable OPcache; (2) enable friendly/rewritten URLs or an SEO extension and add rel=canonical + sitemap; (3) run DB checks (EXPLAIN + indexes) and schedule pruning/archiving. Apply changes on a staging copy first and monitor Search Console for indexing issues.

Recommended Answers

All 7 Replies

There is a search engine optimization MOD in phpBB.

Installing this hack is a bit tricky, but follow the instructions carefully. Among other things, it eliminates a lot of "page-drain", removal of session ids for guest and static URLs for forums and topics.

Follow this link, download the hack and install it.

Thanks for you post. Is there anything that needs to be done to the database for optimization?

There are millions of articles floating around the net on SEO. Mainly for communities, Google or MSN search for them :D.

Thanks for you post. Is there anything that needs to be done to the database for optimization?

There are some things you can do serverside to optimize - such as installing Turck mmCache to cache PHP scripts. But nothing that I know of to optimize the database or anything like that, that would have any influence on SEO. Just make sure to get rid of session IDs in URLs ... and if you can, try to use static html file extensions instead of URLs w/ query strings such as ? and &.

There are some things you can do serverside to optimize - such as installing Turck mmCache to cache PHP scripts. But nothing that I know of to optimize the database or anything like that, that would have any influence on SEO. Just make sure to get rid of session IDs in URLs ... and if you can, try to use static html file extensions instead of URLs w/ query strings such as ? and &.

The MOD I mentioned does all that SEO. I can tell you that I have been getting a few more hits from google searches now since I installed the SEO MOD on my phpBB installation. :)

Basic SEO to phpbb forums includes getting rid of the SID numbers in the links. For one google doesn't like them very much and they are just ugly!

I cannot overlook to advise some seo tips for phpBB :) Feel free to refer to these tips here http://www.gandalfdir.com/forums/bulletin5.html

1. SID removal
2. Index.php removal
3. Title optimization
4. Keywords optimization
5. SEO freindly urls

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.