SEO Friendly URLS

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 14, 2008   (RSS)

Re: [virgodesign] SEO Friendly URLS

By Dave - March 14, 2008

The idea is to create a url that looks like a directory, like this: newsPage.php/news_title_here-4/ or this newsPage.php?news_title_here-4/ If you have $options['titleField'] set it will use that fieldname value in the link.

There's a few ways to remove it. To hardcode links like you specified you could just replace <?php echo $record['_link'] ?> with: newsPage.php?<?php echo $record['num'] ?>

Or to remove it in the code you could search for (and remove) this in /lib/viewer_functions.php:

. "/"

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