Prestashop 220.127.116.11. The emails generated by PrestaShop have the format "http://domain-name/shop/shop-name" rather than the correct link "http://domain-name/shop".
I think the changes started when I created a custom-theme by copying the default-bootstrap theme. Before that, the emails had the correct link. I am wondering if this is happening because my shop is still under development and is using a temporary url (domain-temp.com). Any suggestions?
I have migrated my domain to the IMH web server and still have. Now the emails contain a reference to http://paperweights.com/shop/allans-paperweights where the oringal domain name specifiewa
Could you clarify what emails you are referring to? Could you provide me with an example?
Sure. An example is the New Account email generated by account.html. The email is sent to everyone who registers an account. The email contains several links back to the shop. In each case the link resolves to http://domain-temp.com/shop/shop-name. This happens with all the emails not just the account email.
I don't know if the new theme change (copying the bootstrap-default) or possibly by the domain-temp url. I upgraded to 1.6.06 on 5/5/2014 when it was available and then realized that my earlier changes to translations were gone. That was when decided to follow Prestashop advice and copy the default-bootstrap to my own theme. So I am not sure which change caused the change in links.
We were discussing this, and it appears that the issue is related to the temporary domain being used for the site. The theme has nothing to do with the URL you're seeing for the emails. The domain should appear normal when you are not using the temp URL. When you are using a normal domain name, then the URL should return to normal.
Thanks for the quick response. I will point the domain at IMH and see if the problem resolves itself. It is strange that the problem didn't occur when I was at 18.104.22.168 and only theme was default-bootstrap.
Sorry for the confusion, you can install PrestaShop like you already have within the /public_html/shop/ directory. I believe what Arnel was warning you about is just to be aware that you will then need to access PrestaShop at the URL of example.com/shop instead of just accessing your main domain.
Yes, that is more likely the culprit to your domain name troubles than the temp URL. It can definitely be confusing. When you install to the root folder, the domain name would be the only path. For example, if you installed to "example.com", then the path would be:
If you installed to a folder called "shop", then the directory would be added to the URL like this:
The domain name should be the URL that you're installing to (public_html is the default folder for the primary domain name). As per the manual installation instructions, the store name is really more of a label and isn't a part of the path, unless you have made the folder name or the domain name the same as the store name - which people typically do.
I hope this helps to explain it a little better! Please let us know if you continue to have any further questions.
Turns out that the issue was on the preferences > SEO & URLs list. The index file had a friendly URL of the shop-name. I'm not sure why or when this happened, but it makes sense that this would cause my shop_url to be translated as http://mydomain.com/shop/shop-name.
I cleared the friendly url and the problem went away.