Post by thewanderer » Fri Dec 04, 2009 7:12 am

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

New member

Posts

Joined
Fri Dec 04, 2009 7:07 am

Post by dbstr » Fri Dec 04, 2009 7:26 am

Change

Code: Select all

RewriteBase /newstore
to

Code: Select all

RewriteBase /newstore/
and tell me if that works

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by thewanderer » Fri Dec 04, 2009 7:31 am

Just dont that but still getting the same result

New member

Posts

Joined
Fri Dec 04, 2009 7:07 am

Post by dbstr » Fri Dec 04, 2009 7:36 am

My best guess would be it's because you not on an apache server.. Don't know how to configure IIS. :(

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by thewanderer » Fri Dec 04, 2009 7:44 am

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?

New member

Posts

Joined
Fri Dec 04, 2009 7:07 am

Post by dbstr » Fri Dec 04, 2009 7:53 am

You should be able to just edit the config files, but I can't promise anything. Make a backup and try.. :-)

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by jacklink » Wed Dec 23, 2009 9:16 pm

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

Newbie

Posts

Joined
Wed Dec 23, 2009 9:09 pm

Post by moggiex » Wed Dec 23, 2009 10:02 pm

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

Code: Select all

It was like that when I found it, honest!


User avatar
Active Member

Posts

Joined
Mon Nov 09, 2009 9:55 pm

Post by jacklink » Sat Jan 02, 2010 2:24 pm

no apache,it's iis6.0+fastcgi+mysql+iisrewrite

Newbie

Posts

Joined
Wed Dec 23, 2009 9:09 pm

Post by Xsecrets » Sat Jan 02, 2010 9:43 pm

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.

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
Who is online

Users browsing this forum: No registered users and 41 guests