Skip to main content

Tutorial: Google Search Console Setup

Role: Site Administrator / Journal Manager
Time: 15โ€“25 minutes
OJS Version: 3.5+

Google Search Console (GSC) is a free Google tool that lets you monitor how your journal appears in Google search results, identify indexing issues, and submit your XML sitemap.


Before You Startโ€‹

  • You have a Google account.
  • You have access to your OJS server files or DNS settings (for verification).

Step 1 โ€” Add Your Property in Google Search Consoleโ€‹

  1. Go to search.google.com/search-console.
  2. Click Add property.
  3. Select URL prefix and enter your journal URL (e.g., https://yourdomain.com).
  4. Click Continue.

Step 2 โ€” Verify Ownershipโ€‹

Google offers several verification methods. Choose the one that best matches your access:

  1. Download the verification HTML file provided by Google.
  2. Upload it to your OJS root directory (the directory containing index.php).
  3. Confirm the file is accessible at https://yourdomain.com/googleXXXXXXXXX.html.
  4. In Search Console, click Verify.

Method B โ€” HTML Meta Tagโ€‹

  1. Copy the meta tag provided by Google, e.g.:
    <meta name="google-site-verification" content="XXXXXXXXXX" />
  2. In OJS, go to Settings โ†’ Website โ†’ Appearance โ†’ Advanced โ†’ Custom HTML Header.
  3. Paste the meta tag and save.
  4. In Search Console, click Verify.

Method C โ€” DNS Recordโ€‹

  1. Copy the TXT record value from Search Console.
  2. Log in to your domain registrar's DNS management panel.
  3. Add a new TXT record for your domain with the provided value.
  4. DNS changes take 5โ€“60 minutes. Return to Search Console and click Verify.

Step 3 โ€” Submit Your Sitemapโ€‹

OJS generates an XML sitemap automatically at /sitemap.xml.

  1. In Search Console, go to Sitemaps (left sidebar).
  2. Enter sitemap.xml in the sitemap URL field.
  3. Click Submit.

Google will crawl the sitemap and use it to discover all journal articles, issues, and pages.

tip

Verify your sitemap loads by visiting https://yourdomain.com/sitemap.xml in a browser. If you see a blank page or error, ensure OJS is configured correctly.


Step 4 โ€” Monitor Indexing Statusโ€‹

After submission, allow Google 1โ€“7 days to crawl your sitemap. Then:

  1. Go to Index โ†’ Pages (or Coverage) in Search Console.
  2. Review the Valid count โ€” this shows how many of your pages are indexed.
  3. Review Errors and Excluded pages.
  4. Click on individual errors to diagnose (e.g., "Submitted URL has crawl issue").

Step 5 โ€” Monitor Search Performanceโ€‹

  1. Go to Performance โ†’ Search results.
  2. Review:
    • Total clicks โ€” how many times users clicked your journal in search results
    • Total impressions โ€” how many times your journal appeared in results
    • Average CTR โ€” click-through rate
    • Average position โ€” average ranking position
  3. Filter by Pages to see which articles are getting the most search traffic.

Common Issues and Fixesโ€‹

IssueFix
Pages not indexedCheck robots.txt is not blocking Googlebot; ensure pages are publicly accessible
Sitemap errorsVerify sitemap.xml is valid XML and accessible
URL not in sitemapCheck OJS base URL in config.inc.php matches your domain
Slow indexingUse URL Inspection tool and request indexing for individual articles

Next Stepsโ€‹