Difference between revisions of "MediaWiki/archive/customizing/URLs"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
Line 5: Line 5:
 
Hello good day
 
Hello good day
  
==Comments==
+
Best Site good looking
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 ({{email|jmendler|ucla|edu}})
 
-------------------------
 
12/02/2007: Method worked fine, using Jordan Mendler's modification to allow for my ''/wiki'' subdirectory. You should post this on mediawiki's [http://www.mediawiki.org/wiki/Manual:Short_URL 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==
 
==Links==

Revision as of 09:07, 21 February 2010

Very interesting tale

Punk not dead

Hello good day

Best Site good looking

Links