Anyone know if there's an easy way to add the word "page" and the page number to the viewtopic and viewforum title tags so paginated pages are not all duplicates? I cannot use the title seo mod because of previous mods (not a programmer).
Open viewtopic.php Code (markup): Find // Output the page page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']); Code (markup): Replace with // Output the page page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title'] . ' - page ' . max(1,$start)); Code (markup): Open viewforum.php Code (markup): Find // Dump out the page header and load viewforum template page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']); Code (markup): Replace With // Dump out the page header and load viewforum template page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name'] . ' - page ' . max(1,$start)); Code (markup):
Holy crap that works! Thanks so much joebert. Only problem is it shows "page - 3" on page 2. Know how I can fix that? I checked it again and all pages are fine except it adds 1 extra to whatever the last page is. If there are 4 pages then page 4 ends up showing "page -5".