• Resolved Pubudu

    (@wpprouser)


    Hi,

    I am being asked to do add the following code to nginx config file. But I am not sure how to do that. Is there anyway I can achieve this with Redirection plugin?

    
    if ($arg_wc-api != "" ) {
        return 301 "http://YOURSITE.com/wp-content/plugins/woocommerce-to-easydigitaldownloads/software.php?$args";
    }
    

    Thank you.

    • This topic was modified 6 years, 2 months ago by Pubudu.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Nginx code to redirection plugin’ is closed to new replies.