SEO friendly URL's

4 posts by 2 authors in: Forums > CMS Builder
Last Post: January 19, 2009   (RSS)

Could you tell me the routine for making SEO friendly URL's

instead of

http://www.myurl.org.uk/servicesDetail.php?5

we would like

http://www.myurl.org.uk/cmsb/titlefield.php.

Re: [chassa2556] SEO friendly URL's

By Dave - January 15, 2009

Hi Charles,

The simplest SEO urls can be done by adding this option to your viewer code:
'useSeoUrls' => true,

And then setting a "filename field" under Admin > Section Editors > Viewer Urls

Then you'll get urls like this:
http://www.myurl.org.uk/servicesDetail.php/your-title-here-5/

Note that SEO urls look like subdirectories to the browser and you need to use absolute urls (starting with http:// or /) for your links or you'll get broken links.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [chassa2556] SEO friendly URL's

By Dave - January 19, 2009

Hi Charles,

CMS Builder stores the urls to the section viewers under: Admin > Section Editors > Viewer Urls. You'll need to update those urls to start with / or http://.

Same thing with your css files. You'll need to link to them starting with / or http://.

It's the same as if you had an html file in a subdirectory. You need to link "up" to files in the root with http:// or / or ../ (to go up one directory).

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com