List Info

Thread: Index.php Removal




Index.php Removal
user name
2006-08-30 13:23:01
Hi All,

 

I have tried everything on the following page:
http://m
eta.wikimedia.org/wiki/Rewrite_Rules  and I can't seem
to get it
to work right.  No errors in the log or anything of that
sort...  I am
at my wits end and have been fighting to figure it out.

 

This is what my URL looks like...
http://e
n.somedomain.com/index.php/Main_Page I want it to look
like
http://en.somedomain.com
<http://en.somedomain.co
m/>   if that is
possible.  Mostly I just want to get rid of the index.php in
the URL.

 

Can anyone help me?

 

Thanks!

 

_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

Index.php Removal
user name
2006-08-30 17:38:14
Russ Lavoie wrote:
> This is what my URL looks like...
> http://e
n.somedomain.com/index.php/Main_Page I want it to look
like
> http://en.somedomain.com
<http://en.somedomain.co
m/>   if that is
> possible.  Mostly I just want to get rid of the
index.php in the URL.

In your root, you install your MediaWiki in /w/
In your root, you put a .htaccess with the rules indicated
in the doc 
(or in Apache conf, if you can/know how to do that)
Set $wgArticlePath = "/wiki/$1"; in
LocalSettings.php

It should work.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )