Difference between revisions of "MediaWiki/archive/customizing/URLs"
Line 3: | Line 3: | ||
Hello good day | Hello good day | ||
− | + | this is be cool 8) | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Comments== | ==Comments== |
Revision as of 11:49, 20 February 2010
Thanks funny site
Hello good day
this is be cool 8)
Comments
Please feel free to post comments here or on the Talk page if you try any of these procedures.
6/23/2007: I used your .htaccess and then set $wgArticlePath = "$wgScriptPath/$1";. This way the forwarding works regardless of what directory the wiki is located in. In my case it was /wiki. --Jordan Mendler (jmendlerspam@spamuclaspam.spamedu)
12/02/2007: Method worked fine, using Jordan Mendler's modification to allow for my /wiki subdirectory. You should post this on mediawiki's Manual:Short URL page, as they do not have this solution listed and it seems simpler and possibly less bug-prone then other methods. --Adam Burley (AKA Bilby) (bilbyATdigitalcaveDOTorg)
2007-12-02 MW 1.11 seems to do something which breaks log-ins using the above method. I solved this once, but I'm not sure which specific change made the difference. Here's part of the LocalSettings from a MW 1.11 installation where logins work fine: <php>
- The URL base path to the directory containing the wiki;
- defaults for all runtime URL paths are based off of this.
$wgScriptPath = ""; $wgScriptExtension = ".php";
- standard Woozle MW customizations
$wgScript = "$wgScriptPath/index.php"; $wgArticlePath = "/$1"; $wgUsePathInfo = false; </php>
Links
Eliminating index.php from the urlmoved/consolidated- Manual:Short URL
- Clean URLs for MediaWiki