Help search engines discover your phpBB forums and topics
phpBB SEO Framework Lite includes an XML Sitemap system designed to help search engines discover public content on your phpBB community.
For most websites, setup is simple:
Enable the sitemap, make sure it opens correctly, and submit it to Google Search Console.
This guide explains the process step by step.
1. What Is an XML Sitemap?
An XML sitemap is a machine-readable list of URLs that you want search engines to discover.
For example, your phpBB community may contain:
The sitemap provides search engines with a structured way to discover these URLs.
Why is this useful?
On a small website, search engines may discover most pages simply by following links.
On a large forum with thousands or millions of pages, a sitemap provides an additional discovery path.
2. Enable the XML Sitemap
Open the phpBB Administration Control Panel and go to the phpBB SEO Framework sitemap settings.
Make sure the XML Sitemap feature is enabled.
Recommended:
3. Find Your Sitemap URL
For a phpBB installation at the domain root, the sitemap is normally available from your public board URL.
Example:
Code: Select all
https://example.com/sitemap.xmlFor example:
Code: Select all
https://example.com/forum/sitemap.xmlAlways use the public sitemap URL shown by your actual phpBB installation and SEO configuration.
4. Test the Sitemap Before Submitting It
Open the sitemap URL directly in your browser.
Example:
Code: Select all
https://example.com/sitemap.xmlYou should not receive:
If the sitemap opens correctly, you can continue with the next step.
5. What Does the Sitemap Contain?
The sitemap system exposes public URLs that are suitable for search engine discovery.
Depending on the site and Framework configuration, sitemap output can cover supported public phpBB resources such as forums and topics.
The URLs should use the same public canonical URL structure used by the Framework.
For example:
Code: Select all
https://example.com/forum/phpbb-support-5/Code: Select all
https://example.com/topic/how-to-install-phpbb-seo-123/Why is this important?
The URLs advertised through the sitemap should agree with the URLs that your website considers canonical.
6. What Is a Sitemap Index?
Large websites may need more than one sitemap.
Instead of putting every URL into one huge file, a sitemap index can reference multiple sitemap files.
Conceptually:
Code: Select all
sitemap.xml
βββ sitemap topics
βββ sitemap forums
βββ additional sitemap pagesYou normally do not need to manually create these files.
Let the Framework manage its sitemap structure.
7. Do I Need to Manually Add Every Topic?
No.
You should not manually add every new topic to an XML file.
The sitemap is generated from the public content available to the Framework.
As your community changes, the sitemap system can expose the relevant URLs automatically.
8. Add Your Website to Google Search Console
Before submitting the sitemap, your website must be available in Google Search Console.
Open Google Search Console and add your website as a property.
Google supports different property types.
For most site owners, a Domain property is a useful option when they can verify ownership through DNS.
Example:
Code: Select all
example.com9. Submit the Sitemap to Google
After your website has been verified:
Open your property in Google Search Console.
Go to:
Code: Select all
Indexing β SitemapsAdd a new sitemap
If Google already displays your domain before the input field, enter the sitemap path.
For a root installation this may simply be:
Code: Select all
sitemap.xmlSubmit
10. Example
Suppose your website is:
Code: Select all
https://www.example.com/Code: Select all
https://www.example.com/sitemap.xmlAfter submission, Google will attempt to fetch and process the sitemap.
11. What Does "Success" Mean?
After Google processes the sitemap, Search Console may report a successful sitemap fetch.
This means Google was able to retrieve and understand the sitemap.
Important:
A successful sitemap submission does not mean every URL will automatically be indexed.
A sitemap helps with URL discovery.
Google still decides which pages to crawl and index.
12. Sitemap Does Not Guarantee Indexing
This is one of the most important things to understand.
Submitting:
Code: Select all
sitemap.xmlCode: Select all
Every topic β Immediately indexedFor example:
The sitemap is a discovery mechanism, not an indexing guarantee.
13. New Website? Be Patient
If your domain or community is new, it may take time for search engines to crawl and evaluate the website.
Do not repeatedly change your SEO configuration because pages do not appear immediately.
First verify that:
Then allow search engines time to process the site.
14. Check an Individual Topic
Google Search Console also provides URL inspection tools.
For example, you can inspect a public topic URL:
Code: Select all
https://example.com/topic/example-topic-123/Tip:
Use the canonical SEO URL when inspecting an individual topic.
15. Sitemap URLs and Canonical URLs Should Agree
Suppose a topic has this canonical URL:
Code: Select all
https://example.com/topic/example-topic-123/Code: Select all
https://example.com/viewtopic.php?t=123This consistency helps reduce unnecessary duplicate URL variants.
16. Should Private Forums Appear in the Sitemap?
Content that is not publicly accessible should not be treated like normal public search content.
A sitemap intended for search engines should focus on URLs that search engines can actually access and that you intend to expose publicly.
Private community content should remain private.
17. What About Deleted Topics?
A deleted resource should not remain indefinitely advertised as an active sitemap URL.
The sitemap should represent the current public content available through the board.
This is another reason to let the Framework generate sitemap data rather than maintaining static URL lists manually.
18. Do I Need to Resubmit After Every New Topic?
No.
You do not need to manually submit the sitemap every time someone creates a topic.
Once Google knows the sitemap URL, it can revisit it over time.
Your sitemap URL remains the same while its contents can reflect changes to the community.
19. Do Not Create Multiple Duplicate Sitemaps
Avoid installing several SEO extensions that generate competing sitemap systems for the same content.
For example, you generally do not want multiple systems independently advertising different URL formats for the same topics.
Choose one consistent sitemap and canonical URL strategy.
20. Common Sitemap Problems
Problem: Sitemap returns 404
Check:
Problem: Google cannot fetch the sitemap
Check that the sitemap is publicly accessible without authentication.
Also verify HTTPS, redirects and server availability.
Problem: Sitemap contains unexpected URLs
Check your SEO and sitemap configuration and verify that the affected content is actually public.
Problem: Sitemap is successful but pages are not indexed
This does not automatically indicate a sitemap problem.
Use Search Console indexing information and inspect individual URLs.
21. Recommended Configuration
For most public phpBB communities:
22. Quick Setup Checklist
After installing phpBB SEO Framework Lite:
Step 1
Open:
Code: Select all
https://example.com/sitemap.xmlStep 2
Confirm that it loads successfully.
Step 3
Open Google Search Console.
Step 4
Verify ownership of your website.
Step 5
Go to:
Code: Select all
Indexing β SitemapsStep 6
Submit:
Code: Select all
sitemap.xmlStep 7
Wait for Google to process it.
Step 8
Later, monitor indexing and inspect important URLs when necessary.
23. Final Recommendation
Make sure it works.
Make sure it contains the correct public URLs.
Submit it once to Search Console.
Then focus on creating useful content and maintaining a healthy community.