I have a domain that has 1000's of pages and some how google is locating my unfriendly urls; domain.com/?epi=293
How would i best approach the 301 redirect? I know i can assign each link in HTAccess however i'm not going to put thousands of links into it. Would I use php redirect header? how does wordpress do it?
so everytime someone or google goes to domain.com/?epi=293 should redirect to domain.com/friendly_url_here.html