problem with dynamic URL's in sitemap

Discussion in 'Google Sitemaps' started by akinak, Jul 31, 2008.

  1. #1
    akinak, Jul 31, 2008 IP
  2. ReinhartTech

    ReinhartTech Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, you can specify dynamic URL's, but be sure to carefully follow the instructions regarding entity escaping (I've screwed that up a few times).
     
    ReinhartTech, Jul 31, 2008 IP
  3. akinak

    akinak Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, but what about this URL..

    http://www.site.com/cgi-bin/script.cgi?crs=key&title=keys^study^online&dept=kl&path-1

    does it needs entity escaping? plz help..
     
    akinak, Aug 4, 2008 IP
  4. webrickco

    webrickco Active Member

    Messages:
    268
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Recommendations also shows that those URL should be able to change into something like:
    http://www.site.com/cgi-bin/script-crs-key-title-keys^study^online-dept-kl-path-1.html
    or
    http://www.site.com/cgi-bin/script.cgi/crs/key/title/keys^study^online/dept/kl/path-1

    to get a better location in SE results.

    For this you will need to have this specific command instructions in you .htaccess file (unix servers only)

    Options +FollowSymLinks
    Options -MultiViews
    RewriteEngine on
    RewriteRule script-crs-(.*)-title-(.*)-dept-(.*)-path-(.*)\.html script.cgi?crs=$1&title=$2&dept=$3&path=$4
     
    webrickco, Aug 4, 2008 IP
  5. LiverpoolAnfield

    LiverpoolAnfield Peon

    Messages:
    176
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes you can add the urls in the sitemap..but in future i would recommend you to use mod_rewrite for changing the dynamic URLs into simple seo friendly URLs....you will surely be indexed better
     
    LiverpoolAnfield, Aug 4, 2008 IP
  6. Michael smith

    Michael smith Peon

    Messages:
    313
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yes u can add or url in the sitemap..
     
    Michael smith, Aug 5, 2008 IP
  7. akinak

    akinak Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks all for your help. I will definietly take care of this in future.
     
    akinak, Aug 5, 2008 IP
  8. Naveen.jha

    Naveen.jha Peon

    Messages:
    132
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    This is great solutions for your broblem, but i also got many new things. I need that you have to create and question to all problem so others like me also can got or learns good things.
     
    Naveen.jha, Aug 7, 2008 IP
  9. holidayhoteldirect

    holidayhoteldirect Banned

    Messages:
    154
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i like this, thanks for update
     
    holidayhoteldirect, Aug 7, 2008 IP