RickJanssen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove /Page2/ etc from being indexed by google?Found this code to be replaced <?php query_posts(‘category_name=Blog&showposts=10’); ?>
by this
<?php
if (have_posts()) {
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“category_name=Blog&paged=$paged”);
}
?>the only problem I have not idea if it works as I do not know which file to modify nor could I find that code in my php WP files.
I have set these pages on my NZ site to noindex/nofollow the homepage /page/2 has been indexed by Google.
So I would like to delete /page/2 rather than hide it.I am struggling to stop the teleport pro bot but when I add a line to block it my site will get a 403 redirect path warning by Ayima addon in the chrome browser. Anyone knows how to prevent this? I tried to eliminate the second rewrite rule but that lifted the block and with the downloaded version of TP Pro I was able to “scrape” the site again.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR] RewriteRule ^.* - [F,L]Oh and the plugin is nice to have as it has an option to clean up the links in the (/)head.
Also change the title do not leave it the same as the h1 header.
I am a lazy person so I added the site name to it.
After using the plugin for a while IMO it is worth a solid 4 stars.Hi Jan the point is that I also have the same issue as Michelle : scrapers steal just a few lines and repost it on their (stupid) blogs. Point is you better add an author link to the content which helps a bit to fight them. On the other hand you need to check the noindex box for archives etc because it can add to the duplicate content problem. I have done this with my free slots info site and now it seems to be crawled more often.
Once I have more time to write I will point the Google plus author account to it.
Life is not perfect ; if you are living the perfect life consider the fact the Universe is not perfect either :-).I installed the Yoast seo plugin on my mobile slots site and this one does not have the option to set noindex for the archives and categories (WP no category base installed). I am testing the all in one seo plugin and check later if Google still will index them.
Forum: Fixing WordPress
In reply to: Malware BreechI should definitely have a look at the codes in your widgets as there is an db error shown on top of your index page. I also would advice you to do a secure site check. If you still can not solve look at the directories that you do not need for your site and remove unneeded themes and plugins. I have deleted unwanted coding in the current theme at [link moderated] so unwanted insertions are becoming most unlikely.
Forum: Fixing WordPress
In reply to: someone has hacked the site and inserted a linkI had the same with my site [ link moderated ] and reinstalled all WP files and removed all the not needed plugins and changed file settings on the server to 0644. It has been quiet ever since LOL.
When is this plugin compatible with the 3.5 version ?
Installed the plugin on [ link moderated ] and got an error message. Is it safe to have so many plugins for a site ?