Support » Networking WordPress » Issues with multisite sub domain

  • Hi,

    I encounter several issues with my WordPress site. What I need to do is creating a sub domain to set up the blog, thus the path will be blog.mydomain.com. I thought I needed to create a sub folder on my webhost and redirect it as a subdomain but I red about the multisite option of WordPress.

    • Is the subdomain option allows you to keep the structure of the main site (like header, footer etc.) of your theme or you need to reinstall the theme and configuring it manually ? Because I don’t see the utility of the subdomain if it’s not possible, like I used a lot of CSS properties for my header and footer and I would like not to do it again for my subdomain.
    • I did configure the multisite option but I was using a plugin for many 301 redirections. Unfortunately, redirections are not working anymore with multisite. I assumed it’s because of the htaccess file, but what can I do to avoid that ?
    • I created my subdomain blog.mydomain.com with the multisite (with the wildcard and all), but when I try to access the wp-admin panel, I just got a 403 status. Do you have an idea why ?

    Facing this issues, I wonder if it will be not easier to just create a subdomain with my webhost to accomplish what I want.

    Thank you for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • What is your working URL of your website, and what are the steps to reproduce a problem?

    Thread Starter floyddsh

    (@floyddsh)

    Hi,

    Thank you for the quick reply.
    My site can be found at http://jurisdiagimmo.com/
    I didn’t understand your second question though !

    Thanks

    What are the steps to reproduce a problem? Without these steps to reproduce a problem; I’m aran’t able to figure out what the problem is.

    Thread Starter floyddsh

    (@floyddsh)

    Hi,

    Sorry for the late answer.

    Okay so I followed this tutorial : https://codex.wordpress.org/Create_A_Network in order to get my subdomain working.

    So: I can access to http://blog.jurisdiagimmo.com/ and I just got a cgr.bin file but /wp-config is not working, I got a 404. (I deleted the multisite for now for SEO reason.)

    Another issue I’ve got:
    http://jurisdiagimmo.com/ is a redesign of an old site (the domain was the same but not the ending URLs). Therefore, I used a plugin called “Redirection” to make many 301 redirections from the old pages to the new ones. When I finished to configure multisite, 301 redirections were not working anymore and I tried to reedit them but it couldn’t work.

    Thanks

    There’s no need to do all of the redirects. As you create a wildcard subdomain… you can have endless amounts of subdomains,–depending on which host what you’re using. Most sites are dynamic via multisite.
    If you still have these problems… try reinstalling WordPress as a single blog, and convert it into a multisite for subdomains. You may need to backup all of your posts, and note which plugins what you’re using when you were using a broken version of your site. Too much of the 301 redirects will NOT help your site at all!
    To do this:
    1. Backup your data.
    2. Delete a broken version of your site.
    3. Reinstall WordPress, and restore your data. Such as your posts, and pages.
    4. reinstall plugins what you’re using. Before you do so, create a network,–just like a link what you’ve mentioned earlier.
    5. Skip installing the redirect plugin.
    6. Always check your wp-config.php file if you implemented a network already.
    7. Create a test subdomain, or make a live subdomain site. Let the wildcard subdomain do the rest of its work.
    8. Open your browser and confirm if your website is ready to use.
    9. Write your content, and design your site.
    Final step: confirm if your site is running correctly.

    Thread Starter floyddsh

    (@floyddsh)

    Maybe I explained it bad, I’m sorry, but the 301 redirections are not meant for the sulbdomain.

    I did a redesign of the old site which was hosted on the same domain as I have actually.
    But pages had different URLs. For example:

    The content of that page is exactly the same, I just made minor changes (images, design, etc.) I need to indicate to Google that this page has just switches of location or Google will think she no longer exists (404) and will see the new one as Duplicate Content.

    Every 301 redirects were working fine until I configure the multisite option and I think it is related to the htaccess file cause I needed to change it for the multisite.

    I hope it is more clear now !

    Thanks!

    I don’t get it. Please add more detail,–so I can find out. Please tell me these steps to reproduce a problem.

    Thread Starter floyddsh

    (@floyddsh)

    Hi,

    Okay so I used a plugin called “Redirection” : https://wordpress.org/plugins/redirection/

    I used https://www.google.fr/search?q=site%3Ajurisdiagimmo.com&oq=site%3Ajuris&aqs=chrome.0.69i59j69i57j69i58j69i59.1791j0j4&sourceid=chrome&ie=UTF-8 to see all pages from the old site I deleted indexed by Google.

    In order to keep my SEO in good health (because it’s the same domain) I made 301 redirects through the plugin : 301 - Redirection

    More infos about 301 redirects : https://blog.hubspot.com/blog/tabid/6307/bid/7430/what-is-a-301-redirect-and-why-should-you-care.aspx

    Like I said, it was working fine until I configured the multisite WP.

    Thank you for your time

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Issues with multisite sub domain’ is closed to new replies.