Jump to content

Can Google Crawl/Spider all my html DropDown Menus and follow the Links?


Recommended Posts

Folks,

 

I have drop down form with one input box then one category selection from the dropdown then we hit "Search" to load search.php.

 

I want that Google should crawl all the categories from my dropdown box for SEO Purposes. Does it do that?

 

Here is the code i am using:

 

<!-- Brand/ Manufacturer Search -->

 

<div id="search" class="floatcenter">

 

<form id="searchform" method="get" action="search.php">

<label>Search By Brand/ Manufacturer: </label>

 

<select name="q">

 

<option value="SelectBrand">Select Brand</option>

 

<?php if(isset($this->search->options)): ?>

<?php foreach($mfg as $lolachild): ?>

 

  <option value="<?php echo $lolachild; ?>"><?php echo ucwords($lolachild); ?></option>

 

<?php endforeach; ?>

<?php endif; ?>

</select>

 

 

 

 

 

<select name="sc">

  <option value="All"><?php eprint(LangAll); ?></option>

<?php if(isset($this->search->options)): ?>

<?php foreach($this->search->options as $cat): ?>

  <option value="<?php echo $cat->value; ?>"><?php echo $cat->name; ?></option>

<?php endforeach; ?>

<?php endif; ?>

</select>

 

        <input type="submit" value="<?php eprint(LangSearch); ?>" />

 

</form>

</div>

<br />

<!-- / search -->

 

 

If it does not, is there a better way of Implementing the Dropdowwn Menus so google Can Crawl it?

 

Cheers

Natasha

Google won't see the PHP code at all. The spider will see whatever you see when you do a view-->source.

 

Ok then here is the HTML Source of that Dropdown. Can you tell me will Google follow the combination of both the Dropdown Boxes and index these links?

 

Here Combination Means >>  First DropDown is Brand Name | Second DropDown is Category.

 

So there is 3 Brands and 5 Categories so In all, 3*5 = 15 Combinations/links

 

<!-- Brand/ Manufacturer Search -->

 

<div id="search" >

 

<form id="searchform" method="get" action="search.php">

<label>Search By Brand/ Manufacturer: </label>

 

<select name="q">

 

<option value="SelectBrand">Select Brand</option>

 

 

  <option value="dio.">Dio.</option>

 

 

  <option value="ehs international">Ehs International</option>

 

  <option value="prem-i-air branded products">Prem-i-air Branded Products</option>

 

</select>

 

 

 

 

 

<select name="sc">

  <option value="All">All Departments</option>

  <option value="2">Air Purifiers</option>

 

  <option value="52">Health Air Purifiers</option>

  <option value="53">Air Purifiers Tool</option>

  <option value="54">Air Purifier Auctions</option>

</select>

 

        <input type="submit" value="Store Search" />

 

</form>

</div> <!-- / search -->

 

<br />

 

 

<!-- Title Break keywords Begins-->

It might find the search.php, and highly unlikely it would find the other combinations based off of that code alone.

 

You are very right, KP, may you please guide me/help me on how to make it so Google Goes through all my combination?

 

Is it possible at all?

 

I will be grateful for all the help.... As i have spent 15 days to make it work but now someone said, i did a blunder as Google will not see it anyway.  :'(  And i see goggle not even crawling the Combinations as you rightly pointed out.

 

 

Let me again explaint what i am trying to achieve:

 

I want to pass on two parameters "sc" and "q", both values as generated dynamically from a PHP foreach loop.

 

Here is the code Again:

 

<!-- Brand/ Manufacturer Search -->

 

<div id="search" class="floatcenter">

 

<form id="searchform" method="get" action="search.php">

<label>Search By Brand/ Manufacturer: </label>

 

<select name="q">

 

<option value="SelectBrand">Select Brand</option>

 

<?php if(isset($this->search->options)): ?>

<?php foreach($mfg as $lolachild): ?>

 

  <option value="<?php echo $lolachild; ?>"><?php echo ucwords($lolachild); ?></option>

 

<?php endforeach; ?>

<?php endif; ?>

</select>

 

 

 

 

 

<select name="sc">

  <option value="All"><?php eprint(LangAll); ?></option>

<?php if(isset($this->search->options)): ?>

<?php foreach($this->search->options as $cat): ?>

  <option value="<?php echo $cat->value; ?>"><?php echo $cat->name; ?></option>

<?php endforeach; ?>

<?php endif; ?>

</select>

 

        <input type="submit" value="<?php eprint(LangSearch); ?>" />

 

</form>

</div>

<br />

<!-- / search -->

 

 

What changes shall i do to make it work for Google Crawl?

 

 

Well, you should be using

<a href="link_to_page.php">page name</a>

instead of select & form tags. Is there any real reason you have the form there to begin with?

 

KP,

 

The purpose was to dynamically generate the Categories, keywords and brand name.

 

Having a Dropdown is a good Search/Filtering feature of all standard Online Stores. No?

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.