[FX.php List] url

Dale Bengston dbengston at tds.net
Wed Dec 1 11:10:59 MST 2010


Right. The traditional URL query with a key/value pair is probably http://www.4imprint.ca/&product=C110583-CL/. The hyphenated stuff has no key to accompany its value, so Andrew's correct in pegging that as for SEO.

On Dec 1, 2010, at 11:41 AM, Andrew Denman wrote:

> Yes, this is what they're using. Do a search on 'URL rewriting' for all the info on URL rewriting you could ever want.  It allows you to create easier to remember, more SEO friendly, or just less cluttered links and re-direct them on the server side to your specific pages.
> 
> In that link's specific case it probably redirects to a page product.php, or index.php and invokes code to process a product search, pulling up product 'C110583-CL'.  The rest of the link does not appear to be used by the server and is probably there for SEO.
> 
> Example:
> http://www.4imprint.ca/product/C110583-CL/Spectator-Travel-Mug-16-oz.-Closeout
> Is re-written to either:
> /product.php?id=C110583-CL
> /index.php?action=product&id=C110583-CL
> 
> Note that nothing on the server automatically creates links like this; you'll have to do that through your code.  The server only interprets the links based on rules you give it.
> 
> Andrew Denman
> 
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Dale Bengston
> Sent: Wednesday, December 01, 2010 11:04 AM
> To: FX.php Discussion List
> Subject: Re: [FX.php List] url
> 
> I'm thinking that everything after the domain and the first slash is generated by enabling mod_rewrite in Apache's comfig file.
> 
> Dale
> 
> On Dec 1, 2010, at 10:58 AM, Someone wrote:
> 
>> Hi.
>> Anyone know how this is done?
>> Place this url ( 
>> http://www.4imprint.ca/product/C110583-CL/Spectator-Travel-Mug-16-oz.-
>> Closeout ) into your browser and a detail page for this product shows 
>> up
>> 
>> Is this php (or some other language) or the server configuration (like apache) or both.
>> 
>> Thank
>> 
>> Frank
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list