Simplescript MediaWiki version 1.17.0 Database mysql Hosting at bluehost(multiple website)
I need help in configuring Short URL.
we are using bluehost for hosting multiple websites.
I have different folders each running different website project
public_html\site1 public_html\site2 public_html\ArtistGyanWiki
below subdmain points to 'ArtistGyanWiki' folder
Please guide me on how to do short url. I do not have root access.
I also dont understand what to put inside htaccess file.
Please help
On 03/08/2011 18:12, Piyush Bavalia wrote:
public_html\ArtistGyanWiki below subdmain points to 'ArtistGyanWiki' folder http://wiki.artistgyan.com
Without root access, can you edit your apache (if you're using Apache) config?
If not, just install mediawiki into public_html\ArtistGyanWiki\w and follow the MediaWiki manual with default recommanded short URL guide for .htaccess.
You'll have something like http://wiki.artistgyan.com/wiki/Main_page http://wiki.artistgyan.com/w/index.php?somethingcomplicated
If you don't have that, you want your pages without /wiki/ directly under the subdomain, the MW manual also cover it but doesn't recommend it.
See: http://www.mediawiki.org/wiki/Short_URL for the global explanation and http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_ac... for the specific.
In the past few months, I've seen more and more people not wanting to have a "/wiki/" directory. Either because their subdomain says so already, or because their domain name says so already.
The most common fallback in such a case is letting the paths be rewritten from the root of the domain, but I think most developers will agree that this is not a good practice, which is why that manual is not recommended.
A good alternative is using wgActionPaths instead. See more here: http://www.mediawiki.org/wiki/Manual:$wgActionPaths#Clean_action_paths_from_...
The end result will be like: * wiki.example.org/view/Article_name * wiki.example.org/edit/Article_name * wiki.example.org/history/Article_name
Sites that use this configuration are for example: * http://wikitech.wikimedia.org/view/Main_Page * https://wiki.toolserver.org/view/Main_Page
-- Krinkle
On Aug 3, 2011, at 7:48 PM, Dorem - Jérémie Bouillon wrote:
On 03/08/2011 18:12, Piyush Bavalia wrote:
public_html\ArtistGyanWiki below subdmain points to 'ArtistGyanWiki' folder http://wiki.artistgyan.com
Without root access, can you edit your apache (if you're using Apache) config?
If not, just install mediawiki into public_html\ArtistGyanWiki\w and follow the MediaWiki manual with default recommanded short URL guide for .htaccess.
You'll have something like http://wiki.artistgyan.com/wiki/Main_page http://wiki.artistgyan.com/w/index.php?somethingcomplicated
If you don't have that, you want your pages without /wiki/ directly under the subdomain, the MW manual also cover it but doesn't recommend it.
See: http://www.mediawiki.org/wiki/Short_URL for the global explanation and http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_ac... for the specific.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org