Manual talk:Short URL/Apache Rewrite rules

Both examples
This page explains how to install with both root access and no root access. Odessaukrain 02:31, 14 October 2007 (UTC)


 * I think we both have a similar goal, to cut down on the hacks and quick fixes which do not work, but perhaps have different ideas of how to do it. The focus of this page does not seem to have changed much, since its move from Meta and its split into a separate page. Whether someone has root access or not is/was not the main focus of this section when I wrote it. I believe that the page name is misleading and gives the wrong impression on what the focus of this page is, which is the rewrites rules used to make the page title shorter. As another section focuses/focused on using aliases to make shorter urls instead. --Darklama 18:29, 28 October 2007 (UTC)
 * I know little about this entire subject, which ironically I think makes me the ideal person to put this together (to dumb it down). But my ignorance has its limits. :)


 * I stuck with the person who set up this page, with a focus on root access/no root access. Please rename the page etc as you see fit, especially since you are the author. Odessaukrain 01:51, 31 October 2007 (UTC)


 * Alright, I've moved it back to Manual:Short_URL/Apache_Rewrite_rules again. I think you may also have been confused about what the differences were between the Short URL page and the Shorter URL page since you included wiki/Page_title in the page name to indicate a short URL when in fact this was covering shorter urls which remove the need for the wiki in the URL name. However I think we can cover both approaches on this page in regard to Rewrite rules, as the differences are minor. I was dumbing down the Using_a_very_short_URL page on Meta when I wrote this section, so even there are goals are the same. :) --Darklama 23:17, 1 November 2007 (UTC)

Image path errors...ReWrite issue?
My wiki has suddenly started showing image errors. The files do exist, but they use a different directory structure than what the web site is trying to look for.

For example: http://wiki.galbijim.com/Wa_Bar_%28Mokpo%29

This page is looking for: /home/***/public_html/wiki/images/thumb/Ullimsanbang1.jpg/80px-Ullimsanbang1.jpg

The image is really located in: /home/***/public_html/wiki/images/thumb/4/40/Ullimsanbang1.jpg/80px-Ullimsanbang1.jpg

We restored the wiki/images directory which did not solve the problem. We think it could be a ReWrite or template/skin error, stemming from a poorly configured skin.

Any feedback on what could be the specific problem?

Thanks, Gbozz

addon domains?
What if I use addon domains; /home/johndoe/public_html/example.com ? --144.122.250.204 19:50, 23 October 2008 (UTC)

Redirect from www to non-www
Hi, my website sudomain.anydomain.net and its www counterpart www.sudomain.anydomain.net are both indexed by the search engine (Big G to mention). Apache Rewrite Engine does not properly handle the rewrite schema I think because of the utf8 url structure used in Mediawiki. My website has a heavy use of utf8 urls. To cut it short, how can I create a 301 redirect from my www.sudomain.anydomain.net pages to my intended sudomain.anydomain.net pages within mediawiki php pages (probably index.php)? Regards --88.226.209.92 08:55, 25 October 2008 (UTC)

P.S. Example: Rewrite engine redirects to

index.php?title=Kurukol_K%25C3%25B6y%25C3%25BC%252C_Erzincan instead of the correct:

index.php?title=Kurukol_K%C3%B6y%C3%BC%2C_Erzincan