I'm currently designing a small intranet for our company.
For now I'm using these links at the navigation:
<a href="./">Home</a>
<a href="./?c=phone">Phone</a>
<a href="./?c=xy">XY</a>
The page-URL looks like this: y.com/?c=phone
I want it to be shorter, e.g. without the c=
My idea was to work with true/false.
So, I won't check the variable c
for its value, but I would check if e.g. phone == true
.
But how can I implement this?