WordPress.org

Ready to get started?Download WordPress

Forums

htaccess redirectmatch with question mark doesnt work (1 post)

  1. RobertHarm
    Member
    Posted 5 years ago #

    I found out that Googlebot is causing many 404errors daily by calling my URLs with appendix ?tag=xyz (e.g. http://​www.xyz.com/robert​/young-hillary-clinton​/?tag=directlink)

    I tried to set up a redirectmatch-entry in htaccess but didnt succeed, because the question mark is not recognized:

    redirectMatch ?tag= http://www.newurl.com

    I tried many variations according to sites about redirects but didnt succeed - can anyone please help me?
    Thanx in advance!
    Bob

Topic Closed

This topic has been closed to new replies.

About this Topic