• Resolved dimal

    (@dimalifragis)


    Hi.

    We have several search engines/scrapers/attackers probing urls like this:

    https://www.domain.tld//some-page-here

    or even

    https://www.domain.tld///some-page-here

    Without WP Super cache the two or three slashes are redirected to the correct page (if any) with one slash.

    With WP Super cache the multiple slashes remain in the url for some reason.

    Thanks

Viewing 1 replies (of 1 total)
  • I think what’s happening is that the site is redirecting to the right page and the plugin is caching that page. Unfortunately, the plugin activates really early in the WordPress process, before most of the system is loaded which is why the redirect doesn’t happen.

    I’ve found I had to fix redirects like this in a .htaccess mod_rewrite rule, but also, there must be links on your site with those URLs. If you can fix those, then they won’t be requested by search engines.

Viewing 1 replies (of 1 total)

The topic ‘slashes issues (not at the end of url)’ is closed to new replies.