Posted November 26, 200915 yr Slowly but surely, I am discovering some files and template changes to help with SEO on IPB. One trick many of us former vBulletin admins used was to remove the forum name from the forum display and show thread templates. And this can also be accomplished for IPB, only it will require you to edit a couple of PHP files, instead. The first file you will want to edit is /admin/applications/forums/modules_public/forums/forums.php Find the following - $this->registry->getClass('output')->setTitle( $this->settings['board_name'] . ' -> ' . $this->forum['name'] ); Change it to - $this->registry->getClass('output')->setTitle( $this->forum['name'] ); The second change is an edit to /admin/applications/modules_public/forums/topics.php Find the following - $this->registry->output->setTitle( $this->topic['title'] . ' - ' . $this->settings['board_name']); Change it to - $this->registry->output->setTitle( $this->topic['title'] ); These two edits will eliminate your board name from those two pages, displaying just the forum title and thread titles. Enjoy!
November 30, 200915 yr oh thanks for the forum one, I missed it earlier :) I just got home and tried this edit on the first file. /admin/applications/forums/modules_public/forums/forums.php It doesn't look like it removed the site name from the title tag..?
December 1, 200915 yr Are you sure you edited the right file? It works on all of my sites. I'm pretty sure I did, I'll check again tonight after work. I may of edited the files on the ipbhelp ftp account by mistake :P
December 2, 200915 yr I see you got it working and that's all that really matters! ;) yup, thanks again. I think I had edited the files on the old ipbhelp FTP the first time :P
December 3, 200915 yr Author yup, thanks again. I think I had edited the files on the old ipbhelp FTP the first time No need to thank me, I'm just happy you got it working. As for editing the wrong files, I thought I was the only one that did those kinds of things. ;)
December 3, 200915 yr For those of you out there using the Unreal Portal add in, you probably want to remove "Unreal Portal" from the page title. To do this, edit /admin/applications_addon/other/uportal/modules_public/uportal/uportal.php Find the line: $this->registry->output->setTitle( "{$this->settings['board_name']} - {$this->lang->words['page_title']}" ); and change it to: $this->registry->output->setTitle( "{$this->settings['board_name']}" );
January 7, 201015 yr I have two more pages I'd like to remove the forum name from they are in the blog http://ipbwebmaster.com/blog/4-ips-blog-feed/ and http://ipbwebmaster.com/blog/4/entry-40-ipb-31-search-engine-optimization/ are examples :) also looking for suggestions to optimize the title tag in the gallery, it doesn't seem to change at all ATM :o
January 13, 201015 yr Can u explain how can it help ipbseo Hello, The reason some of us vBulletin guys have done it on our old forums is that it will help with your long tail keyword phrases.
June 16, 201014 yr Author For those using these file edits, you will need a slightly different edit for Invision Community Forum 3.1.1. The new file edit is in /admin/applications/forums/modules_public/forums/forums.php Look for this line - $this->registry->getClass('output')->setTitle( strip_tags($this->forum['name']) . ' - ' . ipsRegistry::$settings['board_name'] ); And change it to - $this->registry->getClass('output')->setTitle( strip_tags($this->forum['name'])); Again, this is for Invision Community Forum 3.1.1 only. The edits in the original post will work for all previous versions.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.