Get value from URL with different types of parameters

I’m kind of new to wordpress. what I want to do is;
For my home page I want to build URL like, www.example.com/email/abc@example.com
and fetch value with email like

$wp_query->query[’email’]

but for other pages,
my URL will be like www.example.com/dashboard etc.

Can I do it in wordpress? If yes, how can I do it? I want to do it with pretty permalinks.

Read more here: Get value from URL with different types of parameters

Leave a Reply

Your email address will not be published. Required fields are marked *