1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How does Google crawl a dynamic page?

Discussion in 'White Hat SEO' started by Bozomo, Jan 15, 2012.

  1. Bozomo

    Bozomo Newbie

    Joined:
    Dec 2, 2011
    Messages:
    2
    Likes Received:
    0
    I'm using this guys Single File PHP Gallery (sye.dk). It uses PHP and JavaScript to display images which can be sorted into categories (by creating folders). You technically never leave that page, the url has changes (I never learned, passes variables through the url or something).

    So my questions are:

    1. What does Google do when it crawls that page? Does it just see the beginning, home phase of the gallery?

    2. Does Google index all the images that I have in my gallery? Or only the ones actually in the code? (I think I know this one now that I typed it out. Google looks at all your images....right?)

    3. Do you have any miscellaneous tips that would specifically help SEO with this kind of website. I am used to only static, plain ol' HTML. Is there anything that really pops out or comes to mind?

    Thank you so much!
     
  2. darnoldi

    darnoldi Registered Member

    Joined:
    Jan 6, 2011
    Messages:
    52
    Likes Received:
    20
    Hi,

    Google crawls a dynamic page just like any other page. If it finds a link to a page it crawls it.

    You need to understand that a dynamic page is only dynamic at the server, not the client. In other words, When my browser calls for a dynamic page from your server eg index.php, your server loads the particular file and parses the php code and returns straight HTML, CSS and maybe some javascript to my browser (or google's spider).

    So for on page SEO, follow rules as normal, for images, use your keywords in the filename and/or the alt tag if the php app lets you.

    The biggest problem with dynamic pages is that as you say it is the same file with just different variables being passed, usually ?variable attached the the URL.

    While google is able to identify these as diffferent pages and rank them all individually, this illiminates one inportant on page seo step, ie. using your keyword in the URL itself. ie. site.c0m/mykeyword.hml.

    Lot's of prebuilt PHP packages (Wordpress, Joomla etc) have addins that take care of automatically rewriting or redirecting the URL to correct this. You will have to check if something like that exists for the galley that you are using.

    If not, it's not a huge train smash, but it will help with rankings.

    You could always try and do it yourself by writing redirect rules in the .htaccess file, but I warn you this is not a simple task.

    HTH.
     
    • Thanks Thanks x 1
  3. Bozomo

    Bozomo Newbie

    Joined:
    Dec 2, 2011
    Messages:
    2
    Likes Received:
    0
    Awesome, thank you so much. This is the reason I love BlackHateWorld so much (Can't remember my damn login).

    I must work!
     
  4. HatIsBlacked

    HatIsBlacked Regular Member

    Joined:
    Dec 30, 2010
    Messages:
    224
    Likes Received:
    57
    "This is the reason I love BlackHateWorld"
    You mean BlackHatWorld...:D