1

We have example.com/article-page-one/
This page has a short URL in Wordpress like this : example.com/?p=1
In this page we put short URL for users.
What will happen if we block short URL?
The robots.txt file will be like this:
disallow: /*?p=*
Will example.com/article-page-one/ de-indexed form Google?

1 Answer 1

-1

The pretty URL version will not be affected by Google if you remove the one with the ? in it.

That said I posit you would be better off doing a 301 (permanent) redirect to the pretty URL and I suspect that ove4 time Google will de-index the variant with the ?.

1
  • Do you mean "disallow the one with the ? in it"? Commented Feb 18, 2021 at 14:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.