<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Mediawiki_Remove_index.php</id>
	<title>Mediawiki Remove index.php - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Mediawiki_Remove_index.php"/>
	<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;action=history"/>
	<updated>2026-04-30T02:33:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;diff=360&amp;oldid=prev</id>
		<title>AwesomO: /* Info */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;diff=360&amp;oldid=prev"/>
		<updated>2023-04-23T22:55:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Info&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:55, 23 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; [[Host_Your_Own_Mediawiki_Online_Ubuntu_22.04#Remove_index.php_from_URL|This method worked]] The method on this page was to go completenoobs.com/Main_Page - completenoobs.com/noobs/Main_Page maybe better.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; [[Host_Your_Own_Mediawiki_Online_Ubuntu_22.04#Remove_index.php_from_URL|This method worked]] The method on this page was to go completenoobs.com/Main_Page - completenoobs.com/noobs/Main_Page maybe better.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;There was a bug on this page - do not use: use the link to working method in link above!&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Apache2 config==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Apache2 config==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;diff=359&amp;oldid=prev</id>
		<title>AwesomO: /* Info */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;diff=359&amp;oldid=prev"/>
		<updated>2023-04-23T22:54:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Info&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:54, 23 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Info==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Info==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;My mediawiki is installed in path &amp;lt;b&amp;gt;/var/www/html/noobs&amp;lt;/b&amp;gt; and i want to remove the &amp;lt;b&amp;gt;index.php&amp;lt;/b&amp;gt; from the URL&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;My mediawiki is installed in path &amp;lt;b&amp;gt;/var/www/html/noobs&amp;lt;/b&amp;gt; and i want to remove the &amp;lt;b&amp;gt;index.php&amp;lt;/b&amp;gt; from the URL&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;NOTE:&#039;&#039;&#039; [[Host_Your_Own_Mediawiki_Online_Ubuntu_22.04#Remove_index.php_from_URL|This method worked]] The method on this page was to go completenoobs.com/Main_Page - completenoobs.com/noobs/Main_Page maybe better.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Apache2 config==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Apache2 config==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;diff=246&amp;oldid=prev</id>
		<title>Noob: Created page with &quot;==Info== My mediawiki is installed in path &lt;b&gt;/var/www/html/noobs&lt;/b&gt; and i want to remove the &lt;b&gt;index.php&lt;/b&gt; from the URL  ==Apache2 config== This apache2 config file is from a localwiki:&lt;br&gt; Note the Path of &lt;b&gt;DocumentRoot&lt;/b&gt;&lt;br&gt; Inside the Directory angle brackets, note path and make sure:&lt;br&gt; :* &lt;b&gt;Options Indexes FollowSymLinks&lt;/b&gt;&lt;br&gt; :* &lt;b&gt;AllowOverride All&lt;/b&gt;&lt;br&gt; make sure they are included: &lt;pre&gt; &lt;VirtualHost *:80&gt;         DocumentRoot /var/www/html/noobs...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Mediawiki_Remove_index.php&amp;diff=246&amp;oldid=prev"/>
		<updated>2023-04-02T20:21:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Info== My mediawiki is installed in path &amp;lt;b&amp;gt;/var/www/html/noobs&amp;lt;/b&amp;gt; and i want to remove the &amp;lt;b&amp;gt;index.php&amp;lt;/b&amp;gt; from the URL  ==Apache2 config== This apache2 config file is from a localwiki:&amp;lt;br&amp;gt; Note the Path of &amp;lt;b&amp;gt;DocumentRoot&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; Inside the Directory angle brackets, note path and make sure:&amp;lt;br&amp;gt; :* &amp;lt;b&amp;gt;Options Indexes FollowSymLinks&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; :* &amp;lt;b&amp;gt;AllowOverride All&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; make sure they are included: &amp;lt;pre&amp;gt; &amp;lt;VirtualHost *:80&amp;gt;         DocumentRoot /var/www/html/noobs...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Info==&lt;br /&gt;
My mediawiki is installed in path &amp;lt;b&amp;gt;/var/www/html/noobs&amp;lt;/b&amp;gt; and i want to remove the &amp;lt;b&amp;gt;index.php&amp;lt;/b&amp;gt; from the URL&lt;br /&gt;
&lt;br /&gt;
==Apache2 config==&lt;br /&gt;
This apache2 config file is from a localwiki:&amp;lt;br&amp;gt;&lt;br /&gt;
Note the Path of &amp;lt;b&amp;gt;DocumentRoot&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Inside the Directory angle brackets, note path and make sure:&amp;lt;br&amp;gt;&lt;br /&gt;
:* &amp;lt;b&amp;gt;Options Indexes FollowSymLinks&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:* &amp;lt;b&amp;gt;AllowOverride All&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
make sure they are included:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
        DocumentRoot /var/www/html/noobs&lt;br /&gt;
    &amp;lt;Directory /var/www/html/noobs&amp;gt;&lt;br /&gt;
        Options Indexes FollowSymLinks&lt;br /&gt;
        AllowOverride All&lt;br /&gt;
        Require all granted&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;DocumentRoot /var/www/html/noobs&amp;lt;/b&amp;gt;: This line sets the document root directory for the virtual host. The document root is the top-level directory that contains your web content (HTML, CSS, JavaScript, etc.). In this case, the document root is set to &amp;lt;b&amp;gt;/var/www/html/noobs&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;Directory /var/www/html/noobs&amp;gt;&amp;lt;/b&amp;gt;: This line begins a configuration block for the &amp;lt;b&amp;gt;/var/www/html/noobs&amp;lt;/b&amp;gt; directory. The settings within this block apply to the specified directory and its subdirectories.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Options Indexes FollowSymLinks&amp;lt;/b&amp;gt;: This line sets two options for the directory:&lt;br /&gt;
:* Indexes: If a requested directory does not have an index file (e.g., index.html or index.php), the server will generate a directory listing for the browser.&lt;br /&gt;
:* FollowSymLinks: The server will follow symbolic links in this directory, allowing it to serve files linked from other locations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;AllowOverride All&amp;lt;/b&amp;gt;: This line allows the use of .htaccess files in the /var/www/html/noobs directory and its subdirectories. .htaccess files provide a way to modify the configuration on a per-directory basis, overriding the settings specified in the main Apache configuration files. The All value means that all types of overrides are allowed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Require all granted&amp;lt;/b&amp;gt;: This line controls access to the /var/www/html/noobs directory. In this case, it allows access to everyone, meaning there are no access restrictions for this directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;/Directory&amp;gt;&amp;lt;/b&amp;gt;: This line closes the &amp;lt;Directory&amp;gt; configuration block.&lt;br /&gt;
&lt;br /&gt;
==.htaccess file==&lt;br /&gt;
&amp;lt;code&amp;gt;/var/www/html/noobs/.htaccess&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RewriteEngine On&lt;br /&gt;
RewriteBase /&lt;br /&gt;
RewriteRule ^index\.php$ - [L]&lt;br /&gt;
RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;
RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;
RewriteRule . /index.php [L]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This .htaccess file contains a set of mod_rewrite rules for URL rewriting. Let&amp;#039;s go through each line and explain its purpose:&lt;br /&gt;
&lt;br /&gt;
:* &amp;lt;b&amp;gt;RewriteEngine&amp;lt;/b&amp;gt; On: This line enables the URL rewriting engine (mod_rewrite) for this directory.&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;RewriteBase /&amp;lt;/b&amp;gt;: This line sets the base URL for per-directory rewrites. In this case, the base URL is set to /, which means that all rewritten URLs will be relative to the root directory.&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;RewriteRule ^index\.php$ - [L]&amp;lt;/b&amp;gt;: This line is a rewrite rule that matches any request starting with index.php. The - in the rule means &amp;quot;do nothing&amp;quot; (i.e., don&amp;#039;t rewrite the URL). The [L] flag tells the rewrite engine that this is the last rule to be processed if the current request matches this rule. In other words, if a request is for index.php, it won&amp;#039;t be processed by any further rewrite rules.&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;RewriteCond %{REQUEST_FILENAME} !-f&amp;lt;/b&amp;gt;: This line is a rewrite condition that checks if the requested file (%{REQUEST_FILENAME}) does not exist (!-f). This condition must be met for the subsequent rewrite rule to be executed.&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;RewriteCond %{REQUEST_FILENAME} !-d&amp;lt;/b&amp;gt;: This line is another rewrite condition that checks if the requested file is not a directory (!-d).&lt;br /&gt;
&lt;br /&gt;
==LocalSettings.php==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/var/www/html/noobs/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# rewriteURL&lt;br /&gt;
$wgScriptPath = &amp;quot;&amp;quot;;&lt;br /&gt;
$wgArticlePath = &amp;quot;/$1&amp;quot;;&lt;br /&gt;
$wgUsePathInfo = true;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines in the &amp;lt;b&amp;gt;LocalSettings.php&amp;lt;/b&amp;gt; file of MediaWiki configure the URL structure and path settings for your wiki. Let&amp;#039;s go through each line and explain its purpose:&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;$wgScriptPath = &amp;quot;&amp;quot;;&amp;lt;/b&amp;gt;: This line sets the base URL path for accessing MediaWiki&amp;#039;s PHP scripts. In this case, the path is set to an empty string, which means the scripts are located in the root directory of the webserver (e.g., http://example.com/index.php). If your MediaWiki installation is in a subdirectory, you would set this value to the subdirectory&amp;#039;s path (e.g., $wgScriptPath = &amp;quot;/my-wiki&amp;quot; for http://example.com/my-wiki/index.php).&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;$wgArticlePath = &amp;quot;/$1&amp;quot;;&amp;lt;/b&amp;gt;: This line sets the URL structure for article pages. The $1 placeholder is replaced by the article&amp;#039;s title. In this case, the article path is set to /$1, which means article URLs will look like http://example.com/Article_Title. If you want to include a subdirectory in the article path, you can set this value accordingly (e.g., $wgArticlePath = &amp;quot;/wiki/$1&amp;quot; for http://example.com/wiki/Article_Title).&lt;br /&gt;
&lt;br /&gt;
:*    &amp;lt;b&amp;gt;$wgUsePathInfo = true;&amp;lt;/b&amp;gt;: This line enables or disables the use of &amp;quot;pretty&amp;quot; URLs with path info. When set to true, MediaWiki uses path info to create clean, readable URLs (e.g., http://example.com/Article_Title). If set to false, MediaWiki uses query strings for URLs (e.g., `http://example.com/index.php&lt;br /&gt;
&lt;br /&gt;
==Enable Apache2 rewrite module==&lt;br /&gt;
Make sure the apache2 rewrite module is enabled with:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart apache2 for changes to take effect:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;systemctl restart apache2&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Noob</name></author>
	</entry>
</feed>