February 9, 201313 yr Hey, Probably a major simple solution but currently I have a very inefficient temp process of redirecting a domain of mine, to a subdomain which is the intended home page. By this, I mean I have a domain with an ecommerce platform running from a /shop subdomain however I do not currently have a permanent www.domain.com/ home page. I would like to be able to type in www.domain.com and it to take me automatically to www.shop.domain.com without a html redirect script which I currently have. I understand this may be possible with altering my .htaccess however I am unsure on how to do this or what to type. I have tried a couple of lines of code however nothing seems to work for me. I would also like it to display the subdomain (shop.domain.com) page however in the URL bar display simply www.domain.com so it doesn't look like a subdomain redirect. Any assistance or advice with regards to a htaccess redirect in order to achieve this? THANKS IN ADVANCE!!
February 9, 201313 yr If you have access to cPanel there should be an option to set up redirects there.
February 9, 201313 yr Author ^^ I do have access to cpanel and i'm afraid the redirects are 301 and only allow me to redirect a subdomain (/shop) to a domain.. not the other way around. I would like to redirect the public_html/ directory to display the /shop subdomain.
Create an account or sign in to comment