What you will need:

meteor add manuelschoebel:ms-seo

and follow the configuration steps. Note that SEO.config({}) sets some default values. SEO.set({}) is what you can use in the onBeforeAction() method on each page to set page specific SEO Data.

Note: you will also need to install phantom-js

Add “phantomjs”: “2.1.7” to your package.json file and run meteor npm install to install it.

To know if this is working set the title for a few pages and you should see the TITLE change in the TAB at the top of your browser when navigating to that page.

Router.route('/about', { onBeforeAction: function(){ SEO.set({ title: "About", meta: { 'description': 'FastX is the fastest way to convert cryptocurrency into cash.', }, og: { 'title': "About", 'description': `FastX is Australia's best value cryptocurrency marketplace. Buy, Sell & Trade - Bitcoin, Ethereum, Litecoin, Nano, Ripple. No fees, Instant payments. Live market rates.`, 'image': "https://fastx.io/images/fastx_logo.jpg" } }); this.next(); }, action: function() { import "./imports/ui/pages/about.js"; this.render('about'); } });

Make sure you set the viewport in the SEO.config! Otherwise Google/spiders wont know that your site is optimised for mobile.

Meteor.startup(function() { if(Meteor.isClient){ return SEO.config({ title: 'FastX | Sell Bitcoin, Ethereum, Litecoin & Ripple', meta: { 'description': `Buy, Sell & Trade - Bitcoin, Ethereum, Litecoin, Nano, Ripple. No fees, Instant payments. Live market rates. Australia's best value marketplace`, 'viewport': "width=device-width, initial-scale=1" }, og: { 'description': 'No fees, Instant payments, Live market rates', 'image': 'https://fastx.io/images/fastx_logo.jpg' } }); } console.log("PhantomJs Working?:"+isSpiderable()); }); function isSpiderable(){ return /PhantomJS/.test(window.navigator.userAgent); }

2. sitemap.xml: This file should contain all of the pages you want indexed. Once created you should upload this to your websites root directory, e.g https://mysite.com/sitemap.xml

You can use this service to help generate your sitemap: https://www.xml-sitemaps.com/

Once you have generated your sitemap.xml upload it to the Google Search Console → Sitemaps https://search.google.com/search-console