[thelist] ?type=icecream to /icecream

Anthony Baratta anthony at baratta.com
Tue Apr 8 15:14:14 CDT 2008


http://www.evolt.org/article/Making_clean_URLs_with_Apache_and_PHP/18/22880/

Mod-Rewrite is your friend too.

-----Original message-----
From: John Allsopp john at johnallsopp.co.uk
Date: Tue, 08 Apr 2008 12:40:55 -0700
To: thelist at lists.evolt.org
Subject: [thelist] ?type=icecream to /icecream

> A basic question for all you out there, but one I've never used (because 
> I believe the search engines now read ?s quite happily, but perhaps I'm 
> wrong about that), but now I have a client that's insisting on it (I 
> think the milkman told him it's a good idea).
> 
> So
> 
> What's the PHP or server tool/plugin/function thing I have to use to get 
> my URLs to be, for instance, /food/icecream when what's really going on 
> is ?type=food&name=icecream
> 
> And what, in outline, do I need to do. Does it just seamlessly work, or 
> do I need to change my code or what?
> 
> Cheers
> J




More information about the thelist mailing list