Post by BuzyBee » Tue Jun 23, 2015 3:12 pm

Hey,

I have a fresh install of opencart 1.5.4.3.

Whats the best way to point my domain to my sub folder?

1. Use the option under my hosting control panel - I can point the domain to /SHOP/

2. Use the .htaccess file and put in RewriteBase /SHOP/

3. Use both options together?

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am

Post by deepvision » Tue Jun 23, 2015 7:10 pm

1st option

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by BuzyBee » Tue Jun 23, 2015 11:52 pm

deepvision wrote:1st option
Thanks DeepVision,

So I don't need to update the .htaccess rewrite?

What if I am going to use SEO Friendly URL's, it says on the instructions to set the .htaccess to /SHOP/... Or would in my case, this would be done behind the scenes in my hosting, so no need to make any other updates?

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am

Post by deepvision » Wed Jun 24, 2015 12:32 am

If you point your domain to the SHOP folder it will become your site root and SHOP won't be a part of the URLs.
If you point your domain to the parent folder of the SHOP folder and install OC to the SHOP folder then your site links would contain SHOP in them and you would need to add .htaccess rewrite rules to hide SHOP from URLs.
Last edited by deepvision on Wed Jun 24, 2015 2:25 am, edited 1 time in total.

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by BuzyBee » Wed Jun 24, 2015 12:45 am

deepvision wrote:If you point your domain to the SHOP folder it will become your site root and SHOP wont be a part of the URLs.
If you point your domain to the parent folder of the SHOP folder ans install OC to the SHOP folder then your site links would contain SHOP in them and you would need to add .htaccess rewrite rules to hide SHOP from URLs.
Thanks DeepVision!

Makes sense.. thanks so much for explaining ;D .

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am

Post by BuzyBee » Wed Jun 24, 2015 12:48 am

deepvision wrote:
Any chance of me pushing my luck and you try and help me question at: http://forum.opencart.com/viewtopic.php ... 20#p567082 ?

Not getting any replies, and it's put me on a halt on doing my website until I know what to do.... ?

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am

Post by deepvision » Wed Jun 24, 2015 2:27 am

It appears that Opencart Guru has just replied :)

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by BuzyBee » Wed Jun 24, 2015 6:01 am

deepvision wrote:It appears that Opencart Guru has just replied :)
Yes, thanks for trying anyway, I appreciate it :) .

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am
Who is online

Users browsing this forum: No registered users and 4 guests