Post by Reds » Tue Sep 11, 2012 3:29 pm

Hey,

So I'm basically starting anew and trying to teach myself a few things that I know are possible, but having some troubles. I have Opencart running on a localhost setup with Xampp.

I followed the example set http://forum.opencart.com/viewtopic.php?f=20&t=50023 there and now every time I click a link that has a SEO keyword.. It takes me back to the Xampp 'welcome' page.

It's probably something really simple again that's staring me in the face, but any help would be appreciated! =)
Last edited by Reds on Wed Sep 12, 2012 9:48 am, edited 1 time in total.

Learning to run before I can walk...

Way new to Opencart and back from a large break of hobbyish coding.. So rusty!


New member

Posts

Joined
Mon Jun 04, 2012 9:49 am

Post by Axansh » Tue Sep 11, 2012 3:58 pm

HI,

I assumed that you have followed following steps :

1. Rename the ".htaccess.txt" file in your document root to ".htaccess" and
2. Turn on SEO Urls in the admin "System > Settings > Edit > Server > Use SEO URLs".

Now please try this :

Edit your .htaccess file.

# SEO URL Settings
RewriteEngine On
RewriteBase /your_sub_directory_name/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Hope it works.
Last edited by Axansh on Tue Sep 11, 2012 4:13 pm, edited 1 time in total.

Thanks and Best Regards,
Axansh Sheth

Our Opencart Module
All in ONE SEO |
Multi-purpose pop |
Restaurant theme |
Store time save module


User avatar
Active Member

Posts

Joined
Mon Feb 06, 2012 3:07 pm

Post by Reds » Tue Sep 11, 2012 4:09 pm

That fixed it for me, thank you very much! =D

Learning to run before I can walk...

Way new to Opencart and back from a large break of hobbyish coding.. So rusty!


New member

Posts

Joined
Mon Jun 04, 2012 9:49 am

Post by ALandi » Tue Oct 02, 2012 6:47 pm

Hi guys.

My .htaccess file is empty. Any suggestion??? I've enabled SEO URL's: in admin system/ server and it is not working. Confirm with my host provider and the server has apache module mod-rewrite installed.

I've tryed pasting the info below in the file but didn't work also.

# SEO URL Settings
RewriteEngine On
RewriteBase /your_sub_directory_name/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Thanks guys.

Newbie

Posts

Joined
Tue Jun 05, 2012 3:49 pm

Post by ALandi » Tue Oct 02, 2012 7:13 pm

Some additional info:
I use 1.5.3.1. version of opencart.
There is no htacess.txt in my public_html folder.
Thanks

Newbie

Posts

Joined
Tue Jun 05, 2012 3:49 pm

Post by shalini12 » Sat Mar 16, 2013 6:22 pm

Hi, It may be that the dot (.) files are hidden. If you are using Control panel based installation, when you will click on "File Manager" you would get a pop up. There will be an option to show hidden files. Enable it.

Regards!
Shalini.

Newbie

Posts

Joined
Sat Feb 23, 2013 8:24 pm
Who is online

Users browsing this forum: No registered users and 15 guests