Hello everyone, my name is Katie. I am new at my company and trying to figure out why their/our SEO has diminished in google results. Just 4 months ago they have printed verified proof they were page one and two in organic search results. Now we cant be found in the first 50 pages. The site itself is clean and friendly. I wanted to ask for input on this htaccess file. My boss is asking me to take a look at this file specifically. Could any of these items be conflicting with the websites ranking? Here is the code below.
Also this is my first thread, hope I gave all the right info
<Files .htaccess>
order allow,deny
deny from all
</Files>
rewriteengine on
rewritecond %{HTTP_HOST} ^mydomaincom$
rewriterule ^$ "http\:\/\/www\.mydomain\com\/" [R=301,L]
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?mydomaincom/.*$ [NC]
RewriteRule .(gif|jpg|swf|flv|png)$ /feed/ [R=302,L]
<filesMatch "\.(gif|jpg|png|ico|js|css|pdf|html)$">
Header set Expires "access plus 7 days"
</filesMatch>
AddDefaultCharset utf-8
DefaultLanguage en-US
IndexIgnore *
<ifmodule mod_deflate.c="">
<filesmatch ".(gif|jpg|png|ico|js|css|pdf|html)$"="">
SetOutputFilter DEFLATE
</filesmatch>
</ifmodule>
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
Thanks so much for your help. -Katie Masters






Comments on this post