PHPbb is good, only two places are not satisfied, one is the title display mode, and the other is static support . This is the most basic function, but after I built it, it took a lot of time to finish the modification of title title and Jing Tai.
is the first to record the modification of the title title:
different template paths are different, but approximately
styles/prosilver/template/overall_header.html
to find the code under the
open style file:
> = SITENAME} • disabilities;! •.Lt;! - ELSEIF S_IN_UCP -.Gt; {L_UCP} /.Lt;! - ENDIF –.Gt; {PAGE_TITLE}
replace the code:
.lt;! After.
open viewtopic.php
find the code:
page_header ($user-.gt; lang['VIEW_TOPIC']. "– '$topic_data['topic_title']);
replace the following code:
page_header ($topic_data['topic_title']); Iewforum.php
find the code:
page_header ($user-.gt; lang['VIEW_FORUM']. '-'. $forum_data['forum_name']);
replace the code:
page_header ($forum_data['forum_name']);
to go away "to see the page -" another problem is the home mark. " The first page of the question will have two words on the front page, the solution is:
in index.php,
page_header ($user-.gt; lang['INDEX']); $user-.gt in the $user-.gt; lang['INDEX'] in the INDEX modified into another, of course, can be deleted, but the front will leave a circular point or -, then go to the template folder to find o. Verall_header.html, find.Amp in title; remove bull. Finally, don't forget to update the template cache.
about static, you can refer to phpBB SEO Premod plug-in.
phpbb SEO premod provides three levels of URL Rewrite rewriting solutions:
Simple phpBB3 SEO mod / > this way, more suitable for non Latino forums. For example, the Chinese environment.
its static example:
original URL: viewtopic.php? F=xx.amp; t=yy
URL Rewrite:
topicyy.html (by), which are suitable for Latin language forums, such as the English environment. Its static example:
original URL: viewtopic.php? F=xx.amp; t=yy
URL Rewrite:
topicyy.html (by default)
any-keywords-fxx/topic-title-tyy.html (optional)
any-keywords/topic-title-tyy.html (optional) / > I enabled the mode. After successful implementation, it generates the RewriteRule rule of.Htaccess. Copy it and upload it to the root directory of the forum.
, in addition, it also provides a Google Sitemap generation solution. It is important to note that its Google Sitemap scheme only guarantees the database environment that supports php mysql, and developers have no environmental tests for PostgreSQL or other databases. So he didn't integrate this function directly into PHPBB SEO. You need to manually run gym_sitemaps/gym_install.php to install it.