<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://mussswiki.idb.edu/iv1wiki/index.php?action=history&amp;feed=atom&amp;title=Short_URL</id>
	<title>Short URL - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://mussswiki.idb.edu/iv1wiki/index.php?action=history&amp;feed=atom&amp;title=Short_URL"/>
	<link rel="alternate" type="text/html" href="https://mussswiki.idb.edu/iv1wiki/index.php?title=Short_URL&amp;action=history"/>
	<updated>2026-04-23T13:10:20Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in IV1</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://mussswiki.idb.edu/iv1wiki/index.php?title=Short_URL&amp;diff=941&amp;oldid=prev</id>
		<title>WikiSysop: Die Seite wurde neu angelegt: According to World Wide Web inventor Tim Berners-Lee, good page addresses should never change&lt;ref&gt;[http://www.w3.org/Provider...</title>
		<link rel="alternate" type="text/html" href="https://mussswiki.idb.edu/iv1wiki/index.php?title=Short_URL&amp;diff=941&amp;oldid=prev"/>
		<updated>2009-04-30T07:35:21Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: According to &lt;a href=&quot;/iv1wiki/index.php?title=W:World_Wide_Web&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;W:World Wide Web (Seite nicht vorhanden)&quot;&gt;World Wide Web&lt;/a&gt; inventor &lt;a href=&quot;/iv1wiki/index.php?title=W:Tim_Berners-Lee&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;W:Tim Berners-Lee (Seite nicht vorhanden)&quot;&gt;Tim Berners-Lee&lt;/a&gt;, good page addresses should never change&amp;lt;ref&amp;gt;[http://www.w3.org/Provider...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;According to [[w:World Wide Web|World Wide Web]] inventor [[w:Tim Berners-Lee|Tim Berners-Lee]], good page addresses should never change&amp;lt;ref&amp;gt;[http://www.w3.org/Provider/Style/URI Cool URIs don&amp;#039;t change] by Tim Berners-Lee. (Interestingly, the short URLs discussed on &amp;#039;&amp;#039;this&amp;#039;&amp;#039; page are the ones that will break if one day one moves to a system where only the long URLs work!)&amp;lt;/ref&amp;gt;. Short URLs which hide complex programming code from the page address is good for webpage visitors. Please take a few minutes to devise a &amp;#039;&amp;#039;&amp;#039;stable URL structure&amp;#039;&amp;#039;&amp;#039; for your website before getting started, to reduce problems later.&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;&amp;#039;Avoid referring to locations in the same directory.&amp;#039;&amp;#039;&amp;#039; Doing so can create redirection loops that are hard to get rid of and will always leave holes in the redirection. (One might argue that long URLs are the most &amp;quot;stable&amp;quot; ones, being immune to hosting company environment changes, etc.)&amp;lt;/ref&amp;gt; This page has been divided into &amp;#039;&amp;#039;separate&amp;#039;&amp;#039; &amp;quot;how to&amp;quot; mini-guides listed below to make things easier.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
===Defaults===&lt;br /&gt;
MediaWiki&amp;#039;s default installation path usually looks something like this:&lt;br /&gt;
: &amp;lt;code&amp;gt;/var/www/localhost/htdocs/mediawiki/w&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;(installed as root user)&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;lt;code&amp;gt;/home/johndoe/public_html/mediawiki/w&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;(installed with a shared hosting provider)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
MediaWiki&amp;#039;s default page addresses looks like these examples:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://example.com/w/index.php/Page_title&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;(recent versions of MediaWiki, unless using CGI)&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://example.com/w/index.php?title=Page_title&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;(recent versions of MediaWiki, using CGI)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Using the methods below, short webpage addresses can be changed to addresses such as these: &lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://example.com/wiki/Page_title&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;(this is the &amp;#039;&amp;#039;&amp;#039;standard&amp;#039;&amp;#039;&amp;#039;, same as in Wikipedia)&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://wiki.example.com/Page_title&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;not recommended!&amp;#039;&amp;#039;&amp;#039;)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Advantages and disadvantages===&lt;br /&gt;
Long URLs have a key advantage: they work in all hosting environments — a good thing to know lest one day you move your wiki to a hosting environment where you can&amp;#039;t keep using the same URLs everyone has bookmarked or linked to.&lt;br /&gt;
&lt;br /&gt;
The advantages of short URLs are that they hide all technical details, as is best practice for URLs [http://www.w3.org/Provider/Style/URI] -- among other things this means they can be kept stable when the underlying mechanism change, if your hosting environment supports this. They are also easier for visitors to remember and allow visitors to navigate the site by URL more conveniently. &lt;br /&gt;
&lt;br /&gt;
Once you&amp;#039;ve decided that you really want short URLs and are willing to go through the effort, you&amp;#039;re ready for the long trial and error configuration as detailed below.&lt;br /&gt;
&lt;br /&gt;
===Shared hosting===&lt;br /&gt;
Most shared hosting systems do not allow changes to &amp;lt;tt&amp;gt;httpd.conf&amp;lt;/tt&amp;gt;. If you are using a [[Wikipedia:Shared web hosting service|shared host]], first try asking your hosting provider who may well solve your problem for you. If that doesn&amp;#039;t work out, depending on your hosting provider, you may be able to edit &amp;lt;tt&amp;gt;.htaccess&amp;lt;/tt&amp;gt; (detailed below).&lt;br /&gt;
&lt;br /&gt;
If you have a choice, you should edit &amp;lt;tt&amp;gt;httpd.conf&amp;lt;/tt&amp;gt; (which requires root access and is the preferred method because your wiki will perform better&amp;lt;ref name=&amp;quot;performance&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Should you edit httpd.conf or .htaccess?&amp;#039;&amp;#039;&amp;#039; While .htaccess does not require root access, there is a performance penalty as httpd then has to search up the directory tree and process all .htaccess files which may apply. See the Apache article, [http://httpd.apache.org/docs/2.0/howto/htaccess.html#when When (not) to use .htaccess files].&amp;lt;/ref&amp;gt;). You only need to edit either &amp;lt;tt&amp;gt;.htaccess&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;httpd.conf&amp;lt;/tt&amp;gt;, &amp;#039;&amp;#039;not&amp;#039;&amp;#039; both.&lt;br /&gt;
&lt;br /&gt;
==Recommended how-to guide (setup used on Wikipedia)==&lt;br /&gt;
The following setup is used on Wikipedia, and tends to be robust and easy to set up. This setup should be used unless you really dislike some aspects of it (it doesn&amp;#039;t rewrite all URLs) or you simply can&amp;#039;t use it (it requires root access).&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* This method is reliable and guaranteed to work in all versions of MediaWiki for the indefinite future. Other schemes are not tested by MediaWiki developers and might break when changes are made to the software.&lt;br /&gt;
* Not all URLs are rewritten, but this is good. With a single simple rule, this allows you to easily block search engine spiders from viewing background pages (like the edit form or history pages), separate actual article views from other accesses in log analysis, et cetera. Although links to edit pages and background pages are slightly less memorable, this is no big deal: the important thing is the articles.&lt;br /&gt;
* The method uses Alias instead of Rewrite. This is simpler and more reliable.&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* This method requires Apache and root access.&lt;br /&gt;
&lt;br /&gt;
===Setup steps===&lt;br /&gt;
First of all, ensure that you are using Apache and have root access (so you can modify &amp;lt;tt&amp;gt;httpd.conf&amp;lt;/tt&amp;gt;; modifying &amp;lt;tt&amp;gt;.htaccess&amp;lt;/tt&amp;gt; is not enough!). If either of these is false, you cannot use this exact method; you need to modify it appropriately, or use some other method listed below, preferably &amp;#039;&amp;#039;[[Manual:Short URL/wiki/Page title -- no root access]]&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt; Choose a virtual directory in which you want your articles to appear. This guide will assume that you choose &amp;lt;tt&amp;gt;/wiki/&amp;lt;/tt&amp;gt; (as Wikipedia does), articles will then be accessed like &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;http://www.example.com/wiki/Article_title&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;. &amp;#039;&amp;#039;&amp;#039;Do not create this virtual directory and it should not exist in the web root folder!&amp;#039;&amp;#039;&amp;#039;. This guide assumes that you have installed MediaWiki in &amp;lt;tt&amp;gt;/w/&amp;lt;/tt&amp;gt; folder relative to your web root as Wikipedia does, and not in &amp;lt;tt&amp;gt;/wiki/&amp;lt;/tt&amp;gt; folder. &amp;lt;br&amp;gt;{{Note}}In case you earlier chose &amp;lt;tt&amp;gt;/wiki/&amp;lt;/tt&amp;gt; as your folder for installing MediaWiki unknowingly, then rename the folder name to new name (here &amp;lt;tt&amp;gt;/w/&amp;lt;/tt&amp;gt;) and replace &amp;lt;tt&amp;gt;/wiki/&amp;lt;/tt&amp;gt; with new path (here &amp;lt;tt&amp;gt;/w/&amp;lt;/tt&amp;gt;) wherever you see it (one typically only need to change &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; file). &amp;lt;br&amp;gt;{{Note}}The install path &amp;#039;&amp;#039;&amp;#039;must not be same as virtual directory&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;must not be the web root directory itself&amp;#039;&amp;#039;&amp;#039;, the first point is important, do not try to ignore it to get prettier URLs, or else this method will not work.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt; At the bottom of &amp;lt;tt&amp;gt;[[Manual:LocalSettings.php|LocalSettings.php]]&amp;lt;/tt&amp;gt;, add the following:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgScriptPath = &amp;quot;/w&amp;quot;;         # Path to the actual files. This should already be there&lt;br /&gt;
$wgArticlePath = &amp;quot;/wiki/$1&amp;quot;;  # Virtual path. This directory MUST be different from the one used in $wgScriptPath&lt;br /&gt;
$wgUsePathInfo = true;        # Enable use of pretty URLs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;$wgScriptPath&amp;lt;/code&amp;gt; should already be set to &amp;lt;tt&amp;gt;/w&amp;lt;/tt&amp;gt;. If it is not (for example, if you&amp;#039;re moving from a different URL scheme), make sure to set it to that.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt; Edit &amp;lt;tt&amp;gt;httpd.conf&amp;lt;/tt&amp;gt; to contain the rule &amp;lt;code&amp;gt;Alias /wiki /path/to/your/wiki/index.php&amp;lt;/code&amp;gt;. Note that the second path is relative to the filesystem root, not the web root! This might be, for instance, &amp;lt;code&amp;gt;Alias /wiki /var/www/w/index.php&amp;lt;/code&amp;gt;, if &amp;lt;tt&amp;gt;/var/www/&amp;lt;/tt&amp;gt; is your web root. This ALIAS configuration is a minimum configuration, see [[Apache_configuration#mod_alias|Apache configuration]] for further options.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt; Make Apache reread its configuration file (gracefully restart). You might use, for instance, &amp;lt;code&amp;gt;apachectl graceful&amp;lt;/code&amp;gt; or a similar command as root, or use features of [[w:WebHost Manager|WebHost Manager]] or similar software.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt; In your web root, create a file called &amp;lt;tt&amp;gt;robots.txt&amp;lt;/tt&amp;gt; if one does not already exist.  Then add the following to the end of the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User-agent: *&lt;br /&gt;
Disallow: /w/&lt;br /&gt;
Disallow: /wiki/Special:Search&lt;br /&gt;
Disallow: /wiki/Special:Random&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first &amp;quot;Disallow&amp;quot; rule stops spiders from indexing histories, edit pages, and other background pages that are useless to users performing a search. This will also prevent duplicate content from being indexed. The second and third rules stop spiders from indexing two special pages that might confuse them, and generally be unhelpful.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;re done; your wiki should be working perfectly. If not, go to irc://irc.freenode.org/mediawiki and report any problems.&lt;br /&gt;
&lt;br /&gt;
==Other how-to mini-guides==&lt;br /&gt;
Anyone is welcome to create a how-to solution page and list it below. Please use a sensible name for the page, one that fits in with the below names. When each unique solution has its own page, readers can skip complexity they do not want. Keep it simple, readable, short, with a separate page per separate solution.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To help others find out which Short URL methods really work, after trying each method please edit the page and increase the &amp;quot;worked&amp;quot; or &amp;quot;didn&amp;#039;t_work&amp;quot; numbers for that guide and make a brief (or long, your choice) description on what went wrong by clicking the link on your number.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===URL like - example.com/wiki/Page_title===&lt;br /&gt;
How to create &amp;lt;tt&amp;gt;example.com/wiki/Page_title&amp;lt;/tt&amp;gt; URLs:&lt;br /&gt;
{{/guide |name=wiki/Page title -- no root access                         |worked=59 |didn&amp;#039;t_work=8 }} &amp;#039;&amp;#039;- &amp;#039;&amp;#039;&amp;#039;recommended&amp;#039;&amp;#039;&amp;#039; method if you don&amp;#039;t have root access; should also work with PHP as CGI mode&amp;#039;&amp;#039;&lt;br /&gt;
{{/guide |name=wiki/Page title -- GoDaddy Shared Linux Subdomain         |worked=2 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- PHP as a CGI module, no root access         |worked=18 |didn&amp;#039;t_work=5 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- No hidden subdirectory, no root access |worked=9  |didn&amp;#039;t_work=2 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- Both no root and root access           |worked=2  |didn&amp;#039;t_work=2 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- no root access, version 1.11, 1.12 and 1.13       |worked=2  |didn&amp;#039;t_work=2 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- No Root Access, 1.13 alternative |worked=1 |didn&amp;#039;t work=1}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Root access&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
These methods require that you have access to the server configuration. If you are on a shared host, you most likely don&amp;#039;t; see the &amp;quot;no root access&amp;quot; examples instead. &lt;br /&gt;
&lt;br /&gt;
{{/guide |name=wiki/Page title                                  |worked=17 |didn&amp;#039;t_work=2 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- with aliases--root access     |worked=7  |didn&amp;#039;t_work=2 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- Apache rewrite--root access   |worked=7  |didn&amp;#039;t_work=0 }} (&amp;#039;&amp;#039;If the Alias method is not suitable [for example, you use PHP as a CGI], you can use Apache instead.&amp;#039;&amp;#039;)&lt;br /&gt;
{{/guide |name=wiki/Page title -- Lighttpd rewrite--root access |worked=0  |didn&amp;#039;t_work=0 }}&lt;br /&gt;
{{/guide |name=wiki/Page title -- nginx rewrite--root access |worked=0  |didn&amp;#039;t_work=0 }}&lt;br /&gt;
&lt;br /&gt;
===URL like - example.com/Page_title===&lt;br /&gt;
&lt;br /&gt;
{{wiki-in-docroot}}&lt;br /&gt;
&lt;br /&gt;
How to create &amp;lt;tt&amp;gt;example.com/Page_title&amp;lt;/tt&amp;gt; URLs:&lt;br /&gt;
{{/guide |name=Page title -- PHP as a CGI module, no root access |worked=38 |didn&amp;#039;t_work=7}}&lt;br /&gt;
{{/guide |name=Page title -- Aliasing method--Root access        |worked=5  |didn&amp;#039;t_work=6}}&lt;br /&gt;
{{/guide |name=Page title -- Working method with mediawiki-1.11  |worked=25 |didn&amp;#039;t_work=5}} (used [http://www.gossamer-threads.com/lists/wiki/mediawiki/104782 this method]: [[Image:Face-sad.svg|20px]] &amp;lt;sup&amp;gt;&amp;#039;&amp;#039;&amp;#039;x2&amp;#039;&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;)&lt;br /&gt;
{{/guide |name=Page title -- Solution for mediawiki-1.12         |worked=4  |didn&amp;#039;t_work=1}} (also works with 1.10 &amp;amp; 1.13, but not with 1.11., very similar to the above solution)&lt;br /&gt;
&lt;br /&gt;
===URL like - example.com/wiki.php/Page_Title===&lt;br /&gt;
{{/guide |name=wiki.php/Page title -- No root No htaccess |worked=1 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
&lt;br /&gt;
===URL like - example.com/sub_directory/wiki/Page_Title===&lt;br /&gt;
{{/guide |name=sub_directory/wiki/Page Title -- .htaccess |worked=3 |didn&amp;#039;t_work=2 }}&lt;br /&gt;
&lt;br /&gt;
===URL like - wiki.example.com/Page_title===&lt;br /&gt;
&lt;br /&gt;
{{wiki-in-docroot}}&lt;br /&gt;
&lt;br /&gt;
How to create &amp;lt;tt&amp;gt;wiki.example.com/Page_title&amp;lt;/tt&amp;gt; URLs.&lt;br /&gt;
{{/guide |name=wiki.example.com/Page_title--difficult                            |worked=1 |didn&amp;#039;t_work=1 }}&lt;br /&gt;
{{/guide |name=wiki.example.com/Page_title--Subdomain with no Subdirectory in Article URL |worked=18 |didn&amp;#039;t_work=1 }}&lt;br /&gt;
{{/guide |name=wiki.example.com/Page_title--Subdomain using mod-rewrite          |worked=1 |didn&amp;#039;t_work=1 }}&lt;br /&gt;
{{/guide |name=wiki.example.com/Page_title--Subdomain using Lighttpd             |worked=0 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
{{/guide |name=wiki.example.com/Page_title--Enabling a wiki using Apache Rewrite |worked=2 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Ampersand (&amp;amp;) problem===&lt;br /&gt;
The ampersand problem shows up when you have page titles with symbols in (such as &amp;amp;, ?, #, + and /) that, despite being correctly encoded in the link are not being passed correctly from mod_rewrite to the script. This manifests in 404 page-not-found errors, because the title gets cut off at the special character. For example, clicking on a link to &amp;quot;John &amp;amp; Maria&amp;#039;s page&amp;quot; gets a 404, because MediaWiki is looking for a page named &amp;quot;John &amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This is because ampersands in long-form names are treated as [[w:query string|query string]] separators, and would never reach the PHP [[w:runtime|runtime environment]]. This is caused by [http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 an old and problematic mod_rewrite bug]. There are discussions of other possible solutions at [http://lists.wikimedia.org/pipermail/mediawiki-l/2005-June/005814.html lists.wikimedia.org] and [http://fgiasson.com/blog/index.php/2006/07/19/hack_for_the_encoding_of_url_into_url_pr/ fgiasson.com].&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Solutions:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{/guide |name=Ampersand solution               |worked=0 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
{{/guide |name=Ampersand semi-friendly solution with root access |worked=0 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
&lt;br /&gt;
===Looping alias/rewrite errors===&lt;br /&gt;
If you receive looping alias/rewrite errors such as &amp;quot;Cannot find page www.example.com/wiki/wiki/wiki/wiki/wiki/ [...] /index.php&amp;quot;, try one of these fixes:&lt;br /&gt;
&lt;br /&gt;
{{/guide |name=Repeated directory errors                         |worked=0 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
{{/guide |name=Page title -- Working method with mediawiki-1.11  |worked=0 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
&lt;br /&gt;
===Revert to default===&lt;br /&gt;
If you need to revert to the default values of your wiki but have accidentally deleted them, here are the defaults:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgScriptPath       = &amp;quot;/wiki&amp;quot;;&lt;br /&gt;
$wgScript           = &amp;quot;$wgScriptPath/index.php&amp;quot;;&lt;br /&gt;
$wgRedirectScript   = &amp;quot;$wgScriptPath/redirect.php&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## For more information on customizing the URLs please see:&lt;br /&gt;
## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url&lt;br /&gt;
## If using PHP as a CGI module, the ?title= style usually must be used.&lt;br /&gt;
# $wgArticlePath      = &amp;quot;$wgScript=$1&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
$wgArticlePath      = &amp;quot;$wgScript?title=$1&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Tricks==&lt;br /&gt;
{{/guide |name=IIS6                                   |worked=1 |didn&amp;#039;t_work=1 }}&lt;br /&gt;
{{/guide |name=Prevent bots from crawling index.php   |worked=0 |didn&amp;#039;t_work=0 }}&lt;br /&gt;
{{/guide |name=Ignoring the Trailing slash            |worked=0 |didn&amp;#039;t_work=1 }}&lt;br /&gt;
{{/guide |name=Allowing for escaped characters in URI |worked=2 |didn&amp;#039;t_work=1 }}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Manual:Short URL/Apache Rewrite rules#Adding_Exceptions|An explanation of what each Apache Rewrite rule does]]&lt;br /&gt;
*[[w:Common Gateway Interface#Workarounds for scripting languages|Explanation of what CGI modules are]]&lt;br /&gt;
*[[m:URL rewrite in IIS|URL rewrite in IIS]]&lt;br /&gt;
*[[Manual:$wgUsePathInfo|$wgUsePathInfo]] - configuration setting that defines whether to use &amp;#039;pretty&amp;#039; URLs or not&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Apache Module mod_rewrite at Apache.org]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&amp;lt;!--these notes are of a technical nature that the average user does not need--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Configure|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Wiki page URLs|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
{{languages|Manual:Short URL}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>