Skip to main content
Mura SEO URLs
Updated over 4 years ago

Mura: SEO URLs

There are two settings in the Mura application that can be influenced to better support your Mura Site’s SEO. These settings are siteidinurls and indexfileinurls and can be found in the settings.ini.cfm file.

These options are binary, meaning that they only perceive a value of “0” (off) or “1” (on).

siteidinurls: this setting is a value that instructs the Mura application to include the site id in the URLs.

indexfileinurls: this options is a value that instructs the Mura application to include the index.cfm file in the URLs.

You can modify these values by accessing your WCP control panel and opening your file manager. For steps on how to access and utilize your File Manager please see the following link:

To "enable" these options navigate to and edit the /config/settings.ini.cfm file and adjust the values as listed below:

 siteidinurls=1
 indexfileinurls=1

To "disable" these options edit the same file, adjusting the values to the following:

 siteidinurls=0
 indexfileinurls=0

Note: You can also perform a variation by leaving one of the values active and deactivating the other. So if you wanted to have siteids presented but didn’t like the look of having the index.cfm present you do the following, and vice versa:

 siteidinurls=1
 indexfileinurls=0

Mura: SEO URLs with Hyphens

When you are attempting to tune your site SEO, you may sometimes encounter issues where pages with multiple words in the URL cause an issue with the Mura redirection system.

To correct these issues we recommend using a .htaccess file which will allow you enter a rewrite rule to allow the Mura application to recognize the hyphen and to parse the URL correctly.

In your site’s file structure, edit or create a .htaccess file, assuming that your environment supports .htaccess files through the use of ISAPI Rewrite, and include the following rule in the file:

 RewriteEngine On 
 RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
 RewriteRule ^([a-zA-Z0-9/-]+/tag/.+|tag/.+)$ /index.cfm%{REQUEST_URI} [PT]
 RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
 RewriteRule ^([a-zA-Z0-9/-\s-]+)$ /index.cfm%{REQUEST_URI} [PT]
Did this answer your question?