On Thu, May 21, 2015 at 10:02 PM, Bob <bobnli...@gmail.com> wrote: > Thanks for your kind response. I have tried your rule sets but > unfortunately it is working as before. > > i.e. http://mydomain.com/page1/?xyz and http://mydomain.com/page1?xyz > both redirect to http://mydomain.com
My guess is that you still have a broken rule in your config from earlier attempts to get this working. Perhaps you've attempted to do this redirect via a .htaccess file and httpd.conf and forgotten that a broken rule is still in effect in one of those files. Also, how are you testing this? Do you have a UNIX like system you can work with? If so I would recommend hand-crafting the request and using the nc command to issue it. That gives you maximum control and makes it easy to see exactly what the web server is returning. For example, I created a file name "g.req" with the following contents then ran ```nc localhost 80 < g.req``` from a terminal window. Note that the last line of the file is an empty line. ``` GET /hello.php?action=register HTTP/1.1 User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0 Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate DNT: 1 Content-Length: 0 Host: www.skepticism.us Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Referer: http://www.skepticism.us/wp-login.php Cookie: wordpress_test_cookie=WP+Cookie+check ``` -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank