Hi Conor,
I implemented your mod this evening and it was a joy to do. Thanks for the obvious hardwork that you have and continue to put in.
However I'm getting 404's on any of the pages I've attempted to change the url to a static address. So far I've :
- Read most of the pages in this tread
- Read and re-read the Setting up a rewrite rule instructions
- Read and re-read the FAQ
- Read a URL rewriting guide for Apache (Heavy stuff, most of which I didn't get)
- Double checked that all of the files are installed and in the right place
I've been concentrating on the .htaccess file as the probable cause and I've made all the changes specified using "/" "/storesnames/" etc. but to no avail. Here is my .htaccess file :
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$
Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/not_the_real_admin_dir.* [NC]
Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
The first three lines were already in there which I think my host put there for www or no www.
My site is https://www.startupwizard.ie and Ive tried to change the only product category I've got, one of my products (Startup Pro) and one of my EZ Pages - Downloads. None of which are now working.
Hopefully this is something simple and I'm just missing it but after the hours I've spent messing about with this I fell like :frusty:
Thanks in advance.