Support » Fixing WordPress » Redirect URLs containing /? (question mark)

  • I see some sites linking to my blog as such:

    The blog is returning a 200 OK response on these (permalinks enabled), which effectively creates a duplicate content problem for me.

    I’m not a techie, but would like to redirect/rewrite such URLs to their respective version without ?something.

    Anybody willing/able to help? Thanks in advance! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am guessing WP has a built-in redirect prevention for this as not to accidentally make all the wp-login.php pages (register, logout, forgot password) unavailable.

    If so, is there any way around this?


    OK, I see nobody replied. Here’s what I put in my robots.txt file:

    User-agent: *
    Disallow: /*?

    It seems to be working. Can anybody comment?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect URLs containing /? (question mark)’ is closed to new replies.