You could use a plugin under WordPress instead of a stand-alone cart. That way, they don’t conflict.
WordPress can be installed in a folder, but still control the root.
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
But it still needs the index.php in the root.
I had planned on updating the index.php file on the WordPress installation rather than the opencart install due to issues that could arise with cart checkout etc. So is it possible to edit the wordpress index.php to index2.php ? If not would I be able to install the wordpress in a folder and use HT access to direct people to the website first? Essentially I am trying to avoid changing the URLS on the shop hence why I want them both in the same directory with the website loading first and the shop accessible via the website menu. Hope this makes sense?
Kind regards
]]>If the URL of the shop is myshop.com, then the cart should show the shop at that address, not be a menu item there. If that is the “website”, it’s not the shop. You have to choose which software controls that URL. That’s why it would be good to use a WP plugin to control the shop.
]]>Do you know of a particular plugin which would work as you’ve mentioned above? Sorry to be a pain and greatly appreciate your help!!
Do you freelance Joy?
]]>A very popular one is Woocommerce, but all I know is the name and it’s by Automattic.
Yes, I freelance, but cannot solicit work from the forums.
]]>Seeing as you didn’t actually solicit work yet, I’ll leave this open for now. For your own safety, do not ever accept offers of paid help in these forums.
FWIW, a folder WP installation doesn’t have to have its index.php in root, provided the site URL leads to the WP installation folder. But then that requires changing URLs. It’s possible to do .htaccess rewrites to redirect traffic to the correct place, but there needs to be something definitive the rewrite rules can use to decide where to send requests. The usual WP criteria is if no such file or directory exists on the server, it’s a WP request.
]]>My apologies, rest assured I will follow the rules. And thank you both greatly for your help and advice, much appreciated.
]]>