Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
lhungil
Your .htaccess file is not sending URIs including alphanumbericals, a dash "-", and end with ".html" to index.php. You need to update your .htaccess file.
I tested adding the same category URI (/medieval-clothing.html), and had no issue.. (I of course did not tick the auto generate checkbox) I used the same suggested rule that Conor's documents suggest for URI's ending in ".html"..
Code:
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
I tested adding the same category URI (/medieval-clothing.html), and had no issue.. (I of course did not tick the auto generate checkbox) I used the same suggested rule that Conor's documents suggest for URI's ending in ".html"...
Yup, that should work using the "stock" CEON .htaccess file. I am not sure what is different in tyankee's file, but if you follow the link provided you will see a generic Apache 404 error message.
If you try typing in some other invalid links without a dash "-" you will see the Zen Cart 404 error message.
This indicates a high possibility tyankee's .htaccess file is not actually sending the request to Zen Cart when a dash "-" is in the URI.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
lhungil
Your .htaccess file is not sending URIs including alphanumbericals, a dash "-", and end with ".html" to index.php. You need to update your .htaccess file.
huh?? did you read my post?? it sends the product ones fine - just not the category ones.. here's one it sends fine - http://medievalclothing.co/monksrobe.html - that one has html in it..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DivaVocals
I tested adding the same category URI (/medieval-clothing.html), and had no issue.. (I of course did not tick the auto generate checkbox) I used the same suggested rule that Conor's documents suggest for URI's ending in ".html"..
Code:
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
as you can see in previous posts by htaccess file is the same as his recommendation and DOES work for product URI redirects - just not the category ones..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
tyankee
as you can see in previous posts by htaccess file is the same as his recommendation and DOES work for product URI redirects - just not the category ones..
oh and of course i didn't tick the auto-generate box either..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
lhungil
Yup, that should work using the "stock" CEON .htaccess file. I am not sure what is different in tyankee's file, but if you follow the link provided you will see a generic Apache 404 error message.
If you try typing in some other invalid links without a dash "-" you will see the Zen Cart 404 error message.
This indicates a high possibility tyankee's .htaccess file is not actually sending the request to Zen Cart when a dash "-" is in the URI.
Why would it work for my test setup then?? I have the same directive in my test site's .htaccess file that Conor suggests, and both categories and products work just fine with dashes and the ".html" file extension..
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
tyankee
as you can see in previous posts by htaccess file is the same as his recommendation and DOES work for product URI redirects - just not the category ones..
Then my other recommendation at this point is probably in order.. You might need to hire someone to help you get this all setup for you..
Re: Ceon URI Mapping v4.x
tyankee
You need to rename your admin folder. The name you picked is too easy to guess / find and may be a large cause of the issues you are encountering. Please use a random sequence of letters and numbers.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
lhungil
tyankee
You need to rename your admin folder. The name you picked is too easy to guess / find and may be a large cause of the issues you are encountering. Please use a random sequence of letters and numbers.
**nods in agreement**:yes:
As a suggestion, I personally like to use this site to generate a random sequence of numbers that I use as a part of my client's admin folder name: http://www.random.org/passwords/. I append the sequence generated to the word(s) admin or control or manage to make up the admin directory name.
ie: managepL8uhGXQRd9htnPP or adminpL8uhGXQRd9htnPP
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
lhungil
tyankee
You need to rename your admin folder. The name you picked is too easy to guess / find and may be a large cause of the issues you are encountering. Please use a random sequence of letters and numbers.
is this a joke?? how in the world would anyone think this would affect the URI redirection of the CEON module?? yikes.. as for the folder name, that may be a good suggestion but it has NOTHING to do with this problem.