Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The last steps on this page walk through <a href="http://learn.iis.net/page.aspx/527/joomla-on-iis/" rel="nofollow noreferrer">Enabling Search Engine Friendly URLs</a>.</p> <blockquote> <p>By default Joomla uses query string parameters for all the links URLs it generates for your web site. This behavior can be changed by enabling what is called "Search Engine Friendly URLs" in Joomla. However, this feature relies on the URL rewriting functionality to be available on the web server. IIS 6.0 does not have URL rewriting capabilities, so you could use one of the third party URL rewriting products, such as ISAPI_Rewrite or Ionics ISAPI Rewrite Filter. IIS 7.0 has URL rewriting support, which can be enabled by installing Microsoft URL Rewrite Module for IIS 7.0. The following instructions describe how URL Rewrite Module for IIS 7.0 can be used to enable Clean URLs in Joomla.<br> First, you will need to download and install Microsoft URL Rewrite Module. Once it has been installed, create and open a web.config file located in C:\inetpub\wwwroot\Joomla folder. Paste the following XML code into this file.<br></p> </blockquote> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;rewrite&gt; &lt;rules&gt; &lt;rule name="Security Rule" stopProcessing="true"&gt; &lt;match url="^(.*)$" ignoreCase="false" /&gt; &lt;conditions logicalGrouping="MatchAny"&gt; &lt;add input="{QUERY_STRING}" pattern="mosConfig_[a-zA-Z_]{1,21}(=|\%3D)" ignoreCase="false" /&gt; &lt;add input="{QUERY_STRING}" pattern="base64_encode.*\(.*\)" ignoreCase="false" /&gt; &lt;add input="{QUERY_STRING}" pattern="(\&amp;lt;|%3C).*script.*(\&gt;|%3E)" /&gt; &lt;add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" /&gt; &lt;add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" /&gt; &lt;/conditions&gt; &lt;action type="CustomResponse" url="index.php" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" /&gt; &lt;/rule&gt; &lt;rule name="SEO Rule"&gt; &lt;match url="(.*)" ignoreCase="false" /&gt; &lt;conditions logicalGrouping="MatchAll"&gt; &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" /&gt; &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" /&gt; &lt;add input="{URL}" negate="true" pattern="^/index.php" ignoreCase="false" /&gt; &lt;add input="{URL}" pattern="(/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$" /&gt; &lt;/conditions&gt; &lt;action type="Rewrite" url="index.php" /&gt; &lt;/rule&gt; &lt;/rules&gt; &lt;/rewrite&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre> <p>Save the web.config file and then open web browser and logon to the Joomla administrator console at <a href="http://localhost/joomla/administrator/" rel="nofollow noreferrer">http://localhost/joomla/administrator/</a> . Once logged on, go to Site --> Global Configuration menu configure SEO settings as below:<br> <li>Search Engine Friendly URLs - Yes</li> <li>Use Apache mod_rewrite - Yes</li> <li>Add suffix to URLs - No</li> Save configuration by clicking on "Apply" and then browse to <a href="http://localhost/joomla/" rel="nofollow noreferrer">http://localhost/joomla/</a> . You will see that now all links in Joomla pages have URLs without query string parameters and if you click on any of these links the server will return correct response:</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload