Use SLUGs without creating new page

Hello everyone.

After a bit of research, I end here asking for the bests :sweat_smile:
I’m creating a platform that contains social interaction.
Users can view each other profiles and do a number of things like a message or follow.

I have created a profile page that loads information based on the username which is also a SLUG
or vice versa. Like this: https://appexample.bubbleapps.io/profile/username

What I want is to eliminate the profile and the address to be simply with a username
like: https://appexample.bubbleapp.io/username

Is it possible?

Thank you guys in advance
Fabian

Not possible.

Thank you for your reply.

If it’s impossible then I have another question.
How to redirect the profile page (without the username attached or slug) to another page.
I don’t want the users to access it because it’s useless without slugs

Thank you again
Fabian

Setup workflow “Do it every time” only when “get path from the URL is empty” and redirect to the page you want to send your user.

Ankur@ Nocodetalks
Looking for a Bubble Coach? Check out here

1 Like

i don’t see any restrictions. why would you say impossible? you’d just have to manipulate the landing page to be essentially be the index and the dashboard.

@doug.burden, have you done that? I will love to see the solution.

Absolutely.

@doug.burden can you share your solution?

I tried removing the “index” from the url and setting up the slug. But it didn’t work out.

aside from index, you don’t need additional pages is what i’m saying, and what i imagined he was asking

Yeah, I am not using any other page apart from “index” @doug.burden

Come to think of it, we need to request a feature to be able to dynamically change the names of pages to a slug if we wanted. like twitch.tv/aydan

You can do this with the service from nocodemayo.com

Hi Doug.Burden thank you for your reply.

Are you saying that the profile page should be the index page?
Because I want the index page to be the main page.

Or if I haven’t understood it well. Can you give me an example?

Thanks again
Fabian

Mike thanks but I want to do it inside bubble.io Not from other services.

Fabian

I did it Ankur1

But for a second it shows the profile page and then redirect it to the homepage.
How can i do it more faster?

Thank you again
Fabian

Hey Fabian,

Yes. Just like Facebook for example. Their landing page is their profile dashboard - no slug in url.

So what you would do is create a landing group and hide it once a user logs in and show a dashboard group.

If your privacy rules are setup correctly in your database, the info provided on a profile will be user specific without any extra logic required.

Doug…
I didn’t understand anything :slightly_frowning_face:
What do you mean?

I want it to be exactly like facebook.com/username

But I don’t get it. What should I do?

Thank you again
Fabian

You can use nocodemayo.com with your bubble app

This question has come up a lot in the forum (including twice yesterday)… and the short answer is that it’s not possible to do this in Bubble…

Here are some other threads discussing the same issue…

Profile page without subpage - Need help - Bubble Forum

Direct links for users? - Need help / Database - Bubble Forum

2 Likes

You can do this with the nocodemayo.com plugin. Just add a route for each user.