AlegroCart open source E-commerce
Web hosting by Host1Plus

Google Base/Merchant Center

General discussion about AlegroCart - Post here if you can't find another suitable forum

Re: Google Base/Merchant Center

Postby 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
Beachgirl
 
Posts: 51
Joined: Wed Oct 20, 2010 4:57 pm
Location: USA

Re: Google Base/Merchant Center

Postby 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
User avatar
Brent
Site Admin
 
Posts: 4371
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Google Base/Merchant Center

Postby 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>
Beachgirl
 
Posts: 51
Joined: Wed Oct 20, 2010 4:57 pm
Location: USA

Re: Google Base/Merchant Center

Postby Brent » Thu Dec 16, 2010 1:39 pm

That's Great.
I'll change the Model to use the Type as you suggested.
User avatar
Brent
Site Admin
 
Posts: 4371
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron