Sure you can use it. Nothing special needs to be done and you don’t need a separate installation. Just install the plugin and create your redirects.
Thread Starter
Deon
(@deon-b)
Hey John thanks for the quick reply!
So you’re saying I don’t need to create a /go/ subfolder, I can just add /go/ to the link every time, so for example:
Source URL: /go/product
Target URL: product.com
Even if mysite.com/go/ doesn’t exist?
Yes, that’s one of the main purposes behind the plugin. It’s not based on real directories or pages.
Thread Starter
Deon
(@deon-b)
If it’s not based on real directories, if then I place a
disallow: /go/
will that prevent google from crawling all affiliate links like:
/go/1
/go/2
/go/3
Etc?
I thought this would only work if there was an actual directory named /go/
It makes no difference whether they are real directories or not. WordPress pages are also not real and still work fine.
Thread Starter
Deon
(@deon-b)
Hi John,
but how do I set all these new “pages” website.com/go/product from being indexed. Is there a way to add a no-index meta tag to all of them like some affiliate plugins do?
Thread Starter
Deon
(@deon-b)
Thanks John,
Basically if I choose “site”, your plugin will apply no-index to the whole site? That is like a nuclear bomb, I think that option should be removed for safety.
If I select “redirect” it will apply no-index only to the redirects created using your plugin or also to other redirects I created in htaccess in the past?
I think that option should be removed for safety
Your needs are not the same as others.
If I select “redirect” it will apply no-index only to the redirects created using your plugin or also to other redirects I created in htaccess in the past?
The plugin has no knowledge of redirects outside of Redirection. It will only be applied to the ones in the plugin.
Thread Starter
Deon
(@deon-b)
@johnny5
I added the no-index x-tag following the instructions:
https://prnt.sc/_syG5gY9INzs
How can I verify that the no-index tag is working correctly? Here it seems it’s not working:
https://prnt.sc/X59tTEu65sYA
Thank you!
Have you cleared any caches?
Thread Starter
Deon
(@deon-b)
Thanks John, I don’t have any caching plugin on the site, but now I checked this with Command Line, and it shows the no-index.
Is there a php code you can give me to put in my functions php to hardcode these no-indexes for the redirections?
I would feel safer with that, so if the plugin fails me at some update, I won’t have 2000 thin URLs indexed in google.
I think we’re looking at something similar to this?
function ta_add_noindex_headers() {
header( 'X-Robots-Tag: noindex, nofollow' );
}
add_action( 'ta_before_link_redirect' , 'ta_add_noindex_headers' );
I copy pasted the above from a similar redirection plugin support page, but I wouldn’t know how to adapt it for your plugin.
I don’t have any PHP code for that, no. There’s no reason to think the plugin will stop working, and it’s not really a problem that’s ever happened before.