local and staging setup

Hello there,

Like a lot of web developers, I build sites offline on a local machine using MAMP Pro and virtual hosts in the form of "https://example.test" (we do not use https://locahost as a url for a local site for a variety of reasons). This local machine can be seen on the company network but is not public-facing. My company also use a staging server that, again, uses virtual hosts in the form of "https://devX.companynamedev.xyz", and is connected to the internet so that clients can see progress on their site build. This works well, and allows us to tweak our staging server to accurately reflect the live server setup so that we can avoid any problems later down the road. After using the Be theme as a base for a child theme, we've come up against a problem when transferring the local instance of a site to the staging server--we can't update the parent theme and we see a written warning telling us that running the theme on more than one url is infringing your copyright. While I'm all in favour of intellectual rights, this makes our setup a bit problematic.

I've never seen this with a parent theme before (others I've used allow the use of two servers -- local + staging or staging + live regardless of url), and so I'm a bit perplexed. I don't want to deregister the local install so that I can update the staging server, and I don't want to make major changes to the staging server alone without first testing locally.

Is there any way round this?

Many thanks,

Brad

Comments

  • Hello Brad,
    this will work only with "localhost" domain name. If you create local domain like "example.test" then the theme will not let you register another website.

    The only solution is to have one key for all of the localhost installtions. This is possible with registering it on the domain "example.test" and then creating subdomains or subfolders.

    thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.