Is it possible to have a Search Page that is open for public in Confluence?
Asked by Steve P:

Hey everyone, I'm Steve, an instructional designer, and I create training materials such as LMS and KMS for a company.

I wanted to ask if its possible to make a search option public in confluence.

I was able to create a search bar that works on the 'edit side of things, you can check out screenshot #1.

But when you view it as an external user, the search bar is not accessible., Please see screenshot #2.

Although I have made every page public,. the search option is still saying, "You don't have access to see this content."

Can anybody point me in the right direction?

Thanks


Answers:
author: Kristian Klima
body: Hello [@Steve P](/t5/user/viewprofilepage/user-id/5515177) and welcome to the Community.

Making individual pages public means exactly that. They are individual pages.

To allow searching in your space, you need to set the spae permissions to allow anonymous access (for viewing).

Alternatively, you can use [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview) by K15t to create a dedicated public doc center from your private (no public access) Confluence space. You will, basically, separate your Confluence where you can edit etc. from your website for content consumption.

It will then look smth like [this.](https://docs.emplifi.io/)

comments: author: Steve P
body: Hi, [@Kristian Klima](/t5/user/viewprofilepage/user-id/5074962)

I actually did what you suggested but for some reason, I could not see the space I created in the space permissions.

![Screenshot 2024-06-07 172703.png](https://community.atlassian.com/t5/image/serverpage/image-id/328588i38D83FD833D9444C/image-size/large?v=v2&px=999 "Screenshot 2024-06-07 172703.png")

I also skimmed at scroll viewport. Looks great! But I wanted to exhaust all efforts into confluence before branching out to paid apps that might disconnect in the future.

I also realized that I did not paste the screenshot properly. So here is my dilemma from the start of this post:

I was able to create a Search Macro and it works on the edit side:

![Screenshot 2024-06-07 173113.png](https://community.atlassian.com/t5/image/serverpage/image-id/328589i917F5E4EB8EA4F21/image-size/large?v=v2&px=999 "Screenshot 2024-06-07 173113.png")

But when I share this link: it comes up as this:

![Screenshot 2024-06-07 173252.png](https://community.atlassian.com/t5/image/serverpage/image-id/328590iC272734B80F79509/image-size/large?v=v2&px=999 "Screenshot 2024-06-07 173252.png")

" You dont have access to this content" despite the page being for public use"


author: Kristian Klima
body: This is a space on my own Confluence

<https://d-art-s.atlassian.net/wiki/spaces/DT/overview?homepageId=106856578>

And here's the settings.

![2024-06-07_12-03-45.png](https://community.atlassian.com/t5/image/serverpage/image-id/328595iDA5AF7AA226F0D6C/image-size/large?v=v2&px=999 "2024-06-07_12-03-45.png")

Here's where things get interesting. If you allow Public links on your site, you have TWO ways of sharing the link to a single page.

Here's the PUBLIC link to a page generated via Public link feature

<https://d-art-s.atlassian.net/wiki/external/N2NkYzEzNDljNzAyNGVjZGIxM2NjYTY1NzE3NjQxMDI>

And here's a link to the same page taken from the actual public version of the space: <https://d-art-s.atlassian.net/wiki/spaces/DT/pages/106954906/In+Other+Silences>

In other words, if you allow public / anonymous access to a space, then the Public Links institution is a confusing redundancy.

Could that be an issue?


author: Steve P
body: > Here's the PUBLIC link to a page generated via Public link feature
>
> <https://d-art-s.atlassian.net/wiki/external/N2NkYzEzNDljNzAyNGVjZGIxM2NjYTY1NzE3NjQxMDI>

Yes, I was able to achieve this. The page itself is public. But the the Search Macro isn't.

Here's the link to the actual page that I want the users to see:

[Knowledge Base](https://frontlinebi.atlassian.net/wiki/external/OWQ2NTRiNTc2MDMyNGJjNjg1ODI5MzVhYTNkZGU1ZmE)

as you can see. The page itself is public and can be seen for external use. but the search macro isn't.

Here is my space permissions:

![Screenshot 2024-06-08 000438.png](https://community.atlassian.com/t5/image/serverpage/image-id/328651i7169EEDD6F83DEA4/image-size/large?v=v2&px=999 "Screenshot 2024-06-08 000438.png")

I have hunch. could it be that the Search Macro will only show as public of the children pages are public? because here is what I want to happen:

![Screenshot 2024-06-08 000737.png](https://community.atlassian.com/t5/image/serverpage/image-id/328652iBCB9242B2CAA70F5/image-size/large?v=v2&px=999 "Screenshot 2024-06-08 000737.png")

I'm using the space overview as a means for the main page with the search macro. ( the one encircled in orange. )

The contents of what should come out when searching are the parent pages together with their children pages. (encircled in green).

Everything works in these "edit" mode. But when I use the Public Links:

![Screenshot 2024-06-08 001102.png](https://community.atlassian.com/t5/image/serverpage/image-id/328657iBB51E678694281D5/image-size/large?v=v2&px=999 "Screenshot 2024-06-08 001102.png")

The page does display publicly, but the search macro is still hidden:

![Screenshot 2024-06-08 001300.png](https://community.atlassian.com/t5/image/serverpage/image-id/328658iA554C3F30DE72D28/image-size/large?v=v2&px=999 "Screenshot 2024-06-08 001300.png")

so really the issue that I am really focusing on is having that Search Bar/ Search Macro to come out publicly. =)


Tags: cloud

confluence-cloud

live-search