Cannot remove action noindex in wordpress

2020-04-19 06:29发布

I've done some research and run up with this code

remove_action('wp_head','noindex',1);

but apparently it's not removing the <meta name="robots" content="noindex,follow"/> in my WordPress header. I'm using WordPress 4.2.3

2条回答
姐就是有狂的资本
2楼-- · 2020-04-19 07:06

Log in to your WordPress website.

When you're logged in, you will be in your 'Dashboard'.

Click on 'Settings'. On the left-hand side, you will see a menu. ...

Click on 'Reading'. ...

UnCheck 'Discourage search engines from indexing this site'.

Click 'Save Changes'.

查看更多
Evening l夕情丶
3楼-- · 2020-04-19 07:13
登录 后发表回答