• When I want to redirect the complete website the folder /wp-content/ or other wp related folders are still reachable and not redirected.

    Is there a workaround for this?

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    (@wpscholar)

    @st3ffen87 When you directly access a file, such as an image, no code is run as part of that process. As a result, it isn’t really possible to redirect those using a plugin. You would have to set redirects for those at the server level using your web hosting interface, or by directly editing the .htaccess or nginx.conf files depending on what type of server you’re running.

    Typically, just the page redirects are important for SEO; unless you’re trying to rank standalone images.

Viewing 1 replies (of 1 total)
  • The topic ‘not all wp directories are redirected’ is closed to new replies.