ThinkUpLLC / makerbase

A directory of people who make things
1 stars 0 forks source link

Enh: SEO #214

Open ginatrapani opened 9 years ago

ginatrapani commented 9 years ago

Let's use this ticket to capture an SEO-related checklist of small improvements:

What else?

ginatrapani commented 9 years ago

Also add to the noindex rules to:

Also we can use a sitemap.xml to direct crawlers.

anildash commented 8 years ago

Sitemap template should basically be like this:

  <?xml version="1.0" encoding="UTF-8"?>
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

   <url>
      <loc>http://www.makerbase.co/</loc>
      <lastmod>{$smarty.now|date_format:'%Y-%m-%d'}</lastmod>
      <changefreq>always</changefreq>
      <priority>0.9</priority>
   </url>
   <url>
      <loc>http://www.makerbase.co/explore/</loc>
      <lastmod>{$smarty.now|date_format:'%Y-%m-%d'}</lastmod>
      <changefreq>always</changefreq>
      <priority>1.0</priority>
   </url>
   <url>
      <loc>http://www.makerbase.co/about/</loc>
      <changefreq>weekly</changefreq>
      <priority>1.0</priority>
   </url>
   <url>
      <loc>http://www.makerbase.co/about/sponsor/</loc>
      <changefreq>weekly</changefreq>
      <priority>1.0</priority>
   </url>
   <url>
      <loc>http://www.makerbase.co/about/privacy/</loc>
      <lastmod>2015-07-30</lastmod>
      <changefreq>monthly</changefreq>
      <priority>0.3</priority>
   </url>
   <url>
      <loc>http://www.makerbase.co/about/terms/</loc>
      <lastmod>2015-07-30</lastmod>
      <changefreq> monthly </changefreq>
      <priority>0.3</priority>
   </url>

  {foreach $products as $product}
   <url>
      <loc>http://makerbase.co/m/{$product_maker->uid}/{$product_maker->slug|escape:'html'}</loc>
      <changefreq>daily</changefreq>
   </url>
  {/foreach}

  {foreach $makers as $maker}
   <url>
      <loc>http://makerbase.co/p/{$maker_product->uid}/{$maker_product->slug|escape:'html'}</loc>
      <changefreq>daily</changefreq>
   </url>
  {/foreach}
  </urlset>