cmarenburg — 2012-05-14T19:45:59-04:00 — #1
i am working on a project with said project i am using dynamic urls so say i have index and then for the store page it would be ?page=store however i would like to get rid of the ?page and just have it ?store or ?contact i know how to do this with if's but i would rather use a switch is it possible able to do it with out the ?page variable ?
chris_upjohn — 2012-05-15T08:23:34-04:00 — #2
Without using a proper URL argument and value your code will end up been way too complicated, the easiest and most assured way to go about this is to just continue using ?store=xxx.
cpradio — 2012-05-15T08:40:18-04:00 — #3
And if you still want to simplify your URL, you can always use Mod_Rewrite rules (there is a separate forum here for help on that subject).