I must say that I am a complete nooby at Wordpress custom URL rewrites. I have searched for past many days to find a clear explanation of how to determine and write correct pattern for URL rewrites. I have a custom page template that uses query var passed to it, e.g. http://example.com/pagename?user=username. In this "pagename" refers to the custom page template and "user" refers to the custom query var. I need this to be represented using the URL http://example.com/pagename/username.
I also require the above to work with pagination. So http://example.com/pagename/username/page/2 should be able to represent http://example.com/pagename/page/2?user=username
It would be great if someone can provide me with a working example and an explanation of how I should determine and write correct pattern for URL rewrites.
Regards, John
pagename
be dynamic, or a 'known', static slug?