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 126.96.36.199
Please go to domain Cpanel and config Recode (*) to that IP ( 188.8.131.52 )
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:
- 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 !
- 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 ?
- 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”
- If turn on for tag, all the tag will be “tagslug.domain.com”
- If turn on for author, all author slug will be “authorname.domain.com”
- 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 !
Remember, this plugin check subdomain in order:
- If Subdomain = category, go and stop, else continue
- If Subdomain = tag, go and stop, else continue
- If Subdomain = author, go and stop, else continue
- 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:
- Cache DNS in Windows, please “flush DNS”
- Error when domain updating DNS, it need more time to update
- Cache in Browser like Chrome or Firefox
- Check your DNS config in Domain, please point all to IP ( Eg: 184.108.40.206 ) instead of Cname like “abc.domain.com”
- 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 !