0

How can I automate the installation of wordpress in a subdomain?

Example:

Upon registration user1 would get automatically wordpress on user1.domain.com.

Then, upon registration user2 would get his own wordpress on user2.domain.com, etc.

I can program a little bit PHP, but I would rather avoid any programming and would prefer a ready-made solution if it exists.

Thank you in advance for your help. Any hint is appreciated.

4
  • Do they have to be separate wordpress installations? Depending on what you want to do, it might be better (read: more efficient) to have each user get a category or a custom post type or something. If possible, can you clarify what your end goal is?
    – mor7ifer
    Commented Feb 4, 2012 at 21:30
  • @m0r7if3r My goal is to create a website (based on wordpress) for each user. So I think it make sense to provide a separate wordpress install for each user. I am open to other ideas. I am still trying to figure out the best way to generate websites for users on subdomains. Commented Feb 4, 2012 at 21:35
  • Have you looked at wordpress multisite at all?
    – mor7ifer
    Commented Feb 4, 2012 at 21:36
  • @m0r7if3r Thanks a lot. I overlooked wordpress multisite. That's exactly what I was looking for. The only thing I still don't know is how to automatically create a new user in a wordpress multisite. Commented Feb 4, 2012 at 21:49

2 Answers 2

0

Ok, thanks to m0r7if3, I found the two pieces of information I was looking for:

-1

We created an open source script for this purpose, you can find it here http://buckhill.github.io/linux-package-installer-for-wordpress

We wrote an article on how to use it here: https://www.buckhill.co.uk/blog/how-to-automatically-install-wordpress-plus-plugins/6

If you want to contribute to the project, please go ahead :)

2
  • This purely link answers. Please file an edit and add the proper information and code from the links Commented Jun 4, 2014 at 16:55
  • It's pretty self explanatory. He needs to auto install WP, and we released a free script for the community to do just that. How else can it be explained - there's no need to post code here.
    – StuartB
    Commented Sep 1, 2014 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.