I'm kind of new to wordpress. what I want to do is;
For my home page I want to build URL like,
and fetch value with
but for other pages,
my URL will be like
Can I do it in wordpress? If yes, how can I do it? I want to do it with pretty permalinks.