How can I create a custom URL?

Hi,

I am trying to find this but I am not able to do it. I would like to create custom URL pages where I can add slugs or variable data for example one ID of an item or something like this. That is an example:

myapp.com/profile/{name_user}

is that possible right now? thank you so much in advance.

1 Like

Yes this is possible, but the recordId will always appear.
Here a doc about it:

Note that it can be automated with airtable formula

You can have / by adding it directly to the page slug in the softr studio (you will see that, by default, the studio adds a “-” , which is often not correct)

1 Like

Thank you for your help. I’ll go to try.

If any problem, just re-post here, I will guide you by public answers, so anyone can take advantage of it

In order for the redirect to work, you have to switch to the SEO:Slug format of record ids, because the ? character isn’t allowed in the target of a redirect.

1 Like

I have this in a list:

and right now I would like to add a button to the user can add some blocks that I like, but I would like that it will be on the same page with visibility management. Do you know what I can do?

Has anyone found a workaround for this? Would love to be able to have clean urls without record IDs if possible.

The only workaround right now is to use the url redirects feature. As I mentioned earlier in the thread, this will only be possible if you also use the SEO:Slug field in the associated table.

just came across this, I am inspired to take a punt at this. Thanks :slight_smile:

Hi @matthieu_chateau do you know why the recordId must appear?
This looks really bad in a url.
I have a website that is a colection of properties to be booked. I’m creating a google business store location with each site. Can you imagine how bad it reads putting such a url onto my google business store?

I think it’s just not a priority for Softr. They would need to create a Url rewriting system in their own backend and they have more prior features/improvements. Url rewriting system obeys to rules and I just don’t know how they could find a good way to find rules that would apply to all Softr clients).
Product management as always.

But many platforms let the id appear => Airbnb for example.

Though maybe there is a way to remove the url from Google business store.

Airbnb actually lets you create your own custom link to promote your listing, because they are able to imagine how bad a recordId looks on a URL to promote your place.

Hi @dvarela thanks for your question here. It’s totally understandable. I’m checking with our team to see if anything can be done here to bypass this. Please hang tight while I dive deeper into this for you.

And thank you to @matthieu_chateau for trying to help on the matter. Matthieu as you probably already know, is one of our most helpful community members, spending lots of time trying to help you all make better Softr applications.

And finally, it’s a good day to remind everyone that we’re a community that’s here to support each other, and we appreciate all that each of you do to help us all learn, and get better every day! :raised_hands:t3:

1 Like

@dvarela I have an update from our team for you:

If you use the List Details block, then it can not be bypassed as the record ID is needed for the system to “know” which record’s data to show (in simple words). The content for each list record will be generated automatically on that page depending on which record ID is placed in the URL (which shows the record from where the user has navigated to the List Details page).

SEO parameters/slugs may help as described here but the recordID will still be there.

So unfortunately, not a great way to do what you’re looking to do at the moment with Softr. Another option could be to use a URL shortener / redirector.

Hopefully this is helpful!

Hi @Jjenglert can you confirm if this is still not possible? I’m trying to do it now for a blog directory + blog posts.

I’ve started to follow the instructions above from @matthieu_chateau and @dcoletta but I get stuck at adding in the ‘old’ URL to redirect from in Softr – it doesn’t allow me to use the { symbol (changes it to a hyphen ‘-’).

Anything would be helpful! It seems like this feature has been a request for a couple of years?

Hi @Laura_FindAIPros nothing has changed on my side since this last post. I’d look into integrating slugs for the best use case at this moment.

I totally agree. This is one of the changes I’ve been looking forward to since I started using Softr three years ago.