Viewing 1 replies (of 1 total)
  • Plugin Author nicu_m

    (@nicu_m)

    Hello @lexicon200841,

    In order to change the “rest_route” wording, you can write a Rewrite rule.

    Here are some examples of how you can do this:

    Apache: (.htaccess)

    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^api-route/(.*) /?rest_route=/$1 [QLSA]
    

    NGINX:

    
    location ~ ^/api-route/ {
        rewrite ^/api-route/(.*?)$ /?rest_route=/$1 last;
    }
    

    Let me know if this helps you.

    Best regards,
    Nicu.

Viewing 1 replies (of 1 total)
  • The topic ‘Change URL namespaces’ is closed to new replies.