How can I display an authors archive by author id instead author slug like
You can accomplish this with the following rewrite rule ( you'll want to add this in your
Be aware that you might need to flush your rules for it to become active. You can do this with rewrite plugin.
after investigation into wp rewrite rules for author and with help of @Mark Davidson everything is now working perfect author archives pagination and feed rss atom etc.
below is the code which i have created and pasted here to help others, Thanks Mark Davidson for providing a pattern.
this function will totally replace the author rewrite rules, if anyone want to add new rules and don't want to replace existing then he/she need to supply $author_rules argument in function like.