• Hi,

    I have installed this on a test site and it’s working well. Thank you for this plugin!

    There’s a couple questions I have for other sites and I’d like to understand any quirks before trying on them since they are high-traffic revenue generating sites.

    1. Site 1 has WP on www but various subdomains have other things – forums, etc. What should I be aware of if I want to utilize the plugin in this scenario?

    2. Site 2 has WP installed in a subdirectory for articles, but the rest of the site (in addition to subdomains) has other content. Are there any specifics I need to deal with on this?

    For both of the above, I’m wondering about page rules, standard Cloudflare settings, etc.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Site 1 has WP on www but various subdomains have other things – forums, etc. What should I be aware of if I want to utilize the plugin in this scenario?

    – No. Cause when you add this plugin on the www site, then the plugin will create a page rule like https://www.example.com/* which will not interfere with other subdomains like forum.example.com, unless you add this plugin to that subdomain site as well in which case the plugin will create another page rule i.e. https://forum.example.com/*.

    Site 2 has WP installed in a subdirectory for articles, but the rest of the site (in addition to subdomains) has other content. Are there any specifics I need to deal with on this?

    – Yes. Lets say that you have a WP install on https://someexample.com and also on https://someexample.com/foo/.

    In this case when you install the plugin in https://someexample.com which will create a page rule for https://someexample.com/* that would also point to https://someexample.com/foo/ creating a bunch of issues.

    In this case if you want to bypass caching for https://someexample.com/foo/* then you ned to add another page rule manually to bypass cache those https://someexample.com/foo/*.

    This is why it is always a super bad idea to have seperate WP installs in sub directories, each seperate installs should be in a separate subdomain.

    Hope this helps.

    Thread Starter mlepisto

    (@mlepisto)

    Thanks for that information. In the case of site 2, the WP home page and other permalinks are all within the same subdirectory /articles/* so perhaps if I modify the created page rule to account for this, would that alleviate the issues?

    The rest of the site is home grown code for e-commerce, WP is only used for articles in the directory mentioned.

    Thanks again!

    Plugin Contributor iSaumya

    (@isaumya)

    Thanks for that information. In the case of site 2, the WP home page and other permalinks are all within the same subdirectory /articles/* so perhaps if I modify the created page rule to account for this, would that alleviate the issues?

    – Yes that should work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Subdomain or subdirectory only’ is closed to new replies.