Hello Everyone! I've hit a wall today with something I'm trying to do, I honestly thought it would be quite an easy task, but I'm either missing something simple or I'm looking at the problem the wrong way. Some Detail on my setup Domain is with name.com Hosting is shared hosting package with hostgator What I'm trying to do I've created a blog website using wordpress with lots of categories. Currently they're accessed by link on the website as usual. Lets call it "website.com", with the categories as "cat1","cat2","cat3" etc., so right now they're website.com/cat1 or website.com/cat2 What I'd like to do is create individual "cnames?", so they can become something like cat1.website.com , cat2.website.com , cat3.website.com etc. So far I'm thinking I can just do this on my hosting side, setup subdomains and redirects perhaps? or is there an easier way I'm missing? Thanks in advance for any advice!
I am not sure, but you see to be getting no ideas so here is what I have known, CNAMEs or any records can be changed from your name.com itself. You cannot make it happen from your hosting account. And redirecting a sub domain to a page can be done by .htaccess file. So do it as follows, 1. Go to name.com and create all the subdomains you want. 2. Give A records for all of them such that they will point to Hostgator (All A records will be same) 3. Create these subdomains at Hostgator, 4. Create a .htaccess file for each and all the subdomains and put a redirect link to specific category in you main wp blog. 5. The .htaccess should be inserted with the required code to redirect the users to that category, while it is still showing you the URL with subdomain The only thing I dont know is, the code to be put in .htaccess file Hope this helps
And as a correction let me tell you, If you have set up your hosting account with NS records, you hosting account may be used to change other DNS settings as I came to know just now.
if you're looking for these to help with SEO, don't bother too much with the difference (folder vs subdomain, the keywords are always intitle). you can use .htaccess and an ANY DNS entry to do it as well.