Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Numinix MediaWiki Demo
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Manual/Short URL
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Introduction == <!--T:3--> === Goal === <!--T:4--> <!--T:5--> The default MediaWiki installation path looks like this: </translate> : <code>/var/www/html/mediawiki</code> ''<translate><!--T:6--> (installed as root user)</translate>'' : <code>/home/johndoe/public_html/mediawiki</code> ''<translate><!--T:7--> (installed with a shared hosting provider)</translate>'' <translate> <!--T:8--> MediaWiki's default page addresses looks like these examples: </translate> : <code><nowiki>https://example.org/w/index.php/Page_title</nowiki></code> ''<translate><!--T:9--> (recent versions of MediaWiki, without [[w:Common Gateway Interface|CGI]] support)</translate>'' : <code><nowiki>https://example.org/w/index.php?title=Page_title</nowiki></code> ''<translate><!--T:10--> (recent versions of MediaWiki, with CGI support)</translate>'' <translate> <!--T:11--> Using the methods outlined on this page, we can configure something like this: </translate> : <code><nowiki>https://example.org/wiki/Page_title</nowiki></code> <translate><!--T:12--> This is the most common configuration, same as on Wikipedia, though not the default because it requires server-side modifications</translate> : <code><nowiki>https://example.org/view/Page_title</nowiki></code> : <code><nowiki>https://wiki.example.org/view/Page_title</nowiki></code> : <code><nowiki>https://example.org/Page_title</nowiki></code> : <code><nowiki>https://wiki.example.org/Page_title</nowiki></code> <translate><!--T:136--> Some people do not recommend the last two configurations.</translate> <translate><!--T:137--> See <tvar name=1></tvar> for potential problems and solutions.</translate> <translate> === Advantages & disadvantages === <!--T:17--> <!--T:18--> * '''Advantage''': Short URLs hide some technical details from end-users, which can be desirable for site owners. Among other things, this means they can be kept stable when the underlying software changes.</translate> <translate><!--T:127--> (See above for the difference between MediaWiki's default URL structure with CGI enabled vs without.)</translate> <translate><!--T:19--> They are also easier to read, remember, and manipulate for visitors.</translate> <translate><!--T:20--> Additionally, short URLs offer an advantage over the default URLs for [[w:Search engine optimization|Search engine optimization]], as URLs containing <tvar name=1><code>?</code></tvar> can be treated less favorably by search engines when calculating page rank.</translate> <translate> <!--T:21--> * '''Disadvantage''': Requires configuration, so, depending on the hosting environment you are using, it might be difficult to recreate.</translate> <translate><!--T:22--> However, as every widely used webserver is capable of being configured to use short URLs, most paid web hosting services should support this feature. Any host that doesn't offer you this feature is not worth your money.</translate> <translate>
Summary:
Please note that all contributions to Numinix MediaWiki Demo may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)