Wordpress Dev

Plugin WP Super Subdomains – create Subdomains in second !

Dear all ! Plugin WP Super Subdomains is the best subdomains plugin for WordPress than ever ! It can config your category, …

Dear all !

Plugin WP Super Subdomains is the best subdomains plugin for WordPress than ever ! It can config your category, tag, author name or Page to subdomain, it great to create login page ( login.domain.com ) or help page ( help.domain.com ) or also your forum ( forumpage.domain.com ) and run fast, no SQL query !

I spent 2 days to create WP Super Subdomains with many functions that other plugin can not have, and in this post i will tell you step by step to turn your blog to Multisite without WordPress multisite 😀

Your domain config first

Eg: You have a web hosting with IP

Please go to domain Cpanel and config Recode (*) to that IP ( )

Change recode * to the host's IP

Change recode * to the host’s IP

Now check your host

Some host doesn’t allow to create many subdomain or , if you can not config it, please use VPS or Server ! You can test by go to “test.yourdomain.com”, if host return default page, Perhap it doesn’t allow You to create subdomain !

Next, Install Wp Super Subdomains

Okey, if you ready to install, go to WordPress plugin page to download Wp Super Subdomains and install it, nothing would happen during install process !

After that, don’t forget plugin’s setting page

Okey, bynow a new menu appear, you can see it by go to SETTING > SUBDOMAIN

Now you can see all options, remember something:

  1. If your homepage URL is www.domain.com you are done, if  not, please go to Setting > General and change it to WWW. because sometime plugin doesn’t understand your homepage ( homepage.com ) with Category homepage ( homepage.homepage.com ) so  plugin force you to do that, if not, you can not active this plugin !
  2. If your permalink is not like /%category%/%postname%.html You also can not save setting and plugin won’t work, Your Post’s URL will like “cat.domain.com/subcat/postname” and if you do not set your permalink like example, it will conflict with other setting !

If all above is sloved, you now can save plugin setting and your category, tags and user turn to new domain, depend on your setting !

How Your subdomain look like ?

  1. If turn on subdomains for Category, all the category will be “category.domain.com” and Now, All your post will like “category.domain.com/postname.html” or “category.domain.com/subcategory/postname.html”
  2. If turn on for tag, all the tag will be “tagslug.domain.com”
  3. If turn on for author, all author slug will be “authorname.domain.com”
  4. If turn on for Pages, Page’s slug will be “page.domain.com”

Can harm your SEO ?

I do not know, if you install Wp Super Subdomains and turn all on, i use redirect 301 to tell browser to redirect to new URL, academically, it can not harm your SEO !

What happen if i have a category name, author name is the same ?

Remember, this plugin check subdomain in order:

  1. If Subdomain = category, go and stop, else continue
  2. If Subdomain = tag, go and stop, else continue
  3. If Subdomain = author, go and stop, else continue
  4. If Subdomain = Page, go and stop, else redirect to 404 page !

So if category name “JAM” and author name “JAM”, your domain will have two slug “jam.domain.com” and “jam.domain.com”, but this plugin will think that is category instead author name, and remember for other case, if you allow user to register, please write a function to check if subdomain avalable or not !

Can i use this plugin with HTTPS ?

Maybe Yes, i use double slash in URL so browser can know what to do, if https is turn on, it will be https ! Please test and tell me !

I want to create login page in subdomain ?

Yes, please create page with “login” slug and you now can login by going to “http://login.domain.com” but, you have to do more in wp-config.php file:

Adding this code to any where in wp-config.php file:

define( 'COOKIE_DOMAIN', 'example.com' );
define( 'ADMIN_COOKIE_PATH', '/' );

This define will allow you to share cookie data in all Subdomain, so once login in login.domain.com, you can go every where in your domain and of course you are still logged in !

Error server DNS address could not be found

Remember: This error happend when:

  1. Cache DNS in Windows, please “flush DNS”
  2. Error when domain updating DNS, it need more time to update
  3. Cache in Browser like Chrome or Firefox
  4. Check your DNS config in Domain, please point all to IP ( Eg: ) instead of Cname like “abc.domain.com”
  5. Some Share hosting do NOT allow you to create subdomain, so check it again !

What’s more ?

This plugin will come with extra functions, so please tell me if you like this plugin do what in the future !

And, do not forget to give me a cup of coffe in donate button in WP super Subdomains Setting Page !

Thanks all and Good day !

Thông tin liên quan