Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
15 views

Which functions.php to modify to get rid of nofollow. noindex

so first off, I am NOT an I.T. guy or a developer but a sales guy who happens to know how to get around with code a bit. Backstory: our web developer added meta robots nofollow, noindex without ...
0
votes
0answers
18 views

How to add “nofollow” attribute to only external links

I want to add "nofollow" attribute to only external links with the attribute target="_blank" in the content of the post. Internal links should stay follow and not target attribute. I have this in my ...
0
votes
0answers
15 views

How to change external links to “nofollow” for Contributors only?

I want to change all external links from posts that have been already created by "Contributors" only to "nofollow". This should be done for all posts: the current and future posts. Is there a way ...
1
vote
0answers
29 views

How to change all external links to “nofollow” but only for Contributor role?

Is there a way that I can change all my current (and future created) links to nofollow created by Contributor and leave all links "follow" created by the Administrator or Editor.
0
votes
3answers
274 views

Detect and make links nofollow in author description

I have this code in author.php file echo $part_cur_auth_obj->description; How can i parse the echo so the links within the author description will have the rel="nofollow" attribute set ...
0
votes
2answers
319 views

How to set all external links to a certain domain to “nofollow”?

I am searching for a code or better a wordpress plugin to set automatically all links only to a certain domain (and of course to all of its subpages) to "nofollow". I could not find any plugin which ...
0
votes
1answer
141 views

How To Remove a Tag?

I would like to know how to remove the tag nonidex, nofollow from my page header. My website is related to the industry of man and van removal company London.
2
votes
1answer
352 views

How to add nofollow site-wide

I'd like to change the meta robot tag on my site to be noindex and nofollow. When I set the WP settings in "Search Engine Visibility" to "Discourage...", it only generates: <meta name='robots' ...
3
votes
1answer
302 views

Nofollow external links

Hello guys i am using following code to make all external links nofollow. add_filter('the_content', 'my_nofollow'); add_filter('the_excerpt', 'my_nofollow'); function my_nofollow($content) { return ...
2
votes
2answers
548 views

Change to nofollow tag in wp-login.php

In wp-login.php default is: <meta name="robots" content="noindex,follow"> I want to change it to: <meta name="robots" content="noindex,nofollow"> Is there an easy way or script to ...
-1
votes
1answer
177 views

Anchors in WordPress not followed/ indexed in sitemap.xml

Have anchor tags on a WordPress page about 300 on a page which are not listed in sitemap.xml, these links are generated dynamically. How do I index these? Structure: A navigation link say Games when ...
0
votes
1answer
114 views

Prevent “nofollow” from Being Inserted into BBPress Posts

How can I prevent "nofollow" from being added to my internal links on bbPress posts? (I have the latest version of bbPress and WordPress) The "nofollow" attribute is being added to my internal links ...
1
vote
1answer
202 views

Remove “nofollow” from widget_text

How can I remove rel "nofollow" from a widget_text? I'd like to try a solution without install a plugin. Thanks.
6
votes
2answers
847 views

NoFollow Entire Website

By default whenever you disable indexing via Admin Settings [ x ] Discourage search engines from indexing this site It adds a meta tag in the header like so: <meta name='robots' content='...
1
vote
1answer
2k views

Removing rel=“nofollow” from links posted in Post Content

I am running wordpress for my blog EasyPadhai. I am writing a posts and I have included links to my Android app EasyPadhai for my users. But all links to app are turning in nofollow links. Also ...
2
votes
6answers
1k views

How to use wp_rel_nofollow to add nofollow to external links only?

I want to add nofollow attribute to only external links in the content of the post. Internal links should stay follow. So, can I use wp_rel_nofollow() to make only external links nofollow? Or do I ...
0
votes
0answers
137 views

Add nofollow to custom field link and make domain exceptions?

I have a theme that enables users to comment a post, and also to add a link inside a custom field. I've tried a few plugins to try to force a nofollow attribute, but none seem to affected the links ...
0
votes
1answer
1k views

Noindex,Nofollow in theme's header.php?

My theme's header.php file contains this : <?php if (is_search()) { ?><meta name="robots" content="noindex, nofollow" /><?php } ?> What does that mean ? And does it affect my ...
1
vote
2answers
506 views

Adding nofollow to a PHP generated Nav

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $wp_query; if ( $wp_query->max_num_pages <= 1 ) return; ?> <nav class="woocommerce-pagination"> <?...
0
votes
1answer
3k views

WordPress is adding rel=“nofollow” and target=“_blank” to internal links in posts and pages

For some reason WordPress started to add rel="nofollow" and target="_blank" to some of my links in my posts and pages. Not to all my links but randomly. I really dont know why because when I'm ...
-1
votes
1answer
2k views

How to add nofollow on all external links without plugin?

I have tried many plugins, which are doing the thing I want, but they are blocking my other plugins (1 in particular, which is indispensable for my site). Anyhow; how can I add a nofollow on all my ...
1
vote
1answer
5k views

How to restrict access to wp-content, wp-includes and all sub-folders

after searching I didn't find an answer still confused of how do I hide the -> wp-content --> uploads --> themes --> plugins -> wp-includes in browser. What I want is when viewer browse some like this:...
1
vote
1answer
606 views

How to make “more” or “continue reading” links on excerpts nofollow?

I tried to make each one of my post excerpt's link to the full post "nofollow" like this: <a href="<?php the_permalink() ?>" rel="nofollow">&rarr; Continue Reading</a> However, ...
0
votes
1answer
254 views

Auto Nofollow attribute in custom field links. How?

I have a wordpress network. All the contents in my network are user generated. All posts links are now dofollow. I want to change it to nofollow. My site uses plugin for custom fields. I removed the ...
1
vote
1answer
5k views

How to noindex nofollow custom post type?

I've created a custom post type that displays the individual entries collectively on a page. However, I've found that Google is not only indexing the page, but the individual posts as well. I only ...
1
vote
4answers
1k views

A plugin for having rel=“nofollow” in posts?

I'd like to make all the links in posts on one of my sites to be with rel="nofollow" on links inside posts. I wasn't able to find a plugin that did the job except for WP-NoExternalLinks. It also ...
1
vote
1answer
715 views

breadcrumbs & rel=“nofollow”

Should a breadcrumbs navigation have links set to rel="nofollow"?
4
votes
2answers
3k views

How to add a filter to all widget output

Is there one last filter that is ran over the widgets before they are sent out to the browser? I would like to add a filter that adds rel="nofollow" to all links in all widgets. For instance, I can ...
0
votes
2answers
758 views

How to add rel=“nofollow” to wp_list_pages?

I'd like to use the wp_list_pages as a navigation bar, but I don't want the links to be followed. This is the simple version of the code I'm using <?php wp_list_pages('hierarchical=1&title_li=&...
0
votes
3answers
4k views

Setting up robots.txt with Yoast's Seo plugin

I was looking for a decent robots.txt solution for my wordpress sites and after some searching I found Yoast's SEO plugin that provides a complete SEO solution including indexation. I set it up it to ...
1
vote
1answer
181 views

How to add rel nofollow to this?

How can i add rel="nofollow" to this? echo " <a href='"; the_permalink(); echo "' >"."(...)"."</a>";
3
votes
1answer
4k views

Editing the Comment Reply Link

Just found this site via the WP-Hackers List, been using WordPress for years (make a living partially thanks to it) and never stumbled on this site! Posted this on the WP-Hackers list, but didn't ...
0
votes
1answer
580 views

Adding rel=“nofollow” to external links in posts?

I've tried three plugins to do this, non of them worked (I'm using WP 3.01): http://wordpress.org/extend/plugins/sem-external-links/ http://wordpress.org/extend/plugins/external-nofollow/ http://...