I got it resolved at the end. It was a conflict with my custom made plugin. I suspect I couldn’t figure it out since I had also enabled Jetpack Boost which is possibly caching everything and even after disabling W3 Cache, it didn’t do anything. Disabling both caching plugins and my custom plugin and also Yeast SEO plugin resolved things for me. Thanks for help
Thanks for the tips! Is there a way in WordPress to list the route(s) in question and find out where exactly are they defined in PHP code?
I believe the correct rewrite rule for page should be: pagename=lottery-systems-reviews
But why is it not being picked up? Where is the “year=” coming from?