Mike Posted January 25, 2010 Posted January 25, 2010 As I keep looking around within IPB, I keep finding more ways to help improve SEO. In THIS THREAD I outlined a way to edit two Invision Community Forum files to remove the forum name from the page title. Now let's move on and edit two files to accomplish the same with Invision Community Blog. If you make these two simple edits, it will prevent the forum name from being included on your blog page and on your blog entry pages. This will give more weight to your blog name and to your blog entries. The first file to edit is /admin/applications_addon/ips/blog/modules_public/display/entry.php The line you are looking for is in the block identified as - //----------------------------------------- // Page title and navigation //----------------------------------------- Find the following line - Quote $this->page_title = $this->settings['board_name'] . " -> " . $entry['entry_name']; Change it to - Quote $this->page_title = $entry['entry_name']; That will remove the forum name from the title of each blog entry page. Next, you want to edit /admin/applications_addon/ips/blog/modules_public/display/blog.php In the block identified as //----------------------------------------- // Navigation bar + page title //----------------------------------------- Find the following line - Quote $this->page_title = $this->settings['board_name']." -> ".$this->blog['blog_name']; Change it to - Quote $this->page_title = $this->blog['blog_name']; That will remove the forum name from the title of each blog page. I hope you will be able to use these two edits to help optimize your sites! 1 Quote
Brandon Posted January 25, 2010 Posted January 25, 2010 thanks Mike I'll make these edits as soon as I get a few seconds Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.