• Resolved zelda013

    (@zelda013)


    Hello,
    I’ve got a working site at https://lesbeauxebooks.com/ which I’d like to duplicate and translate into English on a subdomain, and then map a new domain to it. I plan to use a multi-site install with Multi-Lingual Press.

    I’ve installed the WP network and the original site works fine still but when i try to access the new subdomain https://en.lesbeauxebooks.com/ or the dashboard at https://en.lesbeauxebooks.com/wp-admin I get a 500 error “The domain / subdomain has not been found. Error 500.”

    I’ve checked the DNS, the wildcard subdomain exists. I don’t have access to the server to verify / create it myself but as the hosting offer I’m using specifies “unlimited subdomains” logically it’s in place there as well, yes ?

    I created the subdomain “en” in WordPress and it does appear in the WP network admin dashboard.

    In the wp-config.php I’ve added this code :

    /* Multisite */
    
    define('WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'lesbeauxebooks.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* That's all, stop editing! Happy blogging. */

    And here is the modified htaccess file :

    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    </IfModule>
    
    # END WordPress

    Any help would be greatly appreciated! I’m completely at a loss and my head is spinning after reading through about a gazillion different forum topics and blog posts. I called my hosting company in case they had an idea but they have been no help. :/

    The page I need help with: [log in to see the link]

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter zelda013

    (@zelda013)

    Dang it indeed.

    The support at my host is not exactly up to all this so far. I am pretty sure in the past 2 days I have talked to all 3 of the people working there and none of them has been particularly helpful… one a little more than the others but didn’t have enough info / technical skills.

    Not sure how easy it is to contact a second level person but I will definitely try if necessary, I am starting to have the impression this could be down to a server intervention.

    I do have an htaccess file and I can modify that with no trouble, however I am completely flying blind there… here is the current htaccess, can you tell me exactly what to add and where ? If you can give me the exact text I will add it right away.

    Thank you from over here in France !! <3

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    </IfModule>
    
    # END WordPress

    Well, there’s the problem… I just barely know this Apache stuff myself and that’s with a book in my hand.

    I sure don’t want to go further into this but I have an idea…

    If tech support can’t help and there isn’t any second level then try Stack Exchange’s Server fault.

    Actually, I’d have considered picking up and moving myself.

    It’s Friday night. All the more experienced tech people have probably went home.

    You might also try over at Quora.com. Sometimes there’s a server tech there. I hang out over there…

    Thread Starter zelda013

    (@zelda013)

    Okay, thanks for that advice. In that case I might leave it until Monday when hopefully the experienced tech people will be back. It’s a bit discouraging to feel like I’m so close but the next step is out of my reach… Maybe with some luck there will be a next level person who could at least give me some answers at the hosting company.

    I will definitely try stack exchange server fault, thank you for the suggestion, as well as Quora.

    Thank you again for all your help, I appreciate it so much. I will let you know, if / when I figure this out. :/

    I actually asked over on Quora and sent the request to a few people who might have that answer.

    waiting…

    Thread Starter zelda013

    (@zelda013)

    Oh, you’re so kind. ?? Thank you for that.

    I’ve posted my question on server fault as well, in case you want to keep an eye on it, hopefully I asked the right thing:

    https://serverfault.com/questions/934245/need-htaccess-to-define-wildcard-subdomain-for-a-wordpress-multisite-install

    Now to try and get some sleep…

    Thread Starter zelda013

    (@zelda013)

    Hello @jnashhawkins, I hope you’ve had a good week-end. ?? I’ve only received one answer so far to my question on stack overflow, from someone who wanted to know how I could create a subdomain via ftp. :/ Is there anything new on Quora? Could you give me the url of your question so I could follow it? Thanks!

    Thread Starter zelda013

    (@zelda013)

    Hello @jnashhawkins, just to let you know, I FINALLY got the support team at my host to escalate the question to someone more knowledgeable and it turns out online does not allow the necessary server configuration, so my problem is down to the fact that it’s just not possible there. It’s really annoying they couldn’t give me this info earlier because I lost a week trying to figure this out and in fact the only solution is, switch to a different host. :/ I’m going with OVH instead of online, from the research I’ve done apparently there is no problem with the server config there. Hopefully this will all be sorted as soon as I migrate. Thank you again for all your patience and attention, I can’t tell you how much I appreciate it.

    when we using SSL services where DNS needs to be setup for subdomain to come alive, you must check subdomain and this issue can solved from the hosting provider

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Multi-site install – original site is fine, 500 error on the new subdomain’ is closed to new replies.