Jump to content






- - - - -

IP.Board 3: Friendly URL Enhancements

Posted by Matt, 13 January 2009 · 2,305 views

IPBoard
Since we unveiled the new friendly url feature on our preview board, we have received a lot of feedback on how it could be improved with regards to maintaining good search engine optimization (SEO). Every feature we add has to be weighed against the impact to efficiency and memory usage. We understand that not every customer has the luxury of a dedicated server. We want to ensure the very best experience for a wide variety of hosting environments.

However, in this case we felt we could make some improvements to the friendly url feature without compromising efficiency. The new settings can add some small overhead, but we felt that those who wanted the very best optimized content would accept that.

Meta Tags
I have added a way to add meta tags to the final content through:

CODE
$this->registry->output->addMetaTag( 'name', 'content' );


This is used internally to add a meta tag for 'indentifier-url' and 'description'. The description is the first post of a topic; a forum description or the user's "About Me" information using the signature if no "About Me" information is present. You can use this interface in your own code to add more tags if desired.

Robots.txt
A primary concern for those interested in SEO is duplicate content. There are many ways to access a single topic due to the different variables that are used; pagination and search strings are a few examples. To help limit the duplicate pages indexed, IP.Board now ships with an example "robots.txt" file for you to edit and upload to your root directory.

Redirecting 'old style' links
Another concern was that the old style links, for example: index.php?showtopic=10, are still able to access pages. This is necessary so that you do not lose bookmarks or traffic from currently indexed links. You can now choose to redirect with an optional "301 Moved Permanently" header to the new link format. This is transparent to the end user but will help search engines locate the correct copy of your content.

Incorrect Permalink Handling
The new friendly URLs are often based on user generated content. For example, a topic called "My Great Topic" will have the permalink "/topic/10/my-great-topic/". Now, when this topic title is edited, the permalink will change too. For this reason IP.Board allowed access to the topic as long as the topic ID was present, so all of the following links resulted in the same topic being shown:

/topic/10/my-great-topic/
/topic/10/my-edited-topic-title/
/topic/10/
/topic/10/i-just-made-this-up/

The downside to this is that some may consider this duplicate content. You can now opt to redirect with a "301 Moved Permanently" header to the correct permalink. This again is transparent to the end user but it will help search engines locate the correct copy to index. You can also opt for IP.Board to simply add a 'robots' meta tag with the value 'noindex' if you do not wish to redirect. This will tell the search engine to not index that URL.

We hope that these improvements will be seen as a good first step in basic SEO without impacting performance.




Interesting...
Never really commented much on the SEO aspect of IPB3's FURLs, but I have definitely been silently rooting for these additions and I'm glad IPS has decided to, once again, listen to the feedback of their customers original.gif

Thanks for these additions.
Robots.txt included. shocked.gif
Excellent... thanks for listening

Patrick (Will Munny)
Great.

Note:
QUOTE
The description is the first post of a topic

If somebody posts topic with 1000 words, then description will have 1000 words as well? shocked.gif It's too big, isn't it?
I should have mentioned: The description strips all BBcode and HTML and truncates to 250 HTML encoded characters.
*juhu* Great original.gif
This is very interesting, thanks for the refinement in this area. original.gif

..Al
And what if i have the topic with name : CSI.NY.new then my url (SEO) will be : topic/10/csinynew but is there any chance to get: topic/10/csi-ny-new
but what with link for example: http://ipb3preview.i...a...t&pid=19008 this link also will be FURL ??
Right now it strips punctuation out. I guess periods can be converted into a dash.
Absolutely brilliant! Round of applause with the improvements, honestly, that's great original.gif

Quick thing, I know everything is possible (if you have the knowledge) though I wouldn't knwo how to do this... - but say I wanted
myforum.com/forum-title/thread-title_10/ (10 being the post i identifier)

Are you able to explain how this could be done, is it simple, will their be future tutorials examples of how to achive this/customise SEO settings?

original.gif
Great! original.gif
Thanks very much for listening! biggrin.gif
Also,
I have a board in other language...
Then the question that i have, are we going to have a tool in acp to convert some non-latin charecter to latin equalant in URL???

Thanks
heh ! biggrin.gif


it called google tab !:D
I have adjusted the format of the FURLs: http://ipb3preview.i...ew-furl-format/
Nice addition to this, thanks.
Looks good...
Good news!

Hope someday we can see something like "Portal Enhancements". tongue.gif
thank you! I can't wait until 3.0 stable.

May 2013

S M T W T F S
   1234
567891011
12131415161718
19202122 23 2425
262728293031 

Recent Entries

Search My Blog