• I need to combine two woocommerce sites onto a single domain. The home page will have an option to visit the store “side” of the site or the clinical “side” of the site. The clinical site uses woocommerce for the products but doesn’t have the ecommerce capabilities. The store site does have ecommerce capabilities. Both sites have the same products with the same names, same categories and a lot of the same pages. However, the descriptions, images and such are different for targeting different audiences. So, I was hoping that if I renamed slugs/permalinks for the store products, categories and pages, that I’d be able to import them into the clinical site and all would be well. I encountered a fatal error. Not sure if it was due to the duplicate names or something else.

    I’m just really looking for some guidance as to the best way to accomplish this – subdirectory, multisite, renaming slugs (I don’t really see how I can make it work to rename the actual products). I need to end up with basically 2 different sites on the same domain – each operating independently of each other. And not using subdomains because the client wants the SEO benefits of a single domain. The sites I need to combine are https://smicoldtherapy.net and https://smiwraps.com.

    Thanks for any help you can give me!!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’d use a subdirectory – put the shop site files into a folder called ‘store’ in the smicoldtherapy.net root folder.

    Then change the ‘siteurl’ and ‘home’ settings in the database of the shop site from ‘https://smiwraps.com’ to ‘https://smicoldtherapy.net/store’

    Are they both currently on the same server? If so, then it would be easier as the database won’t need to be moved!

    Doing it like this will also mean that the site on https://smiwraps.com will still be running without being affected at all.

    Thread Starter EcstaticDesign

    (@ecstaticdesign)

    Thanks for your reply, seank123. I do think that sounds like a good way of doing it. The problem is, both sites are currently hosted on WPEngine and they don’t support subdirectories. I would really hate to have to change hosts so am trying to see if there’s another way of accomplishing this.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @ecstaticdesign

    I understand you’re looking to combine two WooCommerce sites onto a single domain, with each site operating independently and targeting different audiences. I appreciate you sharing the details of your project, and I’m here to guide you through the process.

    Considering your requirements, I believe the best approach would be to use WordPress Multisite. Multisite allows you to create a network of sites on a single WordPress installation, which aligns well with your need to have two different sites on the same domain. And WPEngine also allows creating multisite.

    In your case, you would set up a multisite network with subdirectories. This means that your two sites would be accessed via URLs like https://yourdomain.com/store and https://yourdomain.com/clinical. This approach retains the SEO benefits of a single domain as per your client’s request.

    Additionally, if you are not interested in using a multisite environment, you can create a subdomain to achieve it.

    Regarding the issue of duplicate names, you’re correct that this could cause a fatal error. When importing data into WordPress, it’s important to ensure that slugs/permalinks are unique. You may need to rename the slugs of the store products, categories, and pages before importing them into the clinical site.

    However, you mentioned that you can’t rename the actual products. If that’s the case, you might consider using different prefixes for the slugs of the two sites. For example, you could use “store-” and “clinical-” as prefixes for the slugs on the store and clinical sites respectively. This way, you can keep the actual product names the same while ensuring the slugs are unique.

    I would recommend backing up your sites before making any changes. If anything goes wrong, you can easily restore your sites to their previous state.

    I hope this helps! If you have any other questions, feel free to ask. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Merging 2 woocommerce Websites’ is closed to new replies.