TCP Category Subdomains plugin can converts post and woocommerce product categories to sub-domains.
Simply Create a Posts or Product Categories. All post and product categories will be included inside the plugin page. You can choose to enable or disable them.
You may require configuration on adding wildcard subdomain. Normally it will be configured by host, ask them if needed. It will increase the performance of site and will help in SEO. Plugin will also auto redirect to new subdomain link to avoid duplicate content issue.
[FREE] Maximum 5 post or product subdomains
[PREMIUM] Unlimited subdomains for all post and product categories
Upgrade to PREMIUM to enjoy unlimited domains.
Don’t forget to configure WildCard Subdomain.
- Unzip and Upload Folder to the /wp-content/plugins/ directory.
- Activate through WordPress plugin dashboard page.
- Visit TheCartPress > Category Subdomain > Choose cateories that need to set as subdomain.
- Save Changes.
How to configure a WildCard Subdomain
Read the following tutorial https://codex.wordpress.org/Configuring_Wildcard_Subdomains
Where to set the subdomain
In Setting Menu > TCP Category Subdomains > Tick to enable product or post category > Save Changes
When using woocommerce, add cart not working?
This seems to be regarding cookies availability in subdomain issue.
one of the solution is to change the cookie domain.
eg: go to wp-config file, add in define(‘COOKIE_DOMAIN’, ‘.example.com’); need to add
.in front of the domain to support multiple subdomain.
Contributors & Developers
“Category Subdomains for Woocommerce by TheCartPress” is open source software. The following people have contributed to this plugin.Contributors
Translate “Category Subdomains for Woocommerce by TheCartPress” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Support subdomain for category page
- Add plugin link to TheCartPress sidebar menu
- Use tcp.php
- fix redirect bug reported
- fix unidentified index warning in menu page
- implement TheCartPress menu
- fix bugs reported
- First release