Post by dimko » Mon Oct 17, 2011 8:01 pm

If you have OpenCart installed in a folder, like for e.g. http://yourdomain.com/test and if you enable SEO, the site is not working.

It only works if you copy config.php and index.php files from the test folder into the root, i.e. into http://yourdomain.com
Last edited by dimko on Mon Oct 17, 2011 9:32 pm, edited 1 time in total.

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by TheMasterBrewer » Mon Oct 17, 2011 8:15 pm

Just a thought but have you edited the .htaccess file (about 20 lines down) to add your folder name? i.e. if your shop is in a folder called "shop", it should read "RewriteBase /shop" instead of "RewriteBase /"

I'm new to all this so might be wrong but worth a try!

Adam

Active Member

Posts

Joined
Mon Oct 17, 2011 8:01 pm


Post by dimko » Mon Oct 17, 2011 8:19 pm

Nope, I didn't, but doesn't the script do it by it self during the installation? ???

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by TheMasterBrewer » Mon Oct 17, 2011 8:21 pm

Nope, pretty sure you need to edit that line of the .htaccess file yourself if you're using Open Cart in a sub-directory

Active Member

Posts

Joined
Mon Oct 17, 2011 8:01 pm


Post by dimko » Mon Oct 17, 2011 8:29 pm

Thanks buddy, will try ;)

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by Xsecrets » Mon Oct 17, 2011 9:06 pm

no the script does not do it during install. you have to edit the file, and it sould be RewriteBase /foldername/ make sure you have the trailing slash too or it won't work.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by dimko » Mon Oct 17, 2011 9:31 pm

Thanks a lot.

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am
Who is online

Users browsing this forum: No registered users and 3 guests