NGINX Configuration Rewrite Rule for Ultimate Member User Notes


When using the Ultimate Member (UM) plugin with NGINX as the web server, a rewrite rule is required to handle the download of user notes. This rule ensures that download requests for user notes are correctly processed by the UM core.


The following NGINX rewrite rule is used to handle the download of user notes in the Ultimate Member (UM) plugin.

Rewrite Rule

rewrite ^/um-user-notes-download/([^/]+)/([^/]+)/([^/]+)/?$ /index.php?um_action=um-user-notes-download&um_verify=$1&um_note_id=$2 last;


  • ^/um-user-notes-download/([^/]+)/([^/]+)/([^/]+)/?$: This part of the rule matches the URL pattern for downloading user notes in Ultimate Member. It captures two groups: $1 for um_verify and $2 for um_note_id.
  • /index.php?um_action=um-user-notes-download&um_verify=$1&um_note_id=$2: This part of the rule rewrites the URL to the appropriate format for Ultimate Member to handle the download action. It includes the captured groups from the URL pattern as parameters (um_verify and um_note_id).


  • Original URL:
  • Rewritten URL:


  • This rule should be placed in the NGINX configuration file within the appropriate server block or location block.
  • Ensure that the path to the index.php file matches the actual path on your server.

Related articles: