Viewing 1 replies (of 1 total)
  • Plugin Support Pial

    (@iapial)

    Hello @laksha2804

    Thank you for reaching out.

    Unfortunately, redirecting an entire directory like /wp-content/uploads/gravity_forms to another page is not straightforward due to how WordPress and web servers handle file requests. Since these files are directly accessed via the server (rather than being served through WordPress’ PHP functions), standard redirection methods such as 301 or 302 redirects or using a plugin won’t apply to the files themselves.

    If you’re trying to prevent access to these files and redirect users instead, you may need to configure server-level rules (e.g., .htaccess for Apache or nginx.conf for Nginx) to block access and enforce a redirect. Alternatively, if you want more control over file access, a membership or security plugin that restricts direct file access might be a better approach.

    Hope you understand

    Best regards,
    Pial

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.