Page 1 of 1

SEO friendly url

Posted: Tue Apr 26, 2011 6:23 pm
by waqaspai
I am using the open cart version Version 1.4.9.1
My site is located at www.pakistangifthouse.com
I have installed it under the directory: www.pakistangifthouse.com/gifts-to-pakistan

I have turned on the seo friendly option
and have also checked the htaccess and it seems to be working fine.

But when I click on any category i get the error :
Internet Explorer cannot display the webpage

Error on firefox:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

But when I turn off seo urls , the website works fine.

My htaccess look like this:

Code: Select all

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled. 

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing 
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini)">
 Order deny,allow
 Deny from all
</FilesMatch>

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

Please help.

Re: SEO friendly url

Posted: Tue Apr 26, 2011 6:28 pm
by waqaspai
I have also used / added this code on htaccess, but still not working

Code: Select all

# Prevent Directoy listing 
Options -Indexes
Options +FollowSymlinks
Options -Indexes


Re: SEO friendly url

Posted: Tue Apr 26, 2011 7:42 pm
by Xsecrets
you need to change RewriteBase / to RewriteBase /gifts-to-pakistan/

Re: SEO friendly url

Posted: Wed Apr 27, 2011 2:42 pm
by waqaspai
Thanks a lot -
it worked perfect