• Resolved juliejcdesign

    (@juliejcdesign)


    I installed a network, so far everything was working (it is not the firts time I do this), but when I go to add a site it tells me “that the adress is not valid or non-existing”

    Any clue what is going on, I have put the code as described in the instruction in my config and htaccess files.

    It seem to be asking me for a sub-domain, but I wanted a sub folder. I am writing http://www.groupeespaces.ca/en but it is written just below .groupeespaces.ca as if wanting me to create en.groupeespaces.ca

    When I installed the network a message said that my install was not recent and that my wordpress network sites should use sub-domain and it could break the link to my images. I don’t know how to resolve that either and why it gave me that message.

    I guess I found my answer here : You cannot choose Sub-directory Install (for a path-based network) if your existing WordPress installation has been set up for more than a month, due to issues with existing permalinks. (This problem will be fixed in a future version. See Switching network types for more information.)

    So it brings me to another question : what is the implications for me to use a sub.domain instead of a sub/directories. Is it a problem with SEO ? Will it be working with my plugins Multisite language switcher ? I am use to doing it with sub/directories and not with sub.domain. See for example my own site at http://www.juliecloutier.com where I created the main site on the root and used language switcher plugin to navigate to the french version of the site in the sub/directory http://www.juliecloutier.com/fr/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Subdomain requires the use of wildcard subdomains setup on the server.

    Subfolders stuff a /blog/ in the permalinks off the main blog. In a new blog this is not a bigge, but if this happened on an older blog with established traffic it would mess up your links.

    You can override it by installing one way and then editing the files for the other way.

    what is the implications for me to use a sub.domain instead of a sub/directories. Is it a problem with SEO ? Will it be working with my plugins Multisite language switcher ?

    Other than the permalinks, there are none. No seo issue,s no plugin issues. Just a preference.

    Thread Starter juliejcdesign

    (@juliejcdesign)

    Sorry, what do you mean by : “You can override it by installing one way and then editing the files for the other way.”

    What are the step required for me to be able ton install the new site in the network in a sub/directory ?

    WP says I can’t see the images here : http://www.juliecloutier.com/network_images/firstmessageNetwork.jpg
    http://www.juliecloutier.com/network_images/secondMessageNetwork.jpg

    Thank you for your help.

    Thread Starter juliejcdesign

    (@juliejcdesign)

    O, I think I got it, I had in my config file

    define( ‘SUBDOMAIN_INSTALL’, true );

    I changed it to false and I think it will be working.

    I guess this is what you meant by override it.

    Thanks a lot, it is indeed working.

    Thread Starter juliejcdesign

    (@juliejcdesign)

    I completed 1 step but have another problem. I created the new site with sub-directoriy, so far so good : http://www.groupeespaces.ca is the main site and I created http://www.groupeespaces.ca/en for the english verision.

    I can see the site when I go to the adress /en but I can’t see it in my list of sites in my network and I can’t login when I type : http://www.groupeespaces.ca/wp-login.php

    I also do not understand why I need to login the english and why I can’t see both of the site directly within my usual login in the main site adress : http://www.groupeespaces.ca/wp-login.php

    In forefox when I try to go to the dashboard it give me this error message

    “The page isn’t redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies.”

    Any idea what I should do ?

    In safari and google the message says there is too many re-directs.

    Thread Starter juliejcdesign

    (@juliejcdesign)

    Maybe it is the htaccess file, I currently have : # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]
    </IfModule>

    # END WordPress

    Maybe I should have this instead :

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    # END WordPress

    What do you think ?

    Thread Starter juliejcdesign

    (@juliejcdesign)

    That’s it, I am almost a “geek” LOL, I changed the hta file and it is working now.

    Although I still don’t know why I can’t see the sites in my sites list when I am loged-in as the super admin of the main site.

    I found out why, I have to add the main admin user as a user under the new site. Finally getting there.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sub directories not possible with 1 month old version of WP site ?’ is closed to new replies.