functions – My website is generating weired url parameters of paginated pages
i have a website example.com, but i redirected its home page to my static post right.
so when i type url example.com/page/1, this will lead to home post page, same goes with /page/2, 3, 4 so on….
the problem is, when i type this parameter “?attachment_id” after my paginated page url like this (example.com/page/1/?attachment_id) so this will lead paginated page, and this link is working fine.
same this paramater is also working with paginated page example.com/page/37/?cat=-1.
and google is indexing some of these pages as well 🙁 i got this url parameter of google index list. how do i fix this issue from my wordpress site.
why there are 2 extra version of same paginated page.