.htaccess and Google search results
-
Hi, I have posted before regarding my search engine rankings and having pages drop from search results. I’m thinking maybe i screwed up on my htaccess file. Here’s what I have in it:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-trackback\.php.*$ – [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
I also have the following in my header:
<title><?php bloginfo(‘name’); wp_title(); ?></title>
<?php wp_head(); ?>
<?php
if (is_single() || is_page() || is_home() && ($paged <= “1”)) {
echo “<meta name=\”robots\” content=\”index,follow\”>”;
} else {
echo “<meta name=\”robots\” content=\”noindex,follow\”>”;
}?>Is this not right?
- The topic ‘.htaccess and Google search results’ is closed to new replies.