Results 1 to 5 of 5

Thread: Media Wiki Short form Url's

  1. #1
    Registered
    Join Date
    Dec 2006
    Location
    So Cal
    Posts
    13
    Rep Power
    0

    Media Wiki Short form Url's

    Has anyone managed to make the “short Url’s” work in the powweb environment?

    I recently loaded media wiki and after a few trials and tribulations I have it up and running. Not having any experience with wiki coding I elected to use install central to load the program. After getting it running, I tried and failed to upgrade the powweb version 1.6.5 to the most current 1.14.0 version. So I deleted the powweb install central version and after many more trials, headaches, tribulations, and more headaches I now have the most current version working.

    Now I want to move to the short form Url’s. The guide is in the media wiki manual however it seems to depend on the hosting environment and what the host will allow. So, before I bang my head against the wall I’m looking to determine if it’s possible. I’m not looking to be told how to do it, just if its been done.

    Thanks in advance,

    David.
    Plantlets.com

  2. #2
    YvetteKuhns's Avatar
    Join Date
    Feb 2003
    Location
    Allentown, PA USA
    Posts
    15,244
    Rep Power
    34
    I don't use Install Central to install scripts. You discovered one reason why: You have trouble updating it. Another reason: They don't always have the most recent version in the first place. While some scripts are programmed to allow search engine friendly URLs or possibly short URLs, that doesn't guarantee they will work in your environment.

    Are you using a subdomain such as http://wiki.domainname.com instead of http://www.domainname.com/wiki for your URL? What script or method are you using to rename the URLs created by the Media Wiki? You usually have to define a path; is it correct? Are the permissions correct for your scripts? Do you have to add or edit .htaccess for this to work? There could be a mod_rewrite that is changing the URLs.

    I have renamed URLs using php and/or .htaccess for different scripts including Typolight that has it built into the script and manually with our own shopping cart scripts. I haven't worked with Media Wiki but the concepts are similar.
    Yvette Kuhns
    Power Pages Web Design
    Customized Internet Advertising Solutions

  3. #3
    Registered
    Join Date
    Dec 2006
    Location
    So Cal
    Posts
    13
    Rep Power
    0
    Thanks Yvette.

    I used Install Central (IC) to load MediaWiki (MW) after reading through the forums with the understanding that I would need either to upgrade it once installed or load in the most current version later. Having no experience with scripts (only very minor ones) and databases, I elected to use the version in IC as a test to determine how complicated it was. I learned enough from that install to get the most current version installed and working, albeit it took some doing. MW’s preferred method is more like: http://www.domainname.com/wiki although it wants you to use something other than /wiki.

    The online manual for MW, http://www.mediawiki.org/wiki/Manual:Short_URL, is very detailed as to what needs to be done to shorten the Url’s. A lot of it depends on the host, i.e. Do we have access to httpd.conf? If that’s not possible, .htaccess will need to be edited. The preferred method is httpd.conf but I suspect that may not be possible.

    I'll keep you posted. If I screw it up too bad I'll just have to reload the original and forget about it.

    Thanks.
    David.
    Plantlets.com

  4. #4
    YvetteKuhns's Avatar
    Join Date
    Feb 2003
    Location
    Allentown, PA USA
    Posts
    15,244
    Rep Power
    34
    MW’s preferred method is more like: http://www.domainname.com/wiki although it wants you to use something other than /wiki.
    I also recommend this method for URL rewrites.

    Do we have access to httpd.conf? If that’s not possible, .htaccess will need to be edited. The preferred method is httpd.conf but I suspect that may not be possible.
    I always edited the .htaccess file, so I don't know if the other method is currently an option.

    Good luck with it.
    Yvette Kuhns
    Power Pages Web Design
    Customized Internet Advertising Solutions

  5. #5
    Registered
    Join Date
    Dec 2006
    Location
    So Cal
    Posts
    13
    Rep Power
    0
    The official word is that the httpd.conf file can not be edited. So when I get some time I'll put in the work to get the .htaccess configured correctly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •