Forum Academy Marketplace Showcase Pricing Features

Slugs not showing in URL

Hello,
This is for our webapp, https://uportal.io

If you scroll down to the homepage and click “view post”, it still opens with a unique ID in the URL. We have slugs inputted into every data entry. There’s also a workflow to generate slugs upon post creation. We’re using the bubble native “open a new page” and sending the post data into the page.

I’ve also tried custom JS:

window.open(‘Website home URLstories/Parent group’s Post’s Slug’,’_blank’);

, but I can’t pull up the data entry in the new page. I’ve disabled it in the live version for now.

Is anyone else experiencing this issue, where the slugs just don’t take effect?

Or am I just stupid and doing this wrong :smiley:

Is the page set to the correct data type? When you send data to a page, you can either use query strings which you can pull using “get data from url” or you can set the content type of the page and send the unique ID or slug.

1 Like

Check your privacy settings on the datatype and make sure the slug is not restricted by privacy rules

1 Like

Appreciate the help-- looks like I had unchecked it for the common user on the privacy rules :smiley:

Silly me…

It’s always privacy rules

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.