Using page parameter to show user profile

Hi. I am building a link in bio product. I want to use page parameter to show a profile page.

while building it I used a page with a form to write the username to load a profile. For example type axel on the form on www.blipi.link/asignar-usuario and a profile page for axel will load.

But on this published project I want the users to just type the url with the desired username, example www.blipi.link/axel but it does not load anything. But if I type the link to show the details of a property on axel’s profile, it works (example copy and paste this link on your browser www.blipi.link/axel/recGOi11zJkgcouB0)

Has anyone worked on something similar and have a recommendation for this to work?

thanks!

You might want to look into how Dynamic pages and parameters / query strings work. On WeWeb’s YouTube, there is I think two tutorials on how to make this in different ways) I wish I could refer you to the exact videos, but maybe @Joyce will be able to find it quickly, as she creates them)

Hi @axelg :wave:

@Broberto is correct. We have a video on dynamic collection pages that shares two approaches.

Method 2 in the video above should solve your problem :slight_smile:

Don’t hesitate to reach out if anything is unclear! It can be tricky to setup at first

Hi! Thanks to both @Joyce @Broberto

I already did all the procedure and executed this experiment:

1st case: www.blipi.link/a/axel - here it works and it shows the profile, but I added the ‘a/’ in the url before the page parameter.
2nd case: www.blipi.link/axel - but in this case it does not work, it does not even load all the components that have nothing to do with the parameter.

The second case would be the ideal

Thanks for replying

Hi Axel I managed to do this. But mine was yoururl.com/id /name. I would presume yoururl.com/name would work too.

Hi @axelg :wave:

Can you share a screen recording walking us through your attempt at implementing method 2?

This will help us see where you’re stuck and hopefully point you in the right direction.

Hi @Joyce

I already received an answer from the WeWeb team on the ticket support platform. It can only be done with method 1. So I’ve decided to go with www.blipi.link/profile/username

Thanks!

1 Like