Hi,
There is no admin for those pages.. please read the documentation for the module.
You'll find instructions for adding URIs for other Zen Cart pages in the configuration section.
All the best..
Conor
ceon
Printable View
Hi,
There is no admin for those pages.. please read the documentation for the module.
You'll find instructions for adding URIs for other Zen Cart pages in the configuration section.
All the best..
Conor
ceon
Hi Conor, I'm new to zen cart. Thanks for your module & support. I've briefed all pages, till here @ 100 page searching for solution for my problem. Like, above poster, i think i'm having the same problem where I like my page first as index.html
If i removed/remarked these two lines (as below), ceon uri mapping module is working fine but no longer able to access index.html (being skipped).
If these 2 lines are activated(un-remark) then i'll get page "404 Not Found" when clicking on the product (which has been uri mapped) and my index.html page is accessible as the first page
# RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
# RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
Here is my .htaccess:-
=================================
DirectoryIndex index.html index.php index.htm
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName hadiah4u.com
AuthUserFile /home/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/public_html/_vti_pvt/service.grp
RewriteEngine On
# RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
# RewriteRule ^(.*)$ http://www.mydomain.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}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [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]
====================================
Could you please kindly advise how should I work around this
problem? I still prefer my first page is www.mydomain.com/index.html
Thank you.
Hi,
Everything you've posted looks fine.. I can't see why things aren't working as you desire. Maybe you have some other htaccess files somewhere else that are overriding aspects of the one you posted?
Sorry I can't be of more help than that!
All the best...
Conor
ceon
Hi,
No problem.. I don't like having a backlog so it's always better for me to reply promptly! :)
Yes, sorry I can't be of more help but as I said, what you posted should work as expected, so that points towards something else being responsible for the problem.
All the best...
Conor
ceon
Colon, I'm still trying to track this down and I really appreciate the time you took to give my site a look-see. I've verified that that my ErrorDocument 404 is what's redirecting to page_not_found (I changed it to privacy to test).
What page request should I expect to see in the server log if I've set a uri mapping (uri = /contact_us, main_page=contact_us, langid=1, current_uri=1)? What I'm seeing in my server log is:
using these rewrite rules:Code:xx.xxx.xx.xx - - [03/Jan/2010:07:25:56 -0500] "GET /contact_us HTTP/1.1" 302 256 www.mysite.com "http://www.mysite.com/index.php?main_page=page_not_found" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6" "-"
Code:#
# Added for Ceon URI Mapping add-on
#
# 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} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Hi,
My name's not Colon!
No problem about looking.. it's just a pity I couldn't find the cause of the problem.
I'm afraid my knowledge of Apache's access/error logs isn't sufficient to answer your query. Hopefully someone else here can help!
All the best...
Conor
ceon
Sorry about that; I'd just spent 3 hours fussing with my stupid .htaccess file and was a bit frustrated.
Finally! :clap:
If anyone else has this problem, here's what's up. I'm hosted on 1and1 and have my website root pointed to a subdirectory off the base. Adding the following to my .htaccess (after the RewriteEngine On and before the changes specified in the Ceon URI Mapping document) did the trick:
Isn't Google wonderful ... and how did we ever get anything accomplished without it?Code:RewriteBase /
Hi,
That would indeed explain things. You'd mentioned being in a folder but you hadn't told me the FTP access you gave me was restricted to that folder.. so, given the layout I saw when I FTPed in, I assumed it was the root folder.. it's a pity you set up the FTP account that way or you could have avoided spending so much time on this! :(
Nevertheless, glad you've got sorted now!
All the best...
Conor
ceon