on-page problem need urgent help

i have problem with ugly url's being indexed. please advice me how to resolve this i never had this problem before.. so wordpress automaticaly create these shortlinks
domain.com/?p=111 – indexed
domain.com/sample-post/ – indexed this one is canonical

why both ugly and pretty url are indexed im afraid of duplicated content penalty.. permalinks are set correctly in wp settings. Also ugly url not redirecting to the pretty url, but i thought it not have to redirect if canonical is set.. i…

on-page problem need urgent help

Leave a Reply

Your email address will not be published. Required fields are marked *