Hi, I started a new blog, wp 2.82 and noticed all links where nofollow. Culprit -I guess- is wp_head() that seems to add in the HTML head: robots, noindex, nofollow. A workaround was to write underneath robots, index, follow. Questions: anybody else has this total nofollow with WP 2.82? anywhere in the wp dashboard this can be changed? if not, where to hack wp_head() or "the culprit"? Thanks, Stef
You mean 2.8.2? Personally, I remove <?php wp_head(); ?> from most of my WP themes. I love Wordpress, but I don't want them holding my hand every step of the way... If you want to leave it in, I'm guessing that "the culprit" MIGHT be in your theme's functions.php file. It's a wild guess, but search your functions.php file for "nofollow" and see if anything turns up.
2.8.2 wp_head() uses the description tags made by AllinOneSEO, that's why I want to keep it in the theme header. Any wild idea where wp_head() function resides? functions.php from the theme: classic theme has this code: <?php /** * @package WordPress * @subpackage Classic_Theme */ if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '', 'after_title' => '', )); ?> Cheers, Stef
I don't have an answer. But if it was me, I'd fire up something that could run a directory wide search (e.g Dreamweaver), and search my entire site (locally) for "nofollow".
There's no way that WP would have all links no follow as default, i'd try out the following: - Check all the blog settings for something realted to this, all the settings are found in your wp-admin pages. - Then i'd disable all my plugins to see if it had an effect, then if it solved the problem, re-enable them 1by1 to find which plugin was the culprit, then modify the offending plugins php file. Also jusy fyi I think wp_head is defined in a file called general-template.php or something similiar !!
I usually use Wordpress Multiuser with my clients but within that, there's an option to make a blog non indexable with the search engines. Look for an option under Settings labeled privacy. Can't remember if regular wordpress still has it but it used to.
Wordpress doesn't put a complete nofollow in the header. I have been using Wordpress for 5 long years now and have never faced any problems with it. In case you are facing a problem, I would suggest that instead of fiddling with the codes, you can install a plugin out of the many available and decide which links you want to put a no-follow attribute and which ones to put a follow attribute.
Five years, huh? Here's the code I was thinking of: http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/general-template.php#L1548 Take a look at the Privacy page under the Settings or Options page on the Dashboard of your blog. You probably have it marked as not being indexed by the search engines. If you do, it places the meta line I linked to up above into the header of your blog. Either that or the theme itself is hard coded to stick it in there. Take a look also at the themes header.php file to see. That would be a surprise but a few theme designers have done that by mistake. Hope this helps, -drmike Former Wordpress support forum moderator if that helps
Have been using WP for ages, never had any problem with it, yet if no other option, I rather fiddle with WP code than with plugin code wp_head() gets called in general-template.php, not defined but .. no need: For some reason in settings -> privacy, a setting made wp_head() to add noindex, nofollow in my header: Privacy Settings Blog Visibility I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers I would like to block search engines, but allow normal visitors Ticked the "visible for everyone" and all is fine, no extra robots line gets written by wp_head() Thanks all for your input Stef
The wp_head() hook in the header is essential for many plugins to work in WordPress, as well as other stuff, so removing it completely would not be recommended. The reason this is happening is because when you installed WordPress you probably forgot to check something like "Allow my blog to show up in search engines" which caused your blog to be set to "private" and the norobots/noindex code to get inserted via the wp_head() hook. Read this post: Are You Killing Your Own WordPress SEO? It's a relatively simple fix, like you figured out, but I get the feeling that others are facing the same indexing issues and don't even realize their blog is set to "prviate."
I have installed quite a lot WP blogs, and was never asked to choose between "keep the blog private or not". First time I installed a WP 2.8.2 though, and first time all links were nofollow, so I had wondered if WP had gone the same direction as wikipedia and make all links default nofollow. Next time I do an installation, will keep my eyes wide open to see if there are any choices I missed.
WP 2.8.4 is out.. 2.8.2 is buggy and has security issues, please upgrade asap. As for your no-follow that is not a default WP setting, if you downloaded it from Wordpress.org than you shouldn't have any problems, if you got it from a 3rd party then it is possible it has been modified. When installing you must check the tick box "allow blog to appear in search engines" this is below the section where you name your blog "Title" Good luck
That's not the wording they use exactly. If you check out this video and skip forward to about 4:50, there is a checkbox that says "Allow my blog to appear in search engines such as Google and Technorati" when you're setting your blog title and admin e-mail during the installation. You have to make sure this box is checked, or you'll run into the same problem again.
Some instructions call it the privacy check or something like that as that's the name of the subpage when you look at the admin side. Glad you got it fixed.
All this time I have been using Fantastico installation of Wordpress, so could be that they "changed" the default setting, anyways, happy to have found where I can change the setting, thanks all!