Hello there,
I have a Wordpress site set up which is working fine. I want a shop on the same domain and would like to use open cart. I will include a link in the menu bar to the opencart shop. Just wanted to know how to install open cart on the my domain that has Wordpress installed in the root folder. Do I set up a new folder called shop in the root directory and a new database called shop in MySQL an install opencart within those two places? Will I have to change any paths within the opencart file structure. Will I need to change any files in the root directory? My wordpress site does not have a user login section so login will just be done within opencart.Thanks in advance
Both are driven by an "index.php" and they are best given their own separate databases, so one or the other belongs in its own directory or comparably segregated subdomain. Make that new database and write down its details (its server, name, user, pass, all in the account control panel), and make that directory (control panel file manager or ftp), then launch the OC installer, which will figure out where it lives and install OC. You'll give the installer the database details you wrote down.
If you want the blog landing page to show a link to the store, insert the link to where OC resides. The OC header or footer can be given a backlink (complete, or as simple as "../") to the blog.
You can also set up the reverse, but since you already have the blog loaded that's probably not the best choice.
If you want the blog landing page to show a link to the store, insert the link to where OC resides. The OC header or footer can be given a backlink (complete, or as simple as "../") to the blog.
You can also set up the reverse, but since you already have the blog loaded that's probably not the best choice.
I think there is also a line in the .htaccess file for OC that needs to be update if you install in a folder and not the root dir.
You will see this in the htaccess file, not sure maybe its only if you have seo urls turned on??
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
I have done this and just make the wordpress & OC theme look exactly the same and the menus have links for both sites.
All the headers & footers are almost exactly the same so It just looks like one site but its easier for clients to create their own pages or add a blog with wordpress than the information pages in OC.
You will see this in the htaccess file, not sure maybe its only if you have seo urls turned on??
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
I have done this and just make the wordpress & OC theme look exactly the same and the menus have links for both sites.
All the headers & footers are almost exactly the same so It just looks like one site but its easier for clients to create their own pages or add a blog with wordpress than the information pages in OC.
You already want to separate the two, but just for clarity, because OC and the blog are each based upon an index.php file, which owing to OC and blog complexities cannot simply be renamed, they must reside where their own index.php files stand alone, in two places.
When you get around to installing OC, leelnj, 1.5.5.1 and any of its predecessors will arrive in your hands as a .zip, whose own upload/ content is put on the server, IN THE POSITION where OC will reside on the server. The installer will know whether that is the root/ or is a /directory/ (or for that matter a further subdirectory). The installation comes with a text file, htaccess.txt, with basic settings in it. That file may be edited and renamed to .htaccess (that's dot extenstionname; NO filename before dot).
If you give your OC its own subdomain, then that subdomain must point or be redirected to the actual installation position (above).
When you get around to installing OC, leelnj, 1.5.5.1 and any of its predecessors will arrive in your hands as a .zip, whose own upload/ content is put on the server, IN THE POSITION where OC will reside on the server. The installer will know whether that is the root/ or is a /directory/ (or for that matter a further subdirectory). The installation comes with a text file, htaccess.txt, with basic settings in it. That file may be edited and renamed to .htaccess (that's dot extenstionname; NO filename before dot).
If you give your OC its own subdomain, then that subdomain must point or be redirected to the actual installation position (above).
Who is online
Users browsing this forum: No registered users and 3 guests