-
The normal WordPress gallery created in the classic editor does not work after enabling the Rank Math SEO plugin.
When you click on the image, the picture does not open in a new window, but simply reloads and jumps to the beginning of the post.
Can you see what’s wrong?
-
Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
We have tried replicating this issue with the classic editor, but it seems to work fine:
https://i.rankmath.com/UZI2nuPlease let us know if we’re missing steps to check for this issue.
Meanwhile, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like 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/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.
Looking forward to helping you.
Thank you.
If a plugin affects one theme, it can affect many other WordPress themes.
In your example, the post is not published.
It feels like you don’t really understand what I’m talking about.
The problem is opening in already published content. Does not open in a separate window published images in the gallery (as an example in the link).
Hello,
We tested the page you shared and noticed that Rank Math is enabled but still, the images are being loaded as you mentioned: https://i.rankmath.com/8zOEz5
Don’t hesitate to get in touch if you have any other questions.
The plugin was disabled, now I specifically enabled it.
Please repeat the test.
Single photos could be looked at before (as in the test).
Important (!): See the photos below, where there are several in a row (gallery).
They do not open, with disabled plugin – they open in a separate window.
Hello,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
I was able to replicate the issue.
We might need to take a closer look at the settings. 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.
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.
Hello,
It seems you have pasted the incorrect information in the Sensitive data. Could you please insert the working temporary login access so we can further troubleshoot the issue?
Looking forward to helping you on this one.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thanks for sharing the sensitive data.
I have checked the posts on your site when Rank Math was enabled and the images in the gallery are opening in a new window (lightbox) as per your requirement.
Please have a look at this screencast – https://i.rankmath.com/4tD02F
Do let me know if I am missing something here and please do not hesitate to get in touch if you have any other questions.
Looking forward to helping you.
Thank you.
I didn’t ask them about the lightbox!
Hello,
We apologize for the inconvenience.
The temporary login you shared doesn’t seem to be working anymore. Can you please renew or extend to at least 3 days so we can further troubleshoot the issue?
Looking forward to helping you on this one.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
This was being caused by the option to redirect attachments that were enabled on your website under WordPress Dashboard > Rank Math > Links.
When we disable that the images load fine on their own pages.
Hope this helps clarify your doubts.
Don’t hesitate to get in touch if you have any other questions.
Thanks for solving the problem.
Disabling links will not affect the plugin?Hello,
We are simply disabling the option that redirects attachments to the page/post they are attached. This won’t cause any issues with the plugin and we have an article that goes over this setting and what might be the best options: https://rankmath.com/kb/should-you-redirect-attachments/
Having said that, it’s entirely up to you if you would like to keep redirecting or not the attachment pages.
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.
The ticket ‘WordPress gallery not working after enabling Rank Math SEO plugin’ is closed to new replies.