sebo, the link was in the quote (see arrow up), but I'll just re-quote HB's code again. Select All his code and paste it into your overall_header.html, in the row after </title>, around row 18.
The phpBB code generates A LOT of URLs that are duplicates. For example, Google will traverse every link on a page including the viewtopic.php?p=XXX for every post, but it's the same content, viewtopic.php?t=YYY. The base phpBB code tells search engines all these URL variants are the same content with the canonical metatag in overall_header.html:
...
Google is indicating that it found the canonical tag and it's using that as "thee" URL. So Google isn't ignoring these URLs, it's indicating they are duplicates of other URLs.We are most concerned about that top category "Alternate page with proper canonical tag" with the large number of pages that are seemingly being ignored by Google.
The phpBB code generates A LOT of URLs that are duplicates. For example, Google will traverse every link on a page including the viewtopic.php?p=XXX for every post, but it's the same content, viewtopic.php?t=YYY. The base phpBB code tells search engines all these URL variants are the same content with the canonical metatag in overall_header.html:
Code:
<!-- IF U_CANONICAL --><link rel="canonical" href="{U_CANONICAL}"><!-- ENDIF -->
Statistics: Posted by SQLnovice — Wed Mar 27, 2024 4:31 am