Hello,
My opencart installation is installed in the "store" subdirectory. The reason for this is that I host quite some domains below my public_html (provider) so I couldn't install Opencart in that root.
If you go to http://www.website.com it works perfectly so that's not the problem. The issue is if you browse within the website it changes the URL to http://www.website.com/store/seo-category. If I remove /store manually so the URL is http://www.website.com/seo-category it also works fine.
Is there any way to remove that /store from all internal links? I already created a custom top menu without the /store. At the moment google sees that as dublicate content because both (with or without store) work and both are getting indexed. Is there a way to easily change the side menu links or do some kind of trick within the /htacess file?
Info:
New Installation
Version: 1.5.3.1
vqmod installed
Thanks in advance!
Den
My opencart installation is installed in the "store" subdirectory. The reason for this is that I host quite some domains below my public_html (provider) so I couldn't install Opencart in that root.
If you go to http://www.website.com it works perfectly so that's not the problem. The issue is if you browse within the website it changes the URL to http://www.website.com/store/seo-category. If I remove /store manually so the URL is http://www.website.com/seo-category it also works fine.
Is there any way to remove that /store from all internal links? I already created a custom top menu without the /store. At the moment google sees that as dublicate content because both (with or without store) work and both are getting indexed. Is there a way to easily change the side menu links or do some kind of trick within the /htacess file?
Info:
New Installation
Version: 1.5.3.1
vqmod installed
Thanks in advance!
Den
Hi dmsims,
thanks for your reply.
So it is not prossible to completely remove /store from all links? Also for products which is:
http://www.site.com/store/product. I'd like to change that to http://www.site.com/product.
Thanks.
Den
http://www.telefoonhoesjes1.nl
thanks for your reply.
So it is not prossible to completely remove /store from all links? Also for products which is:
http://www.site.com/store/product. I'd like to change that to http://www.site.com/product.
Thanks.
Den
http://www.telefoonhoesjes1.nl
look into your config.php file. Remove all /store from the links. All generated links will be without /store now 

@MarketInSG
Hi
Please refer to your post dated April 29, 2013 in advice to "den9191" to remove subdirectory reference from all URL's/ links:
Hi
Please refer to your post dated April 29, 2013 in advice to "den9191" to remove subdirectory reference from all URL's/ links:
Does this have to be done, along with suggestion of "dmsims" dated April 24, 2013 under same topic:look into your config.php file. Remove all /store from the links. All generated links will be without /store now
Kindly clarify. Thanks & regards.You need to setup .htaccess so that it rewrites that domain to the subdirectory
you won't want to do both if your store is no longer in the sub directory
Its like this.
My current store is working well at http://mysite.com. It is a "root" installation, using OC 1.5.4.1 & theme 'x'.
I have developed a revised version in a subdirectory "newstore", with OC 1.5.5.1 & theme 'y' (the OC version upgrade is necessary, as theme 'y' works only with that version & above). I now want to make the dev store live, replacing the current one.
I want the dev store to be in the sub-directory only - because my attempt to move it to root was disastrous (though I followed all the steps outlined in OC Docs & in Fora for moving). So the question: what do I need to do to
1. Make mysite.com load the new store in the sub-directory? AND
2. Get rid of the /newstore reference in URLS?
Thanks for any helpful pointers. Regards.
My current store is working well at http://mysite.com. It is a "root" installation, using OC 1.5.4.1 & theme 'x'.
I have developed a revised version in a subdirectory "newstore", with OC 1.5.5.1 & theme 'y' (the OC version upgrade is necessary, as theme 'y' works only with that version & above). I now want to make the dev store live, replacing the current one.
I want the dev store to be in the sub-directory only - because my attempt to move it to root was disastrous (though I followed all the steps outlined in OC Docs & in Fora for moving). So the question: what do I need to do to
1. Make mysite.com load the new store in the sub-directory? AND
2. Get rid of the /newstore reference in URLS?
Thanks for any helpful pointers. Regards.
honestly, I would recommend you to just move it out of the folder. It's pretty easy.
1. Upload the installer folder will do and run website.com/install. It should upgrade.
2. Move the dev site out of the folder and it should then work
make a backup of database before you proceed
1. Upload the installer folder will do and run website.com/install. It should upgrade.
2. Move the dev site out of the folder and it should then work
make a backup of database before you proceed
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 73 guests