WCFM Marketplace vendor page redirected to home page

#255637
  • Resolved Stefano Lodola
    Rank Math free

    A few days ago, I installed the plugin WCFM Marketplace.
    With Rank Math on, I can’t open the vendors’ pages, for example, this:
    https://www.thinkinitalian.com/teacher/prova/
    When RM is off, I can open it.

    This page is the vendor’s profile including the products they sell.
    It’s not an author archive page. Just in case, I tried enabling/disabling author archive pages, but nothing changed.

    This issue seems to be common with this and similar multi-vendor plugins for Woocommerce. The solutions suggested include re-saving the permalinks and clearing the cache. That didn’t work.
    When I tried disabling RM, it worked instantly.

    How can I open the store pages without giving up RM?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Tammy
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today, and we apologize for any inconvenience this may have caused.

    Sorry for the issue you are facing.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it could be a conflict with one of the plugins or the theme you are using.

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

    Please let us know if you find the culprit.

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

    I hope this information is helpful, and please do not hesitate to contact us if you require any additional support.

    Thank you.

    If the page created by WCFM Marketplace works when RM is off, it’s a conflict between WCFM Marketplace and RM. No?

    Hello,

    In this case, we might need to take a closer look at the admin dashboard. Please edit the first post on this ticket and include your WordPress login 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.

    Ankit
    Rank Math business

    Hello,

    Please try to use the below filter and modify it according your needs to disable the Rank Math from certain pages:

    add_action( 'wp_head', function(){
    	if( is_page('1234')) {
    		remove_all_actions( 'rank_math/head' );
    		add_action( 'wp_head', '_wp_render_title_tag', 2 );
    	}
    }, 1 );

    Hope that helps. Thank You.

    I’ll try, thanks

    I don’t know the IDs of the vendor pages.
    So, I’m trying to disable RM based on the URL.
    However, it’s not working.

    add_action( 'wp_head', function(){
    	
    	if (strpos($_SERVER['REQUEST_URI'], 'teacher') == true) {
    		remove_all_actions( 'rank_math/head' );
    		add_action( 'wp_head', '_wp_render_title_tag', 2 );
    	}
    }, 1 );

    Before asking you, I had also tried disabling RM with Perfmatters, but that didn’t work, either.

    Hello,

    If we disable Rank Math that page returns a 404 page which is likely because of the restricted content.

    When we enable Rank Math this page is redirecting to the homepage because that’s the default behavior you have selected for 404 pages under WordPress Dashboard > Rank Math > General Settings > Redirections.

    If you switch that to be the default 404 behavior the page loads and returns a 404 with the message that the content is restricted which is happening also without Rank Math.

    Hope this helps clarify the situation.

    Don’t hesitate to get in touch if you have any other questions.

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

The ticket ‘WCFM Marketplace vendor page redirected to home page’ is closed to new replies.