Menu

#1 Page shortcuts / search freindly URLs

open
None
5
2002-09-05
2002-08-31
aric caley
No

This idea just struck me.

Page in admin to set "short cuts" for common pages.
This would of course depend on the type of site you're
running and would be tailored for each site. Let me
illustrate by examples:

"?manufacturer/nokia/5190" becomes "?
page=shop/manufacturer&category_id=manufacturer&su
b_category_id=5190"

Naturaly, you'd want to have some sort of patern
matching, so you could do something like this:

"?pagers/{1}" -> "?
page=shop/browse&category_id=pagers&product_name
={1}"

which would convert things like "?pagers/nixxo"
into "page=shop/browse&category_id=pagers&product_n
ame=nixxo"

Make sense?

Discussion

  • aric caley

    aric caley - 2002-09-01
    • status: open --> pending
     
  • aric caley

    aric caley - 2002-09-05
    • status: pending --> open
     
  • aric caley

    aric caley - 2002-09-05
    • assigned_to: nobody --> greywire
     
  • Marcel Schindler

    Logged In: YES
    user_id=562437

    Good idea, but you just need to have Apache mod_rewrite
    enabled and create a .htaccess with ReWrite rules ;)

     
  • aric caley

    aric caley - 2002-10-18

    Logged In: YES
    user_id=241777

    mod_rewrite would work "on the way back". But how to get
    the links in html to be that way in the first place? Also I know
    mod_rewrite can add a lot of overhead. Finaly, there may be
    a few people out there not running apache, or who dont have
    the ability set rewrite rules :).

    I think using mod_rewrite is a good option, if available.
    Having an admin interface that made it real easy to use would
    be the key. I must admit I havent been able to figure it out
    myself, not real good with regex yet.

     

Log in to post a comment.

MongoDB Logo MongoDB