Google Base/Merchant Center

General discussion about AlegroCart - Post here if you can't find another suitable forum
Beachgirl
Posts: 51
Joined: Wed Oct 20, 2010 4:57 pm
Location: USA

Re: Google Base/Merchant Center

Post by Beachgirl » Sun Dec 12, 2010 12:26 pm

I'm going to try the new file again .. I think I know why it didn't work

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Google Base/Merchant Center

Post by Brent » Sun Dec 12, 2010 4:03 pm

I forgot to check my test server. It did not have the robots text.
# A robots.txt file is on your server
This prevents us from crawling the images on your site. In order for us to access these images, please modify your robots.txt file to allow the user-agent "Googlebot" to crawl your site. You can do this by adding the following two lines to your file:

User-agent: Googlebot
Disallow:
Change yours to this.

Code: Select all

User-agent: googlebot
Disallow:
User-agent: yahoo
Disallow:
User-agent: *
Disallow: /cgi-bin/
Disallow: /admin/
Disallow: /catalog/
Disallow: /library/
Disallow: /logs/
Disallow: /downloads/
Disallow: /cache/
#Allow: /
Sitemap: sitemap.php

Beachgirl
Posts: 51
Joined: Wed Oct 20, 2010 4:57 pm
Location: USA

Re: Google Base/Merchant Center

Post by Beachgirl » Thu Dec 16, 2010 12:22 pm

Its all working great!
Used the 2nd gbase file and revised robots.txt file
All poducts and images are now loaded.

This works aslo:

Code: Select all

<g:poduct_type><?php echo $product['model']; ?></g:product_type>

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Google Base/Merchant Center

Post by Brent » Thu Dec 16, 2010 1:39 pm

That's Great.
I'll change the Model to use the Type as you suggested.

Post Reply