September 07, 2008
For ColdFusion hosting try HostMySite.com. |
Home /
Groups /
ColdFusion Talk (CF-Talk)
URL re-write SEO friendly
Hey All....passing this along for a co-worker.....Bryan Stevenson 04/18/08 06:44 P You haven't really asked a question but...Adrian Lynch 04/18/08 07:08 P I think he would probably want it to be something likeRuss 04/18/08 08:27 P Hi All,Bryan Stevenson 04/21/08 12:13 P Does google find thisPaul Stewart 04/21/08 12:19 P Does google find thisBryan Stevenson 04/21/08 12:41 P > Thanks all for keeping the useless bandwidth usage down ;-)Bobby Hartsfield 04/21/08 01:16 P I have used ISAPI_Rewrite for IIS, excellent and only $99 per server.Dominic Watson 04/21/08 01:23 P Dominic,Mark Kruger 04/21/08 01:34 P >There is one called IsapiRewrite4 by Phil Hazel from the uk. It is openDominic Watson 04/21/08 01:43 P Thanks Dominic and Mark...straight answers....I like that ;-)Bryan Stevenson 04/21/08 01:45 P > Thanks Dominic and Mark...straight answers....I like that ;-)Dominic Watson 04/21/08 01:51 P I'll second ISAPI_REWRITE...Andy Matthews 04/21/08 02:16 P No, i don't think so.Rizal Firmansyah 04/21/08 08:23 P > Hi All,Russ 04/21/08 04:06 P Don't let the fact that you're running on Windows keep you from enjoyingBryan Stevenson 04/21/08 05:37 P Is there a question?Bobby Hartsfield 04/18/08 07:21 P Highly recommend IIRF (Ionic's ISAPI Rewrite Filter)Mark Picker 04/21/08 07:22 P Highly recommend IIRF (Ionic's ISAPI Rewrite Filter)Mark Picker 04/21/08 07:30 P > So how does one go about doing this WITHOUT an Apache modDave Watts 04/21/08 12:38 P > Lol, my favourite responses:Dave Watts 04/21/08 01:53 P > Sometimes - very often, actually - that is the correct response.Dominic Watson 04/21/08 02:02 P I confess to not having a clue as to what is going on here.. A pop cultureMark Kruger 04/21/08 02:57 P Hey All....passing this along for a co-worker..... Hello All -- I am working on a database driven website that can access individual records with a URL like this: http://www.domainname.com/index.cfm?pg=listing_details&id=83&hit=1&popup=0&preview=1 In order to make the URL more SEO friendly, we are using a URL handler that lets us structure the URL this way: http://www.domainname.com/index.cfm/pg/listing_details/id/83/hit/1/popup/0/preview/1 By removing the "?" and "&" symbols, we make the URL easier for search engines to navigate. Now, the SEO company is suggesting that we shorten the URL right down to the following: http://www.domainname.com/83/ I've seen many sites use more human readable URLs like the above or like so: http://www.domainname.com/gardentools Which would take you to the garden tool category of a data driven web catalogue (instead of explicitly passing the category ID via the URL). TIA Cheers -- Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. You haven't really asked a question but... ... if it's a choice between /83/ or /gardentools/ and your page isn't about the number 83, go with the later. Adrian Hey All....passing this along for a co-worker..... Hello All -- I am working on a database driven website that can access individual records with a URL like this: http://www.domainname.com/index.cfm?pg=listing_details&id=83&hit=1&popup=0&p review=1 In order to make the URL more SEO friendly, we are using a URL handler that lets us structure the URL this way: http://www.domainname.com/index.cfm/pg/listing_details/id/83/hit/1/popup/0/p review/1 By removing the "?" and "&" symbols, we make the URL easier for search engines to navigate. Now, the SEO company is suggesting that we shorten the URL right down to the following: http://www.domainname.com/83/ I've seen many sites use more human readable URLs like the above or like so: http://www.domainname.com/gardentools Which would take you to the garden tool category of a data driven web catalogue (instead of explicitly passing the category ID via the URL). TIA Cheers -- Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com I think he would probably want it to be something like http://www.domain.com/garden_tools/83 Then all you have to do is ignore the first directory and pass the second directory to CF. You can have a generic rewrite done in Apache Something like RewriteRule ^/([^/]+)/([0-9]+)/* http://www.domainname.com/index.cfm?pg=listing_details&id=$2&hit=1&popup=0&p review=1 Russ ----- Excess quoted text cut - see Original Post for more ----- Hi All, First off...the question was how to do it the way this SEO company is aksing. So let's clarify shall we.... 1) We currently transform this: http://www.domainname.com/index.cfm?pg=listing_details&id=83&hit=1&popup=0 into this: http://www.domainname.com/index.cfm/pg/listing_details/id/83/hit/1/popup/0 So the ? and = are gone and it now looks like directories instead of variable to bots for example "/pg/listing details" equates to "pg=listing details". 2) THE QUESTION (for those that couldn't find it..hehe) An SEO company would prefer to see http://www.domainname.com/furry The BIG difference here is "furry" must equate to "?pg=listing_details&id=83&hit=1&popup=0" I think we can all see the difference....it's quite different than what we do now in # 1 above. The first example still plainly shows the key/value pairs. What the SEO comapnmy is asking for does NOT. So how does one go about doing this WITHOUT an Apache mod rewrite (as this is hosted on Windows for better or for worse)???? BTW....that was the question ;-) Thanks in advance Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. On Fri, 2008-04-18 at 20:27 -0400, Russ wrote: ----- Excess quoted text cut - see Original Post for more ----- Does google find this http://www.domainname.com/index.cfm/pg/listing_details/id/83/hit/1/popup/0 more friendly than this http://www.domainname.com/index.cfm?pg=listing_details&id=83&hit=1&popup=0 ???? Bryan Stevenson wrote: ----- Excess quoted text cut - see Original Post for more ----- Does google find this ----- Excess quoted text cut - see Original Post for more ----- Sorry if I seem frustrated Paul, but so far I've been told I didn't ask a question...so now I've been explicit...now you're asking if Google will care. I didn't ask if anyone thought Google would care (and I doubt highly that it would). I asked a question and am only looking for answers to that question!!! ;-) Thanks all for keeping the useless bandwidth usage down ;-) Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. > Thanks all for keeping the useless bandwidth usage down ;-) We all live out 'californeeway' and have plenty of 'internets' to spare so we waste it all day long ;-) Besides... you started it :-) > THE QUESTION (for those that couldn't find it..hehe) There was no question until your second post... now whos wasting bandwidth? ;-) > So how does one go about doing this WITHOUT an Apache mod > rewrite (as this is hosted on Windows for better or for worse)???? Use an IIS one? Being on windows does't mean you don't have access to asapi URL rewriting methods. I suggest you check the HoF archives (it's been asked plenty of times) or search Google for an IIS solution. You could also officially ask the question "Does anyone know of or use an asapi filter for rewriting URLs in IIS that they would recommend?" I haven't used one for IIS or I'd offer a more specific suggestion but a simple google search turned up a ton of options. This one seems popular http://www.isapirewrite.com/ .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com Does google find this ----- Excess quoted text cut - see Original Post for more ----- Sorry if I seem frustrated Paul, but so far I've been told I didn't ask a question...so now I've been explicit...now you're asking if Google will care. I didn't ask if anyone thought Google would care (and I doubt highly that it would). I asked a question and am only looking for answers to that question!!! ;-) Thanks all for keeping the useless bandwidth usage down ;-) Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. I have used ISAPI_Rewrite for IIS, excellent and only $99 per server. http://www.isapirewrite.com/ You'll probably need help setting up the regex rules and the like - but help is always at hand it seems (not from me tho) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk Dominic, There is one called IsapiRewrite4 by Phil Hazel from the uk. It is open source and free.... And it seems to perform well - with no difference between it and the commercial verison referenced below. -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com I have used ISAPI_Rewrite for IIS, excellent and only $99 per server. http://www.isapirewrite.com/ You'll probably need help setting up the regex rules and the like - but help is always at hand it seems (not from me tho) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk >There is one called IsapiRewrite4 by Phil Hazel from the uk. It is open > source and free.... :) Good news thanks - opensource AND uk! I have only used ISAPI_rewrite within a company who inherited a project that used it; never bought it for myself, though I have been on the verge of doing so. You saved me 50 quid ta! Dominic -- Blog it up: http://fusion.dominicwatson.co.uk Thanks Dominic and Mark...straight answers....I like that ;-) Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. On Mon, 2008-04-21 at 12:34 -0500, Mark Kruger wrote: ----- Excess quoted text cut - see Original Post for more ----- > Thanks Dominic and Mark...straight answers....I like that ;-) Lol, my favourite responses: 'Why would you want to do that? (fool)' or 'Why don't you just...???' (fool) ;) -- Blog it up: http://fusion.dominicwatson.co.uk I'll second ISAPI_REWRITE... I have used ISAPI_Rewrite for IIS, excellent and only $99 per server. http://www.isapirewrite.com/ You'll probably need help setting up the regex rules and the like - but help is always at hand it seems (not from me tho) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk No, i don't think so. It may be true couple of years back, but now it seems Google treats them same. Try this: http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLJ,GGLJ:2007-50,GGLJ:en&q=cfx%5fexcel What do you see at the top? It's the URL that contains querystring... not the "folder" type ones. Rizal At 11:19 PM 4/21/2008, you wrote: ----- Excess quoted text cut - see Original Post for more ----- ----- Excess quoted text cut - see Original Post for more ----- --snipped-- > > So how does one go about doing this WITHOUT an Apache mod rewrite (as > this is hosted on Windows for better or for worse)???? > Don't let the fact that you're running on Windows keep you from enjoying the awesomeness that is Apache. Russ Don't let the fact that you're running on Windows keep you from enjoying the > awesomeness that is Apache. > > Russ Shared server Russ.... Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Is there a question? .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com Hey All....passing this along for a co-worker..... Hello All -- I am working on a database driven website that can access individual records with a URL like this: http://www.domainname.com/index.cfm?pg=listing_details&id=83&hit=1&popup=0&p review=1 In order to make the URL more SEO friendly, we are using a URL handler that lets us structure the URL this way: http://www.domainname.com/index.cfm/pg/listing_details/id/83/hit/1/popup/0/p review/1 By removing the "?" and "&" symbols, we make the URL easier for search engines to navigate. Now, the SEO company is suggesting that we shorten the URL right down to the following: http://www.domainname.com/83/ I've seen many sites use more human readable URLs like the above or like so: http://www.domainname.com/gardentools Which would take you to the garden tool category of a data driven web catalogue (instead of explicitly passing the category ID via the URL). TIA Cheers -- Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Highly recommend IIRF (Ionic's ISAPI Rewrite Filter) http://cheeso.members.winisp.net/IIRF.aspx Cheers Mark ----- Excess quoted text cut - see Original Post for more ----- Highly recommend IIRF (Ionic's ISAPI Rewrite Filter) http://cheeso.members.winisp.net/IIRF.aspx Cheers Mark ----- Excess quoted text cut - see Original Post for more ----- > So how does one go about doing this WITHOUT an Apache mod > rewrite (as this is hosted on Windows for better or for worse)???? There are mod_rewrite analogues for Windows/IIS, such as ISAPI_Rewrite. Alternatively, you could use CF to rewrite URLs for you, although I doubt that would perform as well. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ > Lol, my favourite responses: > > 'Why would you want to do that? (fool)' > > or > > 'Why don't you just...???' (fool) Sometimes - very often, actually - that is the correct response. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ > Sometimes - very often, actually - that is the correct response. ;) agreed, but when written in that way the subtext is very obviously just 'fool', especially the second one (used all the time). 'Why don't you just...' can usually be replaced with 'This is how... and look this up in google to find out why / more (or some such)'. 'Why would you want to do that?!' can usually be replaced with 'If you're doing [x] I'd advise against it because... consider doing [y] instead'. Anyways, now I'm the one wasting bandwidth! Dom -- Blog it up: http://fusion.dominicwatson.co.uk I confess to not having a clue as to what is going on here.. A pop culture inside joke is my best guess :) Mark > Sometimes - very often, actually - that is the correct response. ;) agreed, but when written in that way the subtext is very obviously just 'fool', especially the second one (used all the time). 'Why don't you just...' can usually be replaced with 'This is how... and look this up in google to find out why / more (or some such)'. 'Why would you want to do that?!' can usually be replaced with 'If you're doing [x] I'd advise against it because... consider doing [y] instead'. Anyways, now I'm the one wasting bandwidth! Dom -- Blog it up: http://fusion.dominicwatson.co.uk
|
Mailing Lists
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||