Welcome to our Help Center

How to Enable User-Friendly URLs on Your Web Store Plugin

Server-side configuration is necessary in order to enable user-friendly (and SEO-friendly) URLs that can be reloaded and bookmarked. These changes allow the Plugin application to control the browser URL instead of your web server. This is possible on all modern web server software. Here are some examples, keeping in mind that you will almost certainly need to modify these to fit your specific situation.

 

Nginx location example. Place this inside the relevant server configuration block.


location /[[PLUGIN_PATH_HERE]] {
  try_files $uri $uri/ /index.html;
}

 

Apache rewrite example. This could be used in either your vhost configuration or as a .htaccess file in the root path where plugin is to run.


<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /[[PLUGIN_PATH_HERE]]/
  RewriteRule (.*) index.html [PT,L]
</IfModule>

If you have any questions, feel free to reach out to us by emailing
support@revolutionparts.com or calling 480-779-7278!

RevolutionParts Logo
Powered by Zendesk