-
I updated WordPress, but your plugin gives 404 code.
-
Hello,
Thanks for contacting us and sorry for the inconvenience caused.
The issue seems to be only with the Babel Tower post as all other posts are loading fine. Can you please confirm if you have some other page or category with the same slug? Please also try flushing the permalinks by navigating to WP Dashboard > Settings > Permalinks and saving the settings without making any changes.
If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins 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,
Can you please confirm if this page is registered on your website? Because I tried looking for it in the dashboard but it wasn’t there so even if I disable Rank Math plugin, I can still see the 404 error for that specific page.
Since you have shared the
testme
staging site with us and the issue is happening on the live website, kindly make sure that you have reproduced the same issue on your staging site so this way, we can locate the issue. Or, you can share the admin login of your live website and troubleshoot the issue there instead.We really look forward to hearing back from you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
We’ve checked your site and we can see that your robots.txt file is working properly in
/?robots=1
. Please check the screenshot in the sensitive data section for your reference.In this case, please try to clear your website cache including any server-level cache, and CDN caches, and see if that helps you to resolve the issue.
Let us know how it goes. Looking forward to helping you.
Thank you.
I tried on the live site to copy the contents of the dell robots url. Now the robots.txt works. it’s your problem.
Hello,
This might be happening because the redirection for the
robots.txt
from?robots=1
isn’t taking place. In order to fix this issue, you can try adding some rules to your site, similar to the following rewrite rule, and check if therobots.txt
is working properly:# For Nginx server:
# START Nginx Rewrites for Rank Math Robots.txt File rewrite ^/robots.txt$ /?robots=1 last; rewrite ^/([^/]+?)-robots([0-9]+)?.txt$ /?robots=$1&robots_n=$2 last; # END Nginx Rewrites for Rank Math Robots.txt File
Here’s an article you can check as well: https://ubiq.co/tech-blog/rewrite-url-parameters-nginx/
# For Apache server:
# START of Rank Math Robots.txt Rewrite Rules RewriteEngine On RewriteBase / RewriteRule ^robots.txt$ /index.php?robots=1 [L] # END of Rank Math Robots.txt Rewrite Rules
Here’s how you can edit
.htaccess
file using Rank Math:
https://rankmath.com/kb/edit-htaccess/Please do take a backup before editing your
.htaccess
file.You can also ask your web host to do that for you.
Let us know how it goes. Looking forward to helping you.
Thank you.
Since I had to add a rule to the robots.txt file, I see no point in trying workarounds. Also, I prefer that you fix the bug in a stable way.
But thanks anyway. 🙂
Hello,
At the moment, we are relying on the server configuration as this is the best way to implement the redirection.
With that said, if this is something we can improve, we will surely do so.
Thank you so much for your feedback about it.
Don’t hesitate to get in touch with us if you have any other questions.
You must be logged in to reply to this ticket.