ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

WordPress style rewrite rules

January 31, 2011 8:16pm

Subscribe [2]
  • #1 / Jan 31, 2011 8:16pm

    megabyte

    179 posts

    I’m not even sure how to exactley categorize this, but I often create a custom cms, and because SEO is important I like url’s like http://www.example.com/about-us and not http://www.example.com/page/1

    So I usually just create a column called slug and make it unique and use that to locate a db row.

    Question is this, is there a way to keep it so that you’re actually querying with a numeric id but it’s not at all present in the url?

    I mention wordPress because I know by default its a query string like ?p=2, but you can turn on pretty permalinks.

    Is WordPress just diong what I am? Or is there a solution I’m missing?

    Hoping to learn something new here…... Thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases