• I am starting to copy my static site to WordPress. My static site (Parks and Squares of Curitiba, as translated from Portuguese) is at http://www.parquesepracasdecuritiba.com.br.

    Since I wish my static site to remain online while I copy its content to WordPress, I installed WordPress in a subdirectory, to be later moved to the root directory.

    I also wish to divide my site into two, with two different themes, so I need two WordPress installations under the same domain. Therefore, I made one installation at http://www.parquesepracasdecuritiba.com.br/wordpress and a second installation at http://www.parquesepracasdecuritiba.com.br/wordpress/onibus (obviously, when ready, the wordpress directory will be moved to root and the wordpress/onibus to a new onibus directory – I read the instructions and believe I can handle it when the time comes).

    The problem comes with permalinks. Pretty permalinks for the wordpress directory work fine, but those for the wordpress/onibus subdirectory do not work. If you try to access e. g. http://www.parquesepracasdecuritiba.com.br/wordpress/onibus/expressos.html, you will get a “nothing found” page – curiously, under the theme of the wordpress directory!

    I have searched the Internet and found out this is quite a common situation. I have found a few solutions by changing some lines at the .htaccess file. However, I have a Windows IIS server, so I understand I do not have a .htaccess file, but rather ws.config files. I have one separate ws.config file at each directory (wordpress and wordpress/onibus) and I thought it would work, but it doesn’t.

    Does anyone have a possible solution for that? I do not wish to use almost pretty permalinks, so I have not tried those.

    Sorry for any mistaken technical info or term above. Thank you very much in advance and best regards from Brazil,
    Valter Aguiar.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You can’t do that. It won’t work. You should have them in separate folders rather than nested folders.

    Actually the one way to make that work is to point a different domain name to the subfolder.

    Thread Starter valteraguiar

    (@valteraguiar)

    Thank you very much, Jonas. What do you mean? Something like http://www.onibus.parquesepracasdecuritiba.com.br? If so, how I can I do that? (I forgot to mention my lack of skills in my previous message, sorry…)

    Thanks.

    You can’t have a second WordPress installation in a sub-folder of the same domain name and use Permalinks. It simply won’t work.

    Thread Starter valteraguiar

    (@valteraguiar)

    Thanks again, Jonas. What if I use multisite?

    Thread Starter valteraguiar

    (@valteraguiar)

    Sorry for the insistence, but I have researched a bit more and would like to know if this procedure could work:

    1. I make one installation on the /wordpress directory and another one on a /onibus directory. Thus, they are separate folder in the same domain name.

    2. Since it seems to be very complicated to move a multisite installation from one directory to another, when all the content of my static site is included, I change the installation on the /wordpress directory to the root directory.

    3. I then turn the root directory installation into multisite.

    4. I include the /onibus installation in the multisite (I have not yet found how to do that, is that possible?).

    5. In this case, if I understood correctly, there would be the inclusion of /blog in permalinks, but there are ways to exclude it (even a plugin, I think).

    Under this procedure, would the permalinks work correctly?

    Sorry it this is all nonsense, but it would be very good if all this works… Thank you once again for your patience.

    Alwyn Botha

    (@123milliseconds)

    >>I also wish to divide my site into two, with two different themes, so I need two WordPress installations under the same domain.

    If you use multisite you do not need 2 installs

    http://codex.wordpress.org/Create_A_Network

    Thread Starter valteraguiar

    (@valteraguiar)

    Thanks…

    I understand the multisite installation instructions in the link “Create a Network” refers to the creation of a site from scratch.

    As stated, I already have a static site running, which I must keep online. So I would need to create the WordPress sites in different folders, and then transfer them to a multisite installation in the root directory.

    If I use the instructions at http://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite will it function accordingly? Will permalinks work? Thanks again…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Permalinks – two installations’ is closed to new replies.