## How to remove year page from wordpress

Question

I have tried to add page with permalink 2020 but unfortunately it is taken by some build in wordpress year archive page. How can I reclaim such permalink? :
http://localhost/wp/2020/

I have used following code to remove those pages:

// remove year archives