Page 1 of 1

SEO URLS

Posted: Fri Dec 04, 2009 7:12 am
by thewanderer
Hi
I am totally new to PHP and am fumbling my way through modding my site @ http://www.tilestiles.co.uk/newstore/ the one thing that is really driving me nuts at the moment is the SEO friendly urls.
I have the .htaccess in the root of the site and the url seems to rewrite but when i click on the link i get a 404 page not found.
Please prevent a breakdown, my .htaccess is as follows

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

RewriteEngine On
RewriteBase /newstore
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Many thanks in Advance and Merry Christmas to you all

Re: SEO URLS

Posted: Fri Dec 04, 2009 7:26 am
by dbstr
Change

Code: Select all

RewriteBase /newstore
to

Code: Select all

RewriteBase /newstore/
and tell me if that works

Re: SEO URLS

Posted: Fri Dec 04, 2009 7:31 am
by thewanderer
Just dont that but still getting the same result

Re: SEO URLS

Posted: Fri Dec 04, 2009 7:36 am
by dbstr
My best guess would be it's because you not on an apache server.. Don't know how to configure IIS. :(

Re: SEO URLS

Posted: Fri Dec 04, 2009 7:44 am
by thewanderer
Thanks you are right i have a sub domain tiles.tilestiles.co.uk on an apache server can i just upload the whole website and change the config file to make it work or would it require a full install from scratch?

Re: SEO URLS

Posted: Fri Dec 04, 2009 7:53 am
by dbstr
You should be able to just edit the config files, but I can't promise anything. Make a backup and try.. :-)

Re: SEO URLS

Posted: Wed Dec 23, 2009 9:16 pm
by jacklink
my server is win2003+iis6.0+iisrewrite,i need the SEO friendly urls on opencart
who can give me a solution
thanks Merry Christmas to you all

Re: SEO URLS

Posted: Wed Dec 23, 2009 10:02 pm
by moggiex
jacklink wrote:my server is win2003+iis6.0+iisrewrite,i need the SEO friendly urls on opencart
who can give me a solution
Use apache?

Matt

Re: SEO URLS

Posted: Sat Jan 02, 2010 2:24 pm
by jacklink
no apache,it's iis6.0+fastcgi+mysql+iisrewrite

Re: SEO URLS

Posted: Sat Jan 02, 2010 9:43 pm
by Xsecrets
I think what moggiex was saying is that as far as we know you are just screwed using iis since we don't know anything about it or how to make the rewrites work with it. Your best bet would be to take the .htaccess file and submit it on the iisrewrite forum if there is such a thing someone there should know how to convert it.