• Dear All,

    I am a happy user of ‘Network for WordPress’ plugin. At present, I am busy creating a very big network of more than 300 domains in WP multi site environment. My question is whether it is possible to give my visitors a facility to search whether a subdomain site name is available for them or not? (on a specific domain in Network of domains on a single install)

    Hope, my question is clear! Lets say in other words, if my main domain is domain.com and domainA.com and domainB.com are mapped on the main domain then abc.domainA.com is already registered, then let the other user search and find out that ABC.domainA.com is not available but ABC.domainB.com is available.

    Please help….

    Thanks

    SKVerma

    https://www.ads-software.com/extend/plugins/networks-for-wordpress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Dean

    (@ddean)

    Hi skvwp,

    You can use the domain_exists function (built in to WP) to check whether a combination of domain and path is available. It needs the network ID as a parameter, so you’ll have to get IDs for the networks you want to check. That’s a pretty straightforward query against the wp_site table, though, and one you’d want to run to get a list of domains to check anyway.

    Be sure to let us know how it goes or if you have any more questions!

    Thread Starter skvwp

    (@skvwp)

    Sir,

    What you suggested is great, but everything went over my head!! I am a scientist and work on cancer, I understand the language of cancer. However, Due to my good logical sense, I am putting my websites together with the help of plugins and themes such as your plugin. So, what I need is either detailed description of above (step-by-step) that I could follow word by word, or a simple small plugin that a knowledgably person like you can write.

    Thanks in advance for your help.

    SKV

    hi skvwp,
    i was wondering did you get any plugin or trick to check Subdomain name availability working ??
    i got the same issue here.

    Thread Starter skvwp

    (@skvwp)

    not yet. If anyone else could kindly describe step by step, i.e what to add in the header.php so that the form appears which check the subdomain name availabilty across multinetwork.

    Ideal would be that the admin add all the networked domains at the backend. At the fron end the users pull down the networked domains in a form and search for name. Up on clicking search, the result is displayed whether the name is available or not. If available, the user just go ahead to register it.

    Thread Starter skvwp

    (@skvwp)

    https://wpseek.com/domain_exists/
    https://codex.www.ads-software.com/Function_Reference/get_search_form

    But I dont know how to make use of this information to solve the question?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Networks for WordPress] Subdomain name availability checker’ is closed to new replies.