logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Rules in htaccess are showing errors in SeoMoz reports
Author
jacielluve



Joined: 03 May 2013
Posts: 1
Location: Mexico, Mexico city

PostPosted: Fri 03 May '13 16:09    Post subject: Rules in htaccess are showing errors in SeoMoz reports Reply with quote

Hello,

How can i prevent error 302 in my site? for example, this ulr: http://www.saludymedicinas.com.mx/calculadoras/ is showing a status 200
but this same url http://www.saludymedicinas.com.mx/calculadoras is showing me a status 302 (note the lack of forward slash)

every folder in my site is showing this 302 error, so i tried to do a redirect in order to fix this, but its not working.

I think its the htaccess doing this kind of redirects in my hole site but im new to this file, so i dont know how to fix this. Rules in my htaccess are here:
(i cant write into htaccess, but i can see the content of the file)

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.saludymedicinas\.com\.mx [NC]
RewriteRule (.*) http://www.saludymedicinas.com.mx/$1 [R=301,L]


thanks for help
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 03 Sep '13 11:50    Post subject: Reply with quote

The 302 redirect is correct and should not be a problem. it is a correct apache behaviour
Back to top


Reply to topic   Topic: Rules in htaccess are showing errors in SeoMoz reports View previous topic :: View next topic
Post new topic   Forum Index -> Apache