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: [Dave] SEO friendly URL's

Hi Dave

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.


Could you expand on this how would this work with a listing/detail page scenario? We tried all the above and it worked but it broke the link to the CSS etc. the link was '_link' type php echo as in the cmsb code.