Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Short URL for Detail View

 

 


s2smedia
User

Jan 12, 2012, 7:00 AM

Post #1 of 2 (260 views)
Shortcut
Short URL for Detail View Can't Post

I am trying to find a way to turn my blog posting URLS to a shortURL. So when someone shares to twitter, the link isnt so LONG.

any suggestions?


Jason
Staff / Moderator


Jan 12, 2012, 9:11 AM

Post #2 of 2 (258 views)
Shortcut
Re: [s2smedia] Short URL for Detail View [In reply to] Can't Post

Hi,

By default, CMS Builder puts the records title field into the _link

for example

blog.php?this-is-my-blog-title-1

The only real important part of that string is the number (in this case 1) as it specifies the record number we are trying to retrieve.

So the shortest url you could use would be
blog.php?1

You can change field used in the _link by going into your section editor -> Viewer Urls and changing Filename Fields.

One approach would be to create a "short name" field for your blog post and use that in the link.

So for example, if your title was "This is my First Blog Post" and your short title was "My Blog Post" and you used the short title, you would get something like:

blog.php?my-blog-post-1

Hope this helps
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/