Noindex is added to my pages even tho I have turned it off

#645013
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Checking your robots.txt, it seems to be configured just fine. Please see the screenshot in the sensitive data section.

    Also, I checked one of your website’s pages and the robot meta is configured just fine. Can you please confirm if the issue is happening on other pages? If yes, please share the affected URLs.

    Looking forward to helping you.

    Hey, all sites that are a deal store page are getting no index.

    Hello,

    Thank you for getting back to us.

    Can you please share the URL to the page you are referring to so we can help review them?

    Thank you for your patience and cooperation. Looking forward to hearing back from you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hey,

    All pages that are after /butiker sent an example in the sensitive data but there is around 33 now and adding more everyday.

    Hello,

    We’ve checked the page, and indeed it is set to noindex.

    If you have already set the pages to index, then please follow our guide here to check if there’s a plugin/theme conflict that could set them to noindex.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue still persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hey,

    Tried that didn’t work.

    Hello,

    We tried unsuccessfully to find the backend to that URL you shared (chaching.se/butiker/autodude/), it looks like you’re using a custom post type. Can you please send us a direct link to the backend of that URL? Something like this (https://chaching.se/wp-admin/post.php?post=1576&action=edit) that leads directly to where that page can be edited.

    Alternately, you can use this code to programmatically set that URL to noindex:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    	// Get the current page URL
    	$current_url = home_url( $_SERVER['REQUEST_URI'] );
    	
    	// Define an array of pages to change the robots tag to noindex
    	$pages = array(
    		'https://chaching.se/butiker/autodude/',
    		'https://chaching.se/'
    	);
    	
    	// Check if the current page is in the array
    	if ( in_array( $current_url, $pages ) ) {
    		// Change the robots tag to noindex
    		$robots['index'] = 'noindex';
    	}
    	
    	// Return the modified robots array
    	return $robots;
    });

    You can learn how o add this code to your website here: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    We hope this helps you resolve the issue. If you have any other questions or concerns regarding Rank Math, please feel free to contact us again. We are always happy to help.

    Thank you for choosing Rank Math!

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hey,

    I have added the link in the sensitive data

    Hello,

    From our investigations, we can see that the link in question is actually a taxonomy, i.e. category/tag. It is not a Custom Post Type but a Custom Taxonomy. You can learn more about the difference here.

    We can also see that you have set Rank Math > Titles & Meta > Global Meta to Noindex Empty Category and Tag Archives. Since the custom taxonomy does not have any post attached to it, it is technically empty, so it is outputting noindex as you have set.

    screenshot showing Noindex Empty Category and Tag Archives as enabled

    We disabled the Noindex Empty Category and Tag Archives options and as you can see from the screenshot below, the page is now set to index.

    screenshot of the page source code showing the index tag

    Moving forward, you can either disable the Noindex Empty Category and Tag Archives option or you can use the previous code I shared with you to programmatically set the URLs you want to index.

    We hope this helps clarify the issue. If you have any other questions or concerns, please feel free to contact us again. We are always happy to assist you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)

The ticket ‘Noindex is added to my pages even tho I have turned it off’ is closed to new replies.