• Resolved sociobrightwp

    (@sociobrightwp)


    Hi guys,

    I did several SEO audit and all of them report issues that each testimonial is treated as a post with a unique url. As testimonials are usually short in length this counts negatively for SEO. Do you have any proposals how to deal with the issue and not harm SEO , or even improve SEO with the use of the testimonials?
    Maybe there is a way that each testimonial is not reserving a unique url?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    I have no advice; I’m not an SEO expert.

    I plan to add the option to disable viewing the individual testimonials.

    Consider the Properties add-on for managing permalinks:
    https://strongplugins.com/plugins/strong-testimonials-properties/

    Or use this code snippet to disable testimonials URLs:

    /**
     * Prevent testimonial permalinks.
     */
    function my_no_testimonial_permalink( $args ) {
    	$args['publicly_queryable'] = false;
    	$args['rewrite'] = false;
    	return $args;
    }
    add_filter( 'wpmtst_post_type', 'my_no_testimonial_permalink' );
    
    /**
     * Prevent testimonial category permalinks.
     */
    function my_no_testimonial_category_permalink( $args ) {
    	$args['query_var'] = false;
    	$args['rewrite'] = false;
    	return $args;
    }
    add_filter( 'wpmtst_taxonomy', 'my_no_testimonial_category_permalink' );

    After adding or removing that snippet, reset permalinks by going to Settings > Permalinks and simply clicking Save Changes.

Viewing 1 replies (of 1 total)
  • The topic ‘Concerns for SEO’ is closed to new replies.