How to check if URL contains data?

I feel like I should know this one but maybe I’m having a brain fart.

I have a profile page with type of content user, backup field for URL is username. So pages should look like

How do I check if the 1st path is not filled? i.e.

That way I can redirect user if they manually type , which doesn’t provide User info

When Get Data From URL (path) is empty

Thanks. I swear I was messing with that earlier and it wasn’t working but I must have been doing something wrong. Works now

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