Short URL for Detail View
2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 12, 2012 (RSS)
By s2smedia - January 12, 2012
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?
any suggestions?
Re: [s2smedia] Short URL for Detail View
By Jason - January 12, 2012
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
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 - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/