Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I need a bit of advice. I have an e-commerce site on www.mydomain.com and I have now created a sub domain that will have a totally new store running on it (all installed any ready to go). I use prestashop and I want to point a category on www.mydomain.com to my new sub domain www.mydomain/sub.com. Can this be done? How would I do it?

share|improve this question
3  
if it is a subdomain, would you be pointing it to subdomain.mydomain.com? –  Steve Jul 13 '12 at 6:19
    
If I understand your question, you could stick the page in question into the HTML element I-Frame or similar? –  Dave Rook Jul 30 '12 at 14:18
    
Do you have control over the templates in prestashop? Can you add php code to them? If no then you'll have trouble linking a category to your subdomain. If you can create content links just do that and place it some where in the sidebar or make a graphic and link that. –  Anagio Dec 11 '12 at 8:44
add comment

3 Answers 3

If you want to make sub domain then it can't be possible as mydomain.com/sub.com but you can create it as sub.mydomain.com. If you are ready to make sub domain then log in into control panel of web hosting and then choose option as create sub domain. You sub domain facility available on your web hosting plan. I hope you can understand about sub domain.

share|improve this answer
1  
This does not seem to answer the question? –  w3d Jul 13 '12 at 20:25
add comment

www.mydomain/sub.com

either does not make sense or will confuse everyone or I'm not getting your question right

www.mydomain.com/sub

is a subdirectory

while

www.sub.mydomain.com

is a subdomain

In general context subdirectory and subdomain should behaves almost the same way. For SEO, the safe approach is to use subdirectory instead of subdomain e.g. http://www.whitefireseo.com/site-architecture/subdomain-or-subfolder-post-panda/360/ (there are a lot more preferences, feel free to do some searches)

The general directory structures on your server would be as follows for both subdirectory and subdomain case

  • mydomain.com/ (your domain www.mydomain.com points to this directory)
    • sub (your subdomain or subdirectory simple points to this directory)
    • other directories and files

As a result, what you need to do is the following 2 simple steps

Step 1: Create directory "sub" inside directory "mydomain.com" (this should be a breeze if you have access to cPanel or SFTP access to the directory "mydomain.com" and you have "write" permission to it

Step 2: Install a new prestashop website inside "mydomain.com/sub/"

Good luck!

share|improve this answer
add comment

So.. you havee installed PRESTASHOP in www.mydomain.com and your store will stay there. The only thing you want to do is to read a category from prestashop and put the results in subdomain.mydomain.com. If I understood well so.. this will be done in 3 ways:

  1. you will connect to the old database and read from there anything you want to apply in the subdomain
  2. you will use the prestashop webservice (the old one, installed in www.mydomain.com) and then conform to the documentation about collecting data trough webservice have some results
  3. if you wish to only display a link to the category, you can copy the category URL, but in this situation you will ensure that category never ever changes its id or name or changing the seo friendly url structure.

Hope is helpfull for you

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.