SevenKeyboard Ltd.
Forum Replies Created
-
Hello,
Thank you for your response! 😁
Thanks to your explanation, I understood that a conflict with WPML causes this issue.
Would you be willing to modify the link generation logic in Wordfence to replace a double slash (//) with a single slash (/) only when WPML is installed?For now, I’ve implemented a workaround by appropriately modifying the
.htaccessfile as shown below, and since it’s not a major issue, I completely understand if this request is declined.
I just thought I’d bring it to your attention if it helps.RewriteEngine On
# Remove leading double slashes from the path segment after the domain
RewriteCond %{THE_REQUEST} \s/{2,}([^\s?]+) [OR]
RewriteCond %{REQUEST_URI} ^/{2,}(.+)
RewriteRule ^ /%1 [R=301,L]As I am not a programmer, please forgive me if anything I’ve said is inappropriate.
Once again, thank you for developing such an excellent security plugin.I initially intended to submit the diagnostic report via email as requested, but I’ve decided not to proceed due to concerns about exposing my server’s IP address and internal structure or paths.
I fully understand that such information could help diagnose the issue, and I even considered masking sensitive details before sending. However, since the double slash issue I’m reporting (regardless of its root cause) does not appear to be a critical bug, I’ve chosen to leave it as-is for now.
I apologize for not being able to provide further assistance.As you mentioned, I do use the WPML plugin.
Before posting this report, I reviewed this related topic and also tested with the plugin temporarily disabled, but the issue persisted.
If you’re still suspecting a conflict with WPML, I’m afraid there’s not much more I can do on my end to further investigate.
(As far as I’ve observed, the double slash issue only appears in the Wordfence notification area in my environment, though I may have missed some other cases.)In the end, I’ve decided to apply the following workaround by modifying my
.htaccessfile:
RewriteEngine On
# Remove leading double slashes from the request URI
RewriteCond %{REQUEST_URI} ^//(.+)
RewriteRule ^ /%1 [R=301,L]Thank you again for your support.
I’m sorry I couldn’t contribute more to resolving this issue.- This reply was modified 11 months ago by SevenKeyboard Ltd..