Hi,
Knew that would do it! :)
Happy Christmas to you too (getting into the mood here myself! :) ).
All the best...
Conor
ceon
@ conor
@ DivaVocals
I integrated this mod into my zen-cart 1.8.3a: http://www.numinix.com/blog/2009/09/...n-cart-1-3-8a/ (I think, this is a mod from DivaVocals.)
Now, I installed the Ceon URI Mapping (SEO).
My problem is, I don't figure out how to integrate the two different rewrite-rules into my .htaccess.
Or I get the blog working, or I get the shop working, but not both.
The two rules are:
Is there a way to get the two rules work together?Code:RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L] RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Ah, I got it.
at least, it works.Code:# Don't rewrite blog directory RewriteCond %{REQUEST_URI} !^/blog.* [NC] # Handle all other URIs using Zen Cart (index.php) RewriteRule (.*) index.php?%{QUERY_STRING} [L] # Do rewrite blog directory RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]
Hi,Conor
I've solved the problem,Thanks for your reply.I have another problem that the products url would show the cPath id but categories not,and the status bar could show the dynamic url.
Please help![]()
Hi,
You did indeed. That's exactly the code I was going to post.. well done! :)
All the best..
Conor
ceon
Help me understand then.. Because at some point I do intend to test the Numinix embedding solution. The two lines in red seem to conflict, so I am trying to wrap my head around why this works..
Code:# Don't rewrite blog directory RewriteCond %{REQUEST_URI} !^/blog.* [NC] # Handle all other URIs using Zen Cart (index.php) RewriteRule (.*) index.php?%{QUERY_STRING} [L] # Do rewrite blog directory RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,
Hi,
How are you? Hope you're getting sorted for Christmas.. it's not long now!
The following removes the /blog directory from the next RewriteRule, which is the Ceon URI Mapping rewrite rule:
[code]# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog.* [NC][/quote]
Since the Ceon RewriteRule isn't handling /blog it gets passed on.. whereupon it gets handled by the next RewriteRule, which is the blog one.
Hope that helps illuminate things!
All the best...
Conor
ceon
Hi Conor..
I'm great.. Sounds like you're busy!
Yes indeed getting all ready for X-Mas. We're having Turducken.. (http://en.wikipedia.org/wiki/Turducken) It'll be my first.. Very excited.. Don't know if you've heard of Turduckens in your neck of the woods.. It may just be us Yanks who do this..
Thanks for the explanation.. after looking at this before I saw your repsonse, I figured that's what it was.. Just wanted to be sure..![]()
Bookmarks