Jump to content

Recommended Posts

Posted

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!

  • Like 1
  • IPBW changed the title to Two Invision Community Blog file edits to help SEO
  • IPBW unpinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...