how to index docman categories and document

#656535
  • Resolved Anonymous
    Rank Math free

    docman for wordpress is a great documentation manager coming from joomla.

    https://www.joomlatools.com/wordpress

    rankmath is usually a great plugin for index creation
    btu
    i cannot get indexation of docman pages inside rankmath

    what am I doing wrong ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous
    Rank Math free

    should it be possible to index docman pages and files with the paid version only ?

    Hello,

    Thank you for contacting Rank Math support and we apologize for the inconvenience.

    Can you please share the URL of the affected page so we can help investigate it? Thank you for your patience and cooperation.

    Looking forward to hearing back from you.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Anonymous
    Rank Math free

    as requested

    here are some examples of pages generated by docman plugin on a demo website

    Hello,

    We checked the URLs you sent us and they are all set to index by Rank Math.

    If you are wondering why they are not showing up on Google yet, you can use the URL Inspection Tool to check their status. This tool will tell you if Google has crawled and indexed your pages or not. You can find it here: https://support.google.com/webmasters/answer/9012289?hl=en

    If you want to use Rank Math’s SEO features on your Docman pages and files, you can do that by enabling the Add SEO Controls option for the Document post type. To do that, please go to Rank Math > Title & Meta in your WordPress dashboard and look for the Post Types section. There you should see the Document post type listed. Just click on the toggle button next to it to turn on the Add SEO Controls option.

    If you have any trouble with this or need more help, please let us know. You can share your website admin login details with us in the sensitive data section of your support ticket. We will be happy to take a look and assist you further.

    Thank you for your patience and cooperation. We look forward to hearing from you soon.

    Hello,

    In addition to the above, you could also control this robots tag programmatically using the rank_math/frontend/robots filter, here’s an example for the pages you specify:

    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 index
    	$pages = array(
    		'https://ecolia.cc/doc',
    		'https://ecolia.cc/doc/categorie/'
                    'https://ecolia.cc/doc/categorie/3336-ect172/?layout=default'
    	);
    	
    	// Check if the current page is in the array
    	if ( in_array( $current_url, $pages ) ) {
    		// Change the robots tag to index
    		$robots['index'] = 'index';
    	}
    	
    	// Return the modified robots array
    	return $robots;
    });

    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,

    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 6 replies - 1 through 6 (of 6 total)

The ticket ‘how to index docman categories and document’ is closed to new replies.