Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nintechnet

    (@nintechnet)

    You can’t do that with NinjaFirewall. You would probably need to setup rules at the HTTP server level (or .htaccess) to do it.

    Thread Starter eddyferns

    (@eddyferns)

    It’s an Nginx server.

    Where can we find the code in NFW library that redirects the mentioned urls?

    Plugin Author nintechnet

    (@nintechnet)

    It uses the WordPress API, not rewrite rules.
    You’d need to write your own ones I’m afraid.

    Thread Starter eddyferns

    (@eddyferns)

    Just to see how the code is crafted is it located in the utils.php file?

    Plugin Author nintechnet

    (@nintechnet)

    It’s in the utils.php script:
    -nfw_query()
    -nfw_the_author()
    -nfwhook_rest_request_before_callbacks()
    -nfw_authenticate()

    Thread Starter eddyferns

    (@eddyferns)

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Author redirect’ is closed to new replies.