Thank you so much, Robert, but this has no effect on my site because I have
"nice URL's" on my Mediawiki Installation. The .htaccess looks like this:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.mydomain.com$ [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]
RewriteRule ^/?wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^/?wiki/*$ /w/index.php [L,QSA]
RewriteRule ^/*$ /w/index.php [L,QSA]
On Thu, Aug 15, 2013 at 1:53 AM, Robert Cummings <[email protected]>wrote:
> Sorry.. should have explicitly said create an index file named index.php
>
> Cheers,
> Rob.
>
>
>
> On 13-08-14 07:51 PM, Robert Cummings wrote:
>
>> Hi Isabell,
>>
>> At the root of your site create an index file and in it place the
>> following code:
>>
>> <?php
>>
>> header( 'Location: http://www.mysite.com/blog' );
>>
>> ?>
>>
>> That's it... just replace "www.mysite.com" with your own domain :)
>>
>> Cheers,
>> Rob.
>>
>>
>> On 13-08-14 07:02 PM, Isabell Alcott wrote:
>>
>>> Hello Wjhonson:
>>>
>>> I like:
>>>
>>> mysite.com/wiki/Article
>>> mysite.com/blog
>>>
>>> and would like to redirect automatically to mysite.com/blog
>>>
>>>
>>>
>>>
>>> On Thu, Aug 15, 2013 at 12:59 AM, Wjhonson <[email protected]> wrote:
>>>
>>> If you don't like www.mysite.com/wiki
>>>> how about wiki.mysite.com and wordpress.mysite.com ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Isabell Alcott <[email protected]>
>>>> To: MediaWiki announcements and site admin list <
>>>> [email protected].**org <[email protected]>>
>>>> Sent: Wed, Aug 14, 2013 3:56 pm
>>>> Subject: Re: [MediaWiki-l] Wordpress and Mediawiki Nice URL Problem
>>>>
>>>>
>>>> ok, that sounds like a clear install.
>>>>
>>>> is it also possible to autoredirect to the wordpress installation ?
>>>>
>>>>
>>>> On Thu, Aug 15, 2013 at 12:48 AM, Robert Cummings <[email protected]
>>>>
>>>>> wrote:
>>>>>
>>>>
>>>> I'll second Wjhonson's statement. By placing both MW and WP in
>>>>>
>>>> sub-folders
>>>>
>>>>> and using an index at the root folder, you can easily choose either of
>>>>>
>>>> them
>>>>
>>>>> to be the default target by redirecting when the root index is
>>>>> accessed.
>>>>>
>>>> I
>>>>
>>>>> would generalize this to other applications also. It's a clean approach
>>>>>
>>>> and
>>>>
>>>>> prevents one application from having to reside in another application's
>>>>> space.
>>>>>
>>>>> Cheers,
>>>>> Rob.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 13-08-14 04:48 PM, Wjhonson wrote:
>>>>>
>>>>> I believe Wordpress should *not* be on top of the domain heirarchy
>>>>>>
>>>>>> I have a Mediawiki install, and I have a Wordpress install, and they
>>>>>>
>>>>> both
>>>>
>>>>> live in their own separate directories, one level down from the top.
>>>>>>
>>>>>> The top page, I had to create myself, not from an install script. It
>>>>>> points at the lower level installs.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Isabell Alcott <[email protected]>
>>>>>> To: MediaWiki announcements and site admin list <
>>>>>> [email protected].****org <[email protected].**
>>>>>> org <[email protected]>>>
>>>>>> Sent: Wed, Aug 14, 2013 1:39 pm
>>>>>> Subject: Re: [MediaWiki-l] Wordpress and Mediawiki Nice URL Problem
>>>>>>
>>>>>>
>>>>>> hello, has noone a solution for my problem ?
>>>>>>
>>>>>>
>>>>>> On Sun, Aug 11, 2013 at 2:42 PM, Isabell Alcott <
>>>>>> [email protected]
>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>
>>>>>> yes, that would be the most easiest way to do it, but i dont like
>>>>>> the
>>>>>>
>>>>>>> solution over subdomains, so thats why.
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Aug 11, 2013 at 2:11 PM, Leonard Wallentin <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>> Is there a reason you can't use seperate subdomains? Like
>>>>>>>
>>>>>>>> blog.domain.comor
>>>>>>>>
>>>>>>>> something for your Wordpress site.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>> /Leo
>>>>>>>> _______________Leonard Wallentinleo_wallentin@**
>>>>>>>> hotmail.com@leo_wallentin+46
>>>>>>>> (0) 735 - 933 543
>>>>>>>>
>>>>>>>> Date: Sun, 11 Aug 2013 13:38:21 +0200
>>>>>>>>
>>>>>>>>> From: [email protected]
>>>>>>>>> To: [email protected].****org<
>>>>>>>>>
>>>>>>>> [email protected].**org <[email protected]>
>>>> >
>>>>
>>>>> Subject: [MediaWiki-l] Wordpress and Mediawiki Nice URL Problem
>>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I have the following problem:
>>>>>>>>>
>>>>>>>>> *www.domain.com* is a blog (wordpress)
>>>>>>>>> *www.domain.com/w/* is the Mediawiki installation
>>>>>>>>>
>>>>>>>>> I know the specifications concerning the .htaccess and the index to
>>>>>>>>> make
>>>>>>>>> the *www.domain.com/w/ *into a nice
>>>>>>>>> *www.domain.com/wiki/
>>>>>>>>>
>>>>>>>>> *Caused by the Wordpress Installation, which should be on top of
>>>>>>>>> the
>>>>>>>>>
>>>>>>>>> Domain
>>>>>>>>
>>>>>>>> hierarchy, I have several problems concerning the nice URL in the
>>>>>>>>> Mediawiki-Installation. So the Domain is pointing directly to the
>>>>>>>>>
>>>>>>>> Wiki
>>>>
>>>>> instead to the Wordpress Blog.
>>>>>>>>>
>>>>>>>>> Can someone help? I would be highly appreciate that!
>>>>>>>>>
>>>>>>>>> uv
>>>>>>>>> ______________________________****_________________
>>>>>>>>> MediaWiki-l mailing list
>>>>>>>>> [email protected].****org <[email protected].*
>>>>>>>>> *org <[email protected]>>
>>>>>>>>> https://lists.wikimedia.org/****mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l>
>>>>>>>>> <
>>>>>>>>>
>>>>>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>> >
>>>>
>>>>>
>>>>>>>>>
>>>>>>>> ______________________________****_________________
>>>>>>>> MediaWiki-l mailing list
>>>>>>>> [email protected].****org <[email protected].**
>>>>>>>> org <[email protected]>>
>>>>>>>> https://lists.wikimedia.org/****mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l>
>>>>>>>> <
>>>>>>>>
>>>>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>> >
>>>>
>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> ______________________________****_________________
>>>>>>>
>>>>>> MediaWiki-l mailing list
>>>>>> [email protected].****org <[email protected].**
>>>>>> org <[email protected]>>
>>>>>> https://lists.wikimedia.org/****mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l>
>>>>>> <
>>>>>>
>>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>> >
>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>> ______________________________****_________________
>>>>>> MediaWiki-l mailing list
>>>>>> [email protected].****org <[email protected].**
>>>>>> org <[email protected]>>
>>>>>> https://lists.wikimedia.org/****mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l>
>>>>>> <
>>>>>>
>>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>> >
>>>>
>>>>>
>>>>>>
>>>>>> --
>>>>> E-Mail Disclaimer: Information contained in this message and any
>>>>> attached documents is considered confidential and legally protected.
>>>>> This message is intended solely for the addressee(s). Disclosure,
>>>>> copying, and distribution are prohibited unless authorized.
>>>>>
>>>>>
>>>>> ______________________________****_________________
>>>>> MediaWiki-l mailing list
>>>>> [email protected].****org
>>>>> <[email protected].**org<[email protected]>
>>>>> >
>>>>> https://lists.wikimedia.org/****mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l>
>>>>> <
>>>>>
>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>> >
>>>>
>>>>>
>>>>> ______________________________**_________________
>>>> MediaWiki-l mailing list
>>>> [email protected].**org <[email protected]>
>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>>
>>>>
>>>>
>>>> ______________________________**_________________
>>>> MediaWiki-l mailing list
>>>> [email protected].**org <[email protected]>
>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>>
>>>> ______________________________**_________________
>>> MediaWiki-l mailing list
>>> [email protected].**org <[email protected]>
>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>
>>>
>>
> --
> E-Mail Disclaimer: Information contained in this message and any
> attached documents is considered confidential and legally protected.
> This message is intended solely for the addressee(s). Disclosure,
> copying, and distribution are prohibited unless authorized.
>
> ______________________________**_________________
> MediaWiki-l mailing list
> [email protected].**org <[email protected]>
> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l