SEO for Instant Website

4 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 19, 2011   (RSS)

Re: [Christopherb] SEO for Instant Website

By gkornbluth - May 18, 2011

Hi Christopherb,

Wouldn't that defeat the ability to bring up the appropriate detail page?

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] SEO for Instant Website

By Christopherb - May 18, 2011

The way the re-writes currently work, yes. However we have several non-cmsbuilder php driven sites that use friendly urls with mod_rewrite (dropping the ?query string and using ONLY the alias).

I'm thinking something like:

RewriteEngine On
rewritecond %{REQUEST_URI} !^/page/(.*)
rewritecond %{REQUEST_URI} !^/images/(.*)
RewriteRule (.*)$ /page/page.php? id=$1


Thanks,
Chris

P.S.
I use your cookbook all the time as a quick reference! Nice compilation

Re: [Christopherb] SEO for Instant Website

By Jason - May 19, 2011

Hi Chris,

You can try something like that, but the script still needs to be able to access that record number (usually from the $SERVER['QUERY_STRING'] variable) in order to pull the correct record from the database.

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/