WordPress.org

Ready to get started?Download WordPress

Forums

Networks for WordPress
Subdomain name availability checker (6 posts)

  1. skvwp
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/plugins/networks-for-wordpress/

  2. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    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!

  3. skvwp
    Member
    Posted 2 years ago #

    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

  4. roxor
    Member
    Posted 2 years ago #

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

  5. skvwp
    Member
    Posted 1 year ago #

    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.

  6. skvwp
    Member
    Posted 1 year ago #

    http://wpseek.com/domain_exists/
    http://codex.wordpress.org/Function_Reference/get_search_form

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic