Hi There,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Kindly allow me to consult the dev team on this and then I’ll get back to you.
Looking forward to helping you. Thank you.
​​​​​​​
Hi Michael
Thanks! Looking forward to a solution from your devs! 🙂
Hello,
Sorry about the delayed response. Are you seeing any schema errors on your website? Can we see a URL where you are seeing errors?
Hello,
​​​​​
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated 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.
Hi
I prefer not to use the forum for this. Is there a way to contact you through email regarding this?
Hi Gilles,
Thanks for getting back to us.
The sensitive data section is very secure and only our support team is able to access it.
If you are still worried about your site security, please send an email to s******@r***********
We are looking forward to your response. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
In which file, did you add the code? I don’t see it in the functions.php file. Also, please give us a link to the page where you get the errors?
Looking forward to helping you. Thank you.
Hello
I removed it because it was not working. One version of the code also gave server errrors. If you have a good workaround, please let me know.
Hi Gilles,
Please share the code that you added and let us know where exactly you added it so we can help you better.
Hello
I mentioned this in the opening post and I added this to functions.php (removed by now because it was not working):
“I contacted Rankmath on Facebook about this and they proposed to add this to functions.php https://pastebin.com/6JWxEDep . Judge.me than proposed to replace the “ID_here” with “{{json product.url}}”. “
Hello,
I get Access denied error when I try to add the code in functions.php file from Theme Editor or from the WP File Manager. Please add some temporary FTP access in the Sensitive Data Section or try adding the below code in your theme’s functions.php file:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
global $post;
$entity['@id'] = get_the_permalink( $post );
return $entity;
});
I hope that helps. Thank you.
Hello
Thank you, going to try that. This is the only code that should be added then? No other changes to be made?
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.