Coldfusion pages & Meta Tags

Sharky Forums


Results 1 to 3 of 3

Thread: Coldfusion pages & Meta Tags

  1. #1
    Reef Shark moog's Avatar
    Join Date
    Sep 2000
    Location
    Bath, UK
    Posts
    422

    Post Coldfusion pages & Meta Tags

    I'm currently developing a web shop selling various products, and have a question re. meta tags for the pages.

    I have a store.cfm page which is passed a url id, to give details of the product. I can pull meta tags from the database no problem (select metadesc,metakey from products where id=#url.id#) and put them in the page (<head><meta name="description" content="#query.metadesc#"> ).

    My question really is, is it worth it? Since there's only one page (store.cfm), will these meta tags get picked up by search engines or whatever for all the products? (i.e. I don't have a bunch of pages: product1.html, product2.html etc which could be indexed by a spider)

    Any ideas would be much appreciated.

    moog

    ------------------
    No Norm, those are your safety glasses... I'll wear my own thanks.
    No Norm, those are your safety glasses... I'll wear my own thanks.

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    I'm no guru on how Search Engines work...but I believe it will in fact register:

    store.cfm?ID=234121234

    and

    store.cfm?ID=897893211

    as the same page (store.cfm) I'm pretty sure URL variables don't come into play with search engines...in which case this dynamic Meta-Description might be a pipe dream.

    Take my opinion with a grain of salt though...like I said I'm no search engine guru.


  3. #3
    Reef Shark moog's Avatar
    Join Date
    Sep 2000
    Location
    Bath, UK
    Posts
    422
    Hmmm - that's what I was thinking. I guess I might have to run a scheduled task to generate "productname.html" files in a sub-folder complete with the meta tags and a <cflocation url=store.cfm?id=xxxx>. That way, the pages can be spidered properly..

    not very elegant, but there you go.

    Cheers,
    moog
    No Norm, those are your safety glasses... I'll wear my own thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •