Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Put PHP together

@56alifar

Blocked

For everybody’s information, this puts pagination in the title thats good for SEO.

For example:

If you change the following:

<title><?php bb_title() ?></title>

To:

<title><?php bb_title() ?><?php if ($page>1 && (is_front() || is_topic() || is_forum())) echo ” – page $page”; ?></title>

in your header.php file of your theme folder.

Now every page has a unique title because the pagination has added in the title.

Example:

http://www.jahw.nl/forums/page/4

http://www.jahw.nl/forums/topic/favoriete-alcoholisch-drankje/page/3

This is really good for your SEO and will avoid duplicated topic titles.

Skip to toolbar