It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to avoid bad URLs getting indexed by Google?

With Confluence Server, Google indexes some bad URLs which shouldn't be visibile to users (like https://myconfluencesite/plugins/recently-updated/).

How can I avoid that?
Is the only solution to try and use a robots.txt and disallow /plugins/?

If so, how do you add a robots.txt to a Confluence Server install?

Any help would be appreciated, thanks!

1 answer

0 votes
Ann Worley Atlassian Team Aug 21, 2017

Hi Matthias,

Please see Prevent Search Engine Indexing Using Robots.txt. I look forward to any follow up questions and to hearing whether it works for your instance.



Hi Ann,

thanks for your reply and the link. It says that if I can't upload a robots.txt file (which is the case for my setup, unfortunately), then I should use the meta tag. But as I understand it, the meta tag doesn't let me block a URL like https://myconfluencesite/plugins/recently-updated/ from getting indexed, right? Or how would a meta tag look like that does that?



Hi Ann, do you have an update for me?


Ann Worley Atlassian Team Aug 28, 2017

My understanding is that you can block your entire instance from Google's indexing: Block search indexing with 'noindex'. Here are the examples of what the meta tag would look like, which you would paste in under Confluence Admin>Custom HTML>At the end of the head:

<meta> tag

To prevent most search engine web crawlers from indexing a page on your site, place the following meta tag into the <head> section of your page:

<meta name="robots" content="noindex">

To prevent only Google web crawlers from indexing a page:

<meta name="googlebot" content="noindex">

You should be aware that some search engine web crawlers might interpret the noindex directive differently. As a result, it is possible that your page might still appear in results from other search engines.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

114 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you