400 Bad Request Error - Please Help

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
Posts: 5
Joined: 06 Jun 2012, 04:57

400 Bad Request Error - Please Help

06 Jun 2012, 04:59

Hi
Can anybody help, i am getting this error

Its giving me 400 Bad Request..
I don't know how this url came in google index, actually its joining my home page and my product page with a space in between..
like this
http://www.mywebsite.com/ http://www.mywebsite.com/10014.htm
and its giving me a 400 error

I want this to be redirected 301 to my product page like this http://www.mywebsite.com/10014.htm

Can anyone Help.

Thanks

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: 400 Bad Request Error - Please Help

06 Jun 2012, 07:26

Hello,

Please, try using the following:

Code: Select all
RewriteEngine on
RewriteBase /

RewriteCond %{HTTP:Host} ^www\.mywebsite\.com$
RewriteRule ^\shttp\://www\.mywebsite\.com/10014\.htm$ http://www.mywebsite.com/10014.htm [NC,R=301,L]


In case this won't work, please, provide rewrite.log for the testing request. Logging issues described in FAQ

Regards
Andrew

Posts: 5
Joined: 06 Jun 2012, 04:57

Re: 400 Bad Request Error - Please Help

08 Jun 2012, 10:56

Thanks.. For the update its working...

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests