-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
g1smd
That being so, the file should use the most efficient code to get the job done. In this case, trailing .* characters on multiple patterns waste CPU cycles that you might later need elsewhere in serving the pages.
I agree.. so thank you for the extra information. Saying "should" wasn't quite right, it should really have been "would be better" as "should" implies that the original is wrong rather than simply inefficient but I'm glad you've posted the information that you have.
I'll update the documentation for the soon to be released version 3.4.0 to not use the wildcard matching. I wouldn't have thought having an additional match for "anything else" would make much of a difference but since not using it may make even a slight difference then it's definitely best not to use it - closer to the ideal situation of maximum efficiency!
Thanks again for your helpful tips! :)
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
damiantaylor
I just checked out the link you gave me and the source of your site. I also used the above site to see what results it gave for your examples page.
It's coming back with many files not found.. all relatively loaded files are coming back as not found.. this includes not just your images but CSS and JavaScript files as well.
The reason for this is the software on that analysis site doesn't know what a "base href" tag is so it is building all the links wrongly.
So ignore its file not found errors - it's the software that has the problems, not your site, it is fine!
You should probably use a working analysis service if you are still interested in analysis results.
That should set your mind at rest!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
After several hours of trial, error, and searching I thought to post here.
A client is hosting on a virtual private server with InMotionHosting. No matter what I have attempted I cannot get the rewrite rules to work. I am new to the whole virtual private server business. Anyway, mod_rewrite is enabled.
So I attempted to get back to basics and just use the instruction's rules.
Quote:
RewriteEngine 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]
# 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]
No dice. I get the following message:
Quote:
The requested URL /product-manuals was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have tried added RewriteBase / and other directives but no luck at all. Anyone have any suggestions? This site is being moved from GoDaddy where the client had no problems with the plugin. They just had a lot of performance issues : ).
-
Re: Ceon URI Mapping (SEO)
You're capturing the path part of the incoming URL request into the $1 back-reference, but then your rule does not use that information.
The Query String data will also be blank, so the script has nothing at all to work with.
-
Re: Ceon URI Mapping (SEO)
Hi,
I have a problem that seems to be with this URI mapping mod. It's a fantastic mod by the way, worked first time and really easy to add extra pages to the mapping :) Thanks Conor!
The problem I have is that I am passing an array as a hidden field on a form.
The form HTML is as follows:
<form name="filter" action="http://www.myurl.com" method="get">
<input type="hidden" name="main_page" value="index" />
<input type="hidden" name="cPath" value="8" />
<input type="hidden" name="Flt_Grade[]" value="100" />
<select name="filter_id" onchange="this.form.submit()">
<option value="1">Most Popular</option>
<option value="2" selected="selected">Price: Low to High</option>
<option value="3">Price: High to Low</option>
<option value="4">Title</option>
<option value="6">Date Added: Newest</option>
<option value="7">Date Added: Oldest</option>
</select>
</form>
When option 4 in the dropdown is selected, the URL should be
http://www.myurl.com&main_page=index...0&filter_id=4/
Where %5B = [ and %5D = ]
But what I actually get is
http://www.myurl.com&main_page=index...=&filter_id=4/
The Flt_Grade array has lost its square brackets and its value.
If I switch URI mapping off, it works ok.
Do you know if this likely be a problem with my .htaccess file or with the mod itself?
-
Re: Ceon URI Mapping (SEO)
Hi Damian,
Glad you like the module!
Quote:
Originally Posted by
damiantaylor
The two URIs you have posted are both unmapped. As the URI uses "main_page=" it is clear that no URI mapping has taken place.
So I can't see how it could be the URI Mapping software. It must be some sort of parsing problem in your .htaccess file which is stripping the brackets?
I hope that helps.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thanks for the quick reply Conor!
Sorry, that URL was from my test site when I switched mapping off.
The URL I get is
myurl.com/FilesStones?Flt_Grade=&sort=20a&alpha_filter_id=4[/url]
I'm not very good on .htaccess but I had a feeling that may be the problem!
Can you spot the error in my .htaccess file? Sorry to ask you this but I haven't got a clue what it all means :blush:
Code:
RewriteEngine 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]
# 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]
RewriteEngine On
# Prepend www if http://myurl.com
RewriteCond %{HTTP_HOST} ^myurl.com
RewriteRule (.*) http://www.myurl.com [R=301] [L]
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
damiantaylor
Sorry, that URL was from my test site when I switched mapping off.
The URL I get is
myurl.com/FilesStones?Flt_Grade=&sort=20a&alpha_filter_id=4[/url]
Hmm, so a redirection is taking place. You've found a bug in the module.. it doesn't re-encode array parameters in a query string properly when performing a redirect from a dynamic URI to a static URI mapping.
Please get in contact with me via this link with FTP and admin details for your site and I'll upload a test version of a fix.. you can then let me know if the fix works and I'll include it in 3.4.0.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi Damian,
By the way, this wouldn't have happened if you had the form go to the correct URI.. Instead of...
Code:
<form name="filter" action="http://www.myurl.com" method="get">
<input type="hidden" name="main_page" value="index" />
<input type="hidden" name="cPath" value="8" />
You should be using:
Code:
<form name="filter" action="http://www.myurl.com/FilesStones" method="get">
The following should be deleted:
Code:
<input type="hidden" name="main_page" value="index" />
<input type="hidden" name="cPath" value="8" />
Regardless, get in contact with me as requested in the previous e-mail.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Will do Conor!
I'll have to wait til I get home for that one though....should be around 4.30
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
damiantaylor
Can you spot the error in my .htaccess file? Sorry to ask you this but I haven't got a clue what it all means
One MAJOR error is that you have the redirect listed AFTER the rewrites
For a non-www request this will expose the internal filepath back out on to the web as a URL.
You must list all of the redirect code before any of the rewrites.
See http://www.zen-cart.com/forum/showthread.php?t=151606 for more robust non-www to www redirect code.
-
Re: Ceon URI Mapping (SEO)
Conor - quick question! I am trying to get the Ajax Search working that I got from here:
http://eazyecommerce.com/platforms/z...es/ajax-search
We are ahaving trouble getting it to work and cannot seem to access the file located at http://outdoorcookingdepot.com/ajax/ajax_search.php
I was on the phone with the host yesterday - there are no valid reasons there should be a a problem and Raine from Eazy Ecommerce has been spending way too much time on it trying to get it work...
THe last thing that was suggested was that there may be a conflict with CEON? I do have the latest version installed....
Is there any reason this mod wouldn't work with CEON that you can imagine?
I hate removing CEON b/c I love it but am thinking the search capability is more important so I would love to get them working together if in fact it is CEON that is giving us the issue!!
Thanks for your thoughts.....
Jill
-
Re: Ceon URI Mapping (SEO)
Hi Jill,
Have you read the FAQs?
You probably have to add the following to your rewrite rule:
Code:
RewriteCond %{REQUEST_URI} !^/ajax [NC]
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Conor - to be honest I never thought to look! I have used this mod so many times I though I knew it like the back of my hand! I am so sorry! I will try that!!!!!! THANK YOU!!!
-
Re: Ceon URI Mapping (SEO)
OK that was added to the .htaccess but it is still not able to load the ajax.....I am ready to give up on this.....can you think of anything else that may cause conflict before I just give up? Thanks Conor....
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
OK that was added to the .htaccess but it is still not able to load the ajax.....I am ready to give up on this.....can you think of anything else that may cause conflict before I just give up? Thanks Conor....
I just looked at the page you showed me and it's not the URI Mapping module which is breaking the AJAX module (as I knew it couldn't be)..
"Warning: require(includes/configure.php) [function.require]: failed to open stream" means that your ajax script can't find the file includes/configure.php..
I'm afraid that as this is nothing to do with URI Mapping that it's not appropriate to talk about this problem on this thread.
I'd imagine the problem should be quite easy to fix, I'm surprised the module's author can't get it to work.. the solution seems fairly obvious to me given what error codes are being displayed (i.e. set up the correct file paths!).
So no need to remove the URI Mapping module, it's not the cause of your problems!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Conor THANK YOU! I did not think it had to do with CEON but I thought I would ask since that is what they are telling me.....I just wanted to hear from YOU that is was not CEON that was the issue.....I will give them your message.....and thank you for your time I am so sorry to bother you with this.....thanks again Conor!
-
Re: Ceon URI Mapping (SEO)
Conor I am going to PM you about this....they are sure that it is a conflict with the CEON....so I will send you an email with the details....
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
Conor I am going to PM you about this....they are sure that it is a conflict with the CEON
Please note that I don't accept PM for free support. If anyone needs direct support from me then please get in contact via the Ceon website, please don't contact me directly via PM.
Thanks,
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
Conor I am going to PM you about this....they are sure that it is a conflict with the CEON....so I will send you an email with the details....
The following section of the documentation applies for anyone attempting to integrate certain third party modules with Zen Cart:
"Ensuring 100% Compatibility with Third Party Zen Cart Modules - Specifying Individual Files to be Excluded from URI Mapping"
The information in in describes how to identify scripts which need to be excluded and how to go about that.
The docs are there for a reason! :)
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Sorry about the PM - and yes I did read that part and tried to exclude the appropriate files, but that too did not work. I am going to remove CEON entirely at this point. The search is more important to me than the URL issue......
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
jill8026
Sorry about the PM - and yes I did read that part and tried to exclude the appropriate files, but that too did not work. I am going to remove CEON entirely at this point. The search is more important to me than the URL issue......
By adding a file to the "excluded files" functionality of Ceon URI Mapping you disable ALL its functionality, so I can say that it's definitely not the source of your problems or that you messed up entering the excluded file information. If it's the first case, then you'd win that bet you talked about! I realise that you want search more but just want to be clear that it's not URI Mapping that's the problem so in this case you're really just changing things and crossing your fingers.
(At a guess, you should probably have been entering "/ajax/ajax_search.php" as the file to be excluded)
I hope it works for you though!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Then you haven't gone through all the files properly.
Use PHPMyAdmin. Delete the tables for the module and search and remove the defines from the configuration table. (Search for LIKE % CEON).
All the best...
Conor
Ceon
how to seach, do you have the command of mysql?
BR,
nuvav[/QUOTE]
-
Re: Ceon URI Mapping (SEO)
Conor,
Just an FYI Raine did find the problem and it i was a conflict with the includes/init_includes/init_ceon_uri_mapping.php file. She edited one of the lines in that file and now the search feature works.
Just thought you should know...I know you are not responsible for making your mod work with other mod's but thought you would like to know in case this comes up again.
Jill
-
Hi,
Quote:
Originally Posted by
jerry9920
how to seach, do you have the command of mysql?
Use PHPMyAdmin.
If you don't know what I'm talking about then you should pay someone to help you.
All the best..
Conor
Posted via Mobile Device
-
Hi Jill,
Quote:
Originally Posted by
jill8026
Just thought you should know...I know you are not responsible for making your mod work with other mod's but thought you would like to know in case this comes up again.
I make huge efforts in making sure Ceon's software works in ways that won't have any avoidable negative effect on other software. With Ceon URI Mapping in particular I can't see how it could create any problems with any other well written software.
I'd appreciate it if, rather than simply saying you found a problem with a line of code, that you actually told me what problem was found! :)
Please get in contact or have Raine get in contact with me so I can see what this other module was doing that didn't/doesn't work with Ceon URI Mapping.
Thanks.
All the best...
Conor
ceon
Posted via Mobile Device
-
Re: Ceon URI Mapping (SEO)
Thank you so much! It is beautiful! Bravo Bravo!!
Just a silly note, since I had this issue:
My .htaccess file was not working when I edited it in Notepad ++, but when I added the exact same text using basic Notepad it worked fine.
This is the second time I've encountered this problem while adding mods. Just a note, hopefully it is helpful for some!
Cheers, Thanks again!
-
Re: Ceon URI Mapping (SEO)
Hi,
I have the CEON URI module working perfectly on my website and I'm very pleased with it. Thank you so much for providing this to the community.
I have made a copy of my website and DB and put it on my test server and all of the links now 404. Is there a simple reason why copying in this way would not make CEON URI work - eg does it need to be "installed" rather than copied?
Many thanks for your help
Regards
Simon
-
Re: Ceon URI Mapping (SEO)
Hi,
First of all i want to thank you for this beautiful module!
I have trouble with auto generation of the url's.
My site is using Cyrillic characters, and they are converted to Latin for this url. Every time Cyrillic letter "е" is changed with Latin "ie".
I just want to be changed with Latin "e".
Can someone tell me where i need to change this rule?
Thank you in advance!
P.S. simondale123 i just saw your post. I bereave your issue is that you did not change the path in your .htaccess file. Change it to your new location and you will be fine.. Hope this helps
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
simondale123
Hi,
I have the CEON URI module working perfectly on my website and I'm very pleased with it. Thank you so much for providing this to the community.
I have made a copy of my website and DB and put it on my test server and all of the links now 404. Is there a simple reason why copying in this way would not make CEON URI work - eg does it need to be "installed" rather than copied?
Many thanks for your help
Regards
Simon
You will need to make sure the paths on in your .htaccess file point to the right locations for your test site.. (they will NOT be the same as your live site)
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
nidkolio
First of all i want to thank you for this beautiful module!
I'm glad you like it!
Quote:
Originally Posted by
nidkolio
I have trouble with auto generation of the url's.
My site is using Cyrillic characters, and they are converted to Latin for this url. Every time Cyrillic letter "е" is changed with Latin "ie".
I just want to be changed with Latin "e".
Can someone tell me where i need to change this rule?
The transliteration is based in part on a library from Drupal.
I found the following thread which is related to what you want to do:
http://drupal.org/node/294273
The file you will be looking to change is:
admin\includes\classes\transliteration\x04.php
I'm afraid that's all I know (and it took me a week to learn what I know about transliteration and build that into the module as it is!).. I don't know "which" 'ie' to change.. hopefully the above information is enough for you to work things out.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Conor thank you for your answer!
This information is enough, i will start digging now.
One again thanks .
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
jill8026
Conor,
Just an FYI Raine did find the problem and it i was a conflict with the includes/init_includes/init_ceon_uri_mapping.php file. She edited one of the lines in that file and now the search feature works.
Just thought you should know...I know you are not responsible for making your mod work with other mod's but thought you would like to know in case this comes up again.
Jill
Care to share the details of the fix???? Would help others who are considering using this same search app..
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
I'm glad you like it!
The transliteration is based in part on a library from Drupal.
I found the following thread which is related to what you want to do:
http://drupal.org/node/294273
The file you will be looking to change is:
admin\includes\classes\transliteration\x04.php
I'm afraid that's all I know (and it took me a week to learn what I know about transliteration and build that into the module as it is!).. I don't know "which" 'ie' to change.. hopefully the above information is enough for you to work things out.
All the best..
Conor
ceon
Hi again..
Just wanted to say that this file is the key:clap:
It works
Thank you once again!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
Care to share the details of the fix???? Would help others who are considering using this same search app..
I've asked her privately to send me an e-mail.. hopefully she does. I still don't see how URI Mapping could ever interfere with any other software so I'm curious as to what happened with the other module!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
nidkolio
Hi again..
Just wanted to say that this file is the key:clap:
It works
Thank you once again!
No problem.. glad you like the software and that the work done on the transliteration support was worthwhile!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Terra1069
Thank you so much! It is beautiful! Bravo Bravo!!
Glad you like the software!
Quote:
Originally Posted by
Terra1069
My .htaccess file was not working when I edited it in Notepad ++, but when I added the exact same text using basic Notepad it worked fine.
This is the second time I've encountered this problem while adding mods. Just a note, hopefully it is helpful for some!
That sounds like an encoding/charset issue.. you might want to check what character set your copy of Notepad ++ uses.
If you're interested, the best editor I've ever seen (And which I use daily) is Komodo IDE and the handiest lightweight editor is notepad 2.
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hey Guys,
Im not sure what Im doing wrong here, but I cant get this to work.
I've installed the files, and cant find anything that Im missing, but when I create a new category, and a test product, (or update an existing one), I always get a 404 not found broken link. :no:
I've put the rules in the root htaccess file as follows:
Quote:
RewriteEngine 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} !^/modifiedadminname.* [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]
RewriteCond %{REQUEST_URI} !/*.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Anybody have any ideas of where to start looking for the problem here?
Thx!
-
Re: Ceon URI Mapping (SEO)
URL for your site.. helps determine if your re-write rules are correct..
Quote:
Originally Posted by
Spartan
Hey Guys,
Im not sure what Im doing wrong here, but I cant get this to work.
I've installed the files, and cant find anything that Im missing, but when I create a new category, and a test product, (or update an existing one), I always get a 404 not found broken link. :no:
I've put the rules in the root htaccess file as follows:
Anybody have any ideas of where to start looking for the problem here?
Thx!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Spartan
I've put the rules in the root htaccess file as follows:!
RewriteCond %{REQUEST_URI} !/*.* [NC]
Why did you put in a condition which says "don't rewrite anything"?
Obviously that will mean that any URI with a mapping won't get mapped and will return a 404.
Very strange thing of you to have done!
Remove that silly line and things should be fine.
Hope that helps!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Why did you put in a condition which says "don't rewrite anything"?
Obviously that will mean that any URI with a mapping won't get mapped and will return a 404.
Very strange thing of you to have done!
Remove that silly line and things should be fine.
Hope that helps!
All the best..
Conor
ceon
Sorry, I must have misunderstood the instructions. I'll try that.
*Edit* That did it! Thanks!
-
Re: Ceon URI Mapping (SEO)
I have a new problem now.
Now that I have the URI in place, it is making my store visible, but when you go to my homepage, it is automatically taking you to my store, but I dont want that as my homepage.
I added the following:
RewriteCond %{REQUEST_URI} /main.* [NC]
That got my homepage back online, but then the URIs were broken.
Any idea how to fix that?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Spartan
Any idea how to fix that?
If you don't want your home page to be the store then you must put your store in a subdirectory.
If you do that then use the rewrite rule for a store in a subdirectory instead of the one for stores which are in the root directory. You can find out more about this by reading the configuration documentation.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Spartan
I have a new problem now.
Now that I have the URI in place, it is making my store visible, but when you go to my homepage, it is automatically taking you to my store, but I dont want that as my homepage.
I added the following:
RewriteCond %{REQUEST_URI} /main.* [NC]
That got my homepage back online, but then the URIs were broken.
Any idea how to fix that?
A little off topic here, but a suggestion is to use Zen Cart for your WHOLE site.. No need for a separate "home" page.. It will make configuring your .htaccess file much simpler, and long term maintenance of the site much easier..
-
Re: Ceon URI Mapping (SEO)
I'm in the process of creating a localhost version of my online site for some updates. The online site is working fine, but my localhost installation is driving me batty!
I've installed XAMPP v1.7.1 on Windows 7, with the PHP files (save the configure.php's) and database contents copied over from the online version (1.38a base). The localhost store is installed in c:\xampp\store-1.38a and comes up (missing images as expected) if I disable Ceon URI Mappings via admin.
I've got an entry in the database to redirect the index page to /home. When I enable the URI mappings, and go to localhost/store-1.38a, I'm redirected to localhost/home instead of localhost/store-1.38a/home.
Here's a copy of the .htaccess file that's in c:\xampp\store-1.38a:
Code:
# Point 404 & 300 errors to the website-specific page
ErrorDocument 404 /index.php?main_page=page_not_found
ErrorDocument 300 /index.php?main_page=page_not_found
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
#-------
RewriteEngine On
#
# 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} !^/store-1.38a/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/store-1.38a/editors.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /store-1.38a/index.php?%{QUERY_STRING} [L]
I've tried the RewriteRule without the /store-1.38a/ prefix with no change in results.
There's obviously something that I'm misinterpreting.
-
Re: Ceon URI Mapping (SEO)
There's magic that occurs from posting!
First off, to correct my previous post, my store is installed in c:\xampp\htdocs\store-1.38a. Anyhow, moving the .htaccess file to c:\xampp\htdocs has brought my store to life.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
lat9
There's magic that occurs from posting!
First off, to correct my previous post, my store is installed in c:\xampp\htdocs\store-1.38a. Anyhow, moving the .htaccess file to c:\xampp\htdocs has brought my store to life.
Glad to hear that.. the less support I have to give the more time I have for development! :)
Well done on getting it sorted!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Does anyone else get:
HTTP Error: 301
URLs not followed
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
When they are submitting sitemap to google?
Or does anyone know what can be done please?
-
Re: Ceon URI Mapping (SEO)
I installed the Ceon mapping software. Most of my categories
have the auto generated URL's and the EZ pages also have
the new URL's.
But when I go to the admin and try to upload a
product it switches to a dynamic URL. Any suggestions ?
How can I get page2 /page3 etc on the left bar to be static URL,s
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
tommy123
But when I go to the admin and try to upload a product it switches to a dynamic URL. Any suggestions ?
You'll need to explain this since this mod only creates product URIs using the "auto generate" feature..
Quote:
Originally Posted by
tommy123
How can I get page2 /page3 etc on the left bar to be static URL,s
This is explained very well in the readme file that comes with this mod.. You might wanna take a read through it first...
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
tommy123
But when I go to the admin and try to upload a
product it switches to a dynamic URL. Any suggestions ?
Sounds like you've missed out uploading the collect_info/update_product files in the modified core files/admin/includes folder. Carefully upload the files again, according to the installation instructions.
Quote:
Originally Posted by
tommy123
How can I get page2 /page3 etc on the left bar to be static URL,s
You can set up URIs for them by using software such as PHPMyAdmin to add the appropriate records. There is more information about this in the configuration documentation (look for the bit about "other" zen cart pages).
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi there,
I just installed Zen 1.3.9a and would like to try this mod out. There are a LOT of modified core files for this mod.
Are you working on a 1.3.9a version, or have you had a look?
Thanks!
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Quimbly
Are you working on a 1.3.9a version, or have you had a look?
Thanks!
Version 3.4.0 will be out shortly with full support for 1.3.9.
Please be patient.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
First of all I would like to thank conor for making this wonderful mod.
I've successfully installed the module, and my question is:
Is there a quick way to make uri mappings for all the products on my site? As of now, i have to go to >edit> then save for the autogeneration uri to work.
Thanks in advance.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
idle
First of all I would like to thank conor for making this wonderful mod.
I'm glad you like it. Thanks for the nice comments!
Quote:
Originally Posted by
idle
I've successfully installed the module, and my question is:
Is there a quick way to make uri mappings for all the products on my site? As of now, i have to go to >edit> then save for the autogeneration uri to work.
I'm afraid not, not yet. You'll have to manually click update for each product. It's time consuming but mindless and easy (just stick some music on and get clicking! Or get some really cheap labour to do the same! ;) ).
I have said in the main overview of the module that the module is aimed more towards new/small sites but I guess I should make that information more prominent!
I'll hopefully be releasing 3.4.0 later today, I'll see what I can do to make this information easier to see.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
I'm glad you like it. Thanks for the nice comments!
Love it!.. top add-on!!
Quote:
Originally Posted by
conor
I have said in the main overview of the module that the module is aimed more towards new/small sites but I guess I should make that information more prominent!
in your professional opinion, what's a small site?
I have this mod running beautifully on a 138a site of about 150 products and 20 EZ pages.
My next site will have 2000 products, do you foresee any problems?
(not built yet, well, it was 80% complete, then 139a came out so i will be starting it again from scratch!!)
Cheers
-
Re: Ceon URI Mapping (SEO)
Great news! Thanks for updating it to 3.4
Quote:
Originally Posted by
conor
Hi,
I'm glad you like it. Thanks for the nice comments!
I'm afraid not, not yet. You'll have to manually click update for each product. It's time consuming but mindless and easy (just stick some music on and get clicking! Or get some really cheap labour to do the same! ;) ).
I have said in the main overview of the module that the module is aimed more towards new/small sites but I guess I should make that information more prominent!
I'll hopefully be releasing 3.4.0 later today, I'll see what I can do to make this information easier to see.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Since the URI is generated every time you create a new product, the job of creating your initial set of URIs on an existing store might seem a little daunting (though it really doesn't take much time if you tackle it one category at a time) Especially if it's a LARGE store.. But if you install this mod from the BEGINNING of the store setup, then it's a piece of cake because as you create your new products, you will be creating your URIs.. What I Like most about this SEO module (besides the fact that it WORKS from jump) is that the store owner has control over the URIs.. You can choose to auto-generate them or create your own..
Quote:
Originally Posted by
Shane78
Love it!.. top add-on!!
in your professional opinion, what's a small site?
I have this mod running beautifully on a 138a site of about 150 products and 20 EZ pages.
My next site will have 2000 products, do you foresee any problems?
(not built yet, well, it was 80% complete, then 139a came out so i will be starting it again from scratch!!)
Cheers
-
Re: Ceon URI Mapping (SEO)
After I added the Plug-in“ceon_uri_mapping” to rewrite URL in ZenCart,I can not add the items into shopping cart ,but when ceon_uri_mapping is on, I can add the items that not rewrited into the shopping cart.Whats more,this problem will appear only when URL rewrite end with .html ,just like:http://www.xxxxx.com/christian-loubo...knee-boot.html ,while the url like:http://www.xxxxx.com/christian-loubo...k-fashion-boot have no problem at all. what's wrong?waiting for ur help~
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
clcavril
After I added the Plug-in“ceon_uri_mapping” to rewrite URL in ZenCart,I can not add the items into shopping cart
This has been fixed. The problem was that .html cannot be used for URIs unless a condition is added to the rewrite rule.
The section of the docs covers this:
"Modifying the rule to allow URI mappings to be used which end with a particular file extension (e.g. “.html”)".
In other news, don't think I'll get 3.4.0 released today.. very soon though.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hello,
I have been asked to help transfer www.petsavenue.com.au (with Ceon URI Mapping 3.2.3) to a new server.
I don't know how to get the Rewrite Rule working. Its working on the current server; I just copied the database and files over to the new server and a 2nd testing server but the seo links go to blank pages or zecart Page Not Found pages
http://pepe6420.staging-zeus.netregistry.net (netregistry)
www.onlineshopdesign.net/pa_test (godaddy)
I would think godaddy should work with RewriteEngine On. I had a look at the .htaccess file but I don't think I need to change this. Maybe I need to edit something else, or there's some thing I can added to .htaccess file to get it working? I will keep looking into it later.
-
Re: Ceon URI Mapping (SEO)
Hello,
Just wondering if theres been any update to this working with easy populate? I have a new store and populating it via EP, however theres roughly 4000 products and doing them one by one is out of the question :-)
-
Re: Ceon URI Mapping (SEO)
Hi guys,
I've recently moved over to CEON URI after a long frustrating battle with SSU, and it works great! Thanks for this great mod.
I've updated all of my products and everything appears to be in good working order, just 2 minor issues I haven't been able to resolve.
1. When I add a product with attributes to the shopping cart, if I mouse over that product in the shopping cart the link appears as /category/product?:1fddbd5a52e7ef2e74602409d20a04c6
If I click the link the page appears and still has the string attached
Products with no attribute do not have a ?:xxxx string attached. (note this is not the zenid - that part is fine)
2. In some of my product names I add a line break <br /> tag, when I use auto generate it adds br inside the product URI, I can edit this out manually but is there a way to have it ignore the <br /> tag? I have tried excluding it and converting it to a different string in the configuration with no luck
This is one Zen Cart 1.3.8a using CEON URI 3.2.4, any help would be much appreciated.
Thanks again!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
shazam_nz
Hello,
Just wondering if theres been any update to this working with easy populate? I have a new store and populating it via EP, however theres roughly 4000 products and doing them one by one is out of the question :-)
If you are referring to Ceon's URI Manager software, it's a commercial product, so don't look for any response from Conor on this forum with regards to it. Discussions of commercial products is frowned upon and doing so could get Conor suspended if he engaged in talks about his commercial offerings. My suggestion is to go to Conor's site and speak with him directly there with regards to the URI Manager..
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
I've asked her privately to send me an e-mail.. hopefully she does. I still don't see how URI Mapping could ever interfere with any other software so I'm curious as to what happened with the other module!
All the best..
Conor
ceon
G'Day Conor
Did you ever get an answer on this??
-
Re: Ceon URI Mapping (SEO)
Hi,
How are you?
Quote:
Originally Posted by
DivaVocals
Did you ever get an answer on this??
Yes, after a few personal mails to her I got a response. As I'd thought there was nothing wrong with Ceon URI Mapping, the "Excluded Files" setting hadn't been configured properly to get it to work with the other module.
I have to get in contact with Raine, the author of the other module to let her know how she can configure URI Mapping to have her module work with it. I've been very ill recently so I haven't got round to that yet.
Hopefully I'll be well enough to release new versions of the various Ceon modules (with 1.3.9 compatibility and PHP 5.3 compatibility) very soon - today or tomorrow (which is about time as some of the changes I've had waiting to release since September 2009! :) ).
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
penner
I've recently moved over to CEON URI after a long frustrating battle with SSU, and it works great! Thanks for this great mod.
Glad you like it!
Quote:
Originally Posted by
penner
1. When I add a product with attributes to the shopping cart, if I mouse over that product in the shopping cart the link appears as /category/product?:1fddbd5a52e7ef2e74602409d20a04c6
This bug has already been fixed in the latest version. In 3.4.0 the product_id parameter isn't removed if it includes attribute information so that the attributes can be correctly pre-selected when clicking on a product in the shopping cart.
Quote:
Originally Posted by
penner
2. In some of my product names I add a line break <br /> tag, when I use auto generate it adds br inside the product URI, I can edit this out manually but is there a way to have it ignore the <br /> tag? I have tried excluding it and converting it to a different string in the configuration with no luck
Sorry you'll have to stop using HTML in your product names if you want to use Ceon URI Mapping's autogeneration functionality.
You could add in code to strip HTML from product names before the autogeneration takes place but I don't think it's ever a good idea to mix design and code so I think you should rethink your idea of breaking a name into two sentences. It doesn't make sense in real life and it also doesn't make sense online.
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Any exciting news yet? :clap:
-
Re: Ceon URI Mapping (SEO)
Is there anything I need to do when I move servers to get this mod working again. Anyone have any ideas?
Quote:
Originally Posted by
vandiermen
Hello,
I have been asked to help transfer
www.petsavenue.com.au (with Ceon URI Mapping 3.2.3) to a new server.
I don't know how to get the Rewrite Rule working. Its working on the current server; I just copied the database and files over to the new server and a 2nd testing server but the seo links go to blank pages or zecart Page Not Found pages
http://pepe6420.staging-zeus.netregistry.net (netregistry)
www.onlineshopdesign.net/pa_test (godaddy)
I would think godaddy should work with RewriteEngine On. I had a look at the .htaccess file but I don't think I need to change this. Maybe I need to edit something else, or there's some thing I can added to .htaccess file to get it working? I will keep looking into it later.
-
Re: Ceon URI Mapping (SEO)
Hi
I have also stopped getting orders logged to my admin.
I am using Zen Cart 1.3.8a with no upgrade recently
I have been using Paypal IPN with no problems
I did recently install sitemapxml on 4/9/10 and ceon uri mapping on 4/20/10 and first order that didn't log (but payment received) was 4/21/10
I don't get a lot of orders yet and last order that logged was in March 2010
I ran ipncheck.php but all it shows is my main page
Thought maybe I should switch to Paypal express so I ran curltest.php but all it shows is my main page
I checked "Excluded files" in the config and it says that /ipn_main_handler.php is in the list by default
Website located at:
http://santanoni.biz/
Any thoughts would be greatly appreciated
John
-
Re: Ceon URI Mapping (SEO)
Follow-up on previous post
I did make the following change in the .htaccess Could that have caused the orders to not log?
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
to:
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
John
-
Re: Ceon URI Mapping (SEO)
OK
I found that the rewrite was the problem.
I had changed as follows:
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
to:
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
I changed it back to basic:
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
and it works fine.
Not sure if:
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm)$ [NC]
would work. I didn't take the time to find out. Maybe someone else has an answer to that.
Hope this helps someone
John
-
Re: Ceon URI Mapping (SEO)
Hi John,
Quote:
Originally Posted by
catach
Follow-up on previous post
I did make the following change in the .htaccess Could that have caused the orders to not log?
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
Yes, that would have made the main index.php file responsible for all PHP and HTML files.. which isn't something you'd want!
Glad you've found the mistake and got things sorted now!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Just a quick comment to say my site has been fixed by Conor.
the files needed to be edited for "Zeus Web Server's", as they were made for Apache only.
"Zeus Web Server's" are very uncommon.
-
Re: Ceon URI Mapping (SEO)
I should have wrote in the above post that hosting configuration needed changing and file update was made for "Zeus Web Server's", as Ceon URI Mapping (SEO) was made for Apache.
-
Re: Ceon URI Mapping (SEO)
Hi Conor,
how are you doing?... any better?
Just a quicky,
im rebuilding my main zc site this weekend. As you know im a fan of your URI mod... but im going to have a load of products that wil have several attributes..
you know..
boilersuit size,
Company logo, (front, back, both)
etc
I have never had products with attributes before but I have read posts that URI rewriting doesn't work with products with lots of attributes... Will your revamped upgraded version have resolved this problem when released?
Im just curious, it's not major problem if it doesn't.. im just asking so I can plan how im going to list products etc...
Take it easy
M :wink:
-
Re: Ceon URI Mapping (SEO)
Hi Martin,
How are you?
Quote:
Originally Posted by
Shane78
how are you doing?... any better?
Not much unfortunately. Heading for my latest MRI in about 10 minutes, so will get a nice half hour rest. :)
Quote:
Originally Posted by
Shane78
I have never had products with attributes before but I have read posts that URI rewriting doesn't work with products with lots of attributes... Will your revamped upgraded version have resolved this problem when released?
There's no problem with attributes.. it's simply that any product with attributes is seen as the same product (as that is the way Zen Cart works, not having "Product Variant" support and with 2.0.0 non-existent!).
To handle viewing of products with attributes which have already been added to the cart, the products_id must stay in the URI. There's a bug in the current version which breaks the format of this variable so that link between the cart back to the products page gets broken and it is this link which is fixed in the latest version of the software, 3.4.0. However, all other functionality (i.e. all the important stuff, like add to cart) works fine.
Depending on how today goes I may get the chance to package the new version up and release it before you get working on the site.. can't promise anything though!
At least you know now the new version's not essential for what you are doing - not having it won't affect how you do things, when you upgrade to 3.4.0 things will simply "work better". :)
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Cheers fella!
they're weird those MRI machines... only had one scan before, very loud but strangely relaxing!.. until you need to scratch the end of your nose!..
Dont worry about getting your update out this weekend... take the time to relax!!!
Fingers crossed.. let us know how you get on!!!
-
Re: Ceon URI Mapping (SEO)
I am using 1.39a, and was trying out on Ceon URI Mapping.
I have tried to create a test category with a test product, using the auto generated selection. When I tried to load that page, it doesn't load the product page, but only showing the homepage.
In addition, I had all error pages redirected to pagenotfound.php before installing Ceon, after including the rewrite rule into the .htaccess, the error pages redirection doesn't work anymore.
Has anyone encounter the new url not loading on the product page? I have more than a thousand products, so I don't want to change anything yet until I am able to get the test product to work, and able to log in as orders.
-
Re: Ceon URI Mapping (SEO)
Ok, I figured out that my error documents are not redirecting to pagenotfound.php because that it was directed to index.php instead. So that part is good now.
I am just waiting to see if anyone also experience the new url not landing on the product page.
Thanks
-
Re: Ceon URI Mapping (SEO)
Hi,
I had a question about the new ceon url seo.
I upgrade from 1.3.8 (which had ceon installed) to 1.3.9.
1.3.9 still show ceon module in the configuration admin page (since I migrated the database and none of the custom zen module.
Is there a problem installing the new ceon over whatever was in the database?
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
saplanet
Ok, I figured out that my error documents are not redirecting to pagenotfound.php because that it was directed to index.php instead.
For ErrorDocuments there should be never be any "redirect".
The 404 response should be directly returned at the originally requested URL.
A preceding 301 or 302 redirect and/or the ErrorDocument directly returning anything other than 404 status is a configuration error.
http://www.zen-cart.com/forum/showthread.php?t=152608
-
Re: Ceon URI Mapping (SEO)
This is what my .htaccess shows:
#Error Page
ErrorDocument 404 /index.php?main_page=page_not_found.php
ErrorDocument 403 /index.php?main_page=page_not_found.php
ErrorDocument 400 /index.php?main_page=page_not_found.php
ErrorDocument 401 /index.php?main_page=page_not_found.php
ErrorDocument 405 /index.php?main_page=page_not_found.php
ErrorDocument 500 /index.php?main_page=page_not_found.php
# 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]
# 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]
I have a customized error page created, so I want to use that, however, after including CEON's rewrite rules
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L], the customized error page doesn't show anymore, but instead, it is pointing to the homepage.
My new url still doesn't load though, I am not sure if it is something that I have not done properly (checked thrice though), or it's not fully compatible with 1.39.
This is the test product in a test category: http://simpleartsplanet.com/test-cat...-lyndi-pattern
-
Re: Ceon URI Mapping (SEO)
I will keep this thread in view, but unfortunately, this is not working for me now, so I am uninstalling the module. I can't leave the test cat/prdt in the shop as it is a live shop and customers are already emailing to ask if the cart is still under maintenance or unstable as they see test products around.
Good luck with this mod.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
saplanet
I will keep this thread in view, but unfortunately, this is not working for me now, so I am uninstalling the module. I can't leave the test cat/prdt in the shop as it is a live shop and customers are already emailing to ask if the cart is still under maintenance or unstable as they see test products around.
Good luck with this mod.
Update has not been released for 1.3.9 yet.
Suppose to be soon though.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
saplanet
I will keep this thread in view, but unfortunately, this is not working for me now, so I am uninstalling the module.
Sorry you couldn't get the software to work. It sounds like you messed up something when installing or that your server is configured "unusually". I can take a quick look if you send me FTP and admin details for your site.
As neither of the possible causes of the issue are "general" problems, the posting of the solution of which may help others, I'm afraid I can't provide support here on this thread.
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Yes, after a few personal mails to her I got a response. As I'd thought there was nothing wrong with Ceon URI Mapping, the "Excluded Files" setting hadn't been configured properly to get it to work with the other module.
I have to get in contact with Raine, the author of the other module to let her know how she can configure URI Mapping to have her module work with it.
Cool.. Would you be willing to share the required change needed (for either the other module or the need edits to the "Excluded Files"?? If you don't want to do it here I totally understand.. Could I impose on you (when your time permits of course) to send to me direct?? :smile:
Quote:
Originally Posted by
conor
I've been very ill recently so I haven't got round to that yet.
Hopefully I'll be well enough to release new versions of the various Ceon modules (with 1.3.9 compatibility and PHP 5.3 compatibility) very soon - today or tomorrow (which is about time as some of the changes I've had waiting to release since September 2009! :) ).
It's awful when you are not feeling well.. So in the meantime, please take care of YOU.. We LOVE having you around!!
-
Re: Ceon URI Mapping (SEO)
Can anyone tell me how to prevent other directories on my site from being rewritten? I have the following .htaccess file in the site root. Directories such as: /lists.* and /blogs.* are no longer functioning.
ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html
RewriteEngine 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 kremer site directories
RewriteCond %{REQUEST_URI} !^/administration.* [NC]
RewriteCond %{REQUEST_URI} !^/banner.* [NC]
RewriteCond %{REQUEST_URI} !^/bible.* [NC]
RewriteCond %{REQUEST_URI} !^/bible-studies.* [NC]
RewriteCond %{REQUEST_URI} !^/biblewalk.* [NC]
RewriteCond %{REQUEST_URI} !^/bread.* [NC]
RewriteCond %{REQUEST_URI} !^/blogs/* [NC]
RewriteCond %{REQUEST_URI} !^/camera.* [NC]
RewriteCond %{REQUEST_URI} !^/cartTests.* [NC]
RewriteCond %{REQUEST_URI} !^/catalog.* [NC]
RewriteCond %{REQUEST_URI} !^/christmas.* [NC]
RewriteCond %{REQUEST_URI} !^/church.* [NC]
RewriteCond %{REQUEST_URI} !^/confirmationparent.* [NC]
RewriteCond %{REQUEST_URI} !^/downloads.* [NC]
RewriteCond %{REQUEST_URI} !^/email.* [NC]
RewriteCond %{REQUEST_URI} !^/EMailings.* [NC]
RewriteCond %{REQUEST_URI} !^/excelLISTS.* [NC]
RewriteCond %{REQUEST_URI} !^/forms.* [NC]
RewriteCond %{REQUEST_URI} !^/fpp.* [NC]
RewriteCond %{REQUEST_URI} !^/GeneratedItems.* [NC]
RewriteCond %{REQUEST_URI} !^/images.* [NC]
RewriteCond %{REQUEST_URI} !^/images_https.* [NC]
RewriteCond %{REQUEST_URI} !^/lists.* [NC]
RewriteCond %{REQUEST_URI} !^/media.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_spring.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_summer.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_winter.* [NC]
RewriteCond %{REQUEST_URI} !^/myfiles.* [NC]
RewriteCond %{REQUEST_URI} !^/originals.* [NC]
RewriteCond %{REQUEST_URI} !^policies.html [NC]
RewriteCond %{REQUEST_URI} !^/printing.* [NC]
RewriteCond %{REQUEST_URI} !^/school.* [NC]
RewriteCond %{REQUEST_URI} !^/search.* [NC]
RewriteCond %{REQUEST_URI} !^/VBS_Downloads.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [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]
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]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [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]
-
Re: Ceon URI Mapping (SEO)
You have two identical RewriteRules.
There is a very long list of RewriteCond URL exclusions before the first one.
The exclusion list before the second RewriteRule is very short.
If something is excluded in the first list, but not in the second list, then the second RewriteRule will handle the request.
You need to merge the list of RewriteConds before having a single RewriteRule.
In every RewriteCond with a trailing .* fragment, those trailing .* characters can be deleted.
Remove the doubled "ErrorDocument" and the "RewriteEngine On" duplication too.
-
Re: Ceon URI Mapping (SEO)
Hi,
I think it's pretty obvious that you messed that up well and truly! :)
As the following post said, you have mixed two rewrite rules so the one without the exclusions is nullifying the effect of the tone with the exclusions.
Here's the exact code you should use in your .htaccess file.. get rid of EVERYTHING else you've entered and put this code in there:
Code:
ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin [NC]
# Don't rewrite kremer site directories
RewriteCond %{REQUEST_URI} !^/administration [NC]
RewriteCond %{REQUEST_URI} !^/banner [NC]
RewriteCond %{REQUEST_URI} !^/bible [NC]
RewriteCond %{REQUEST_URI} !^/bible-studies [NC]
RewriteCond %{REQUEST_URI} !^/biblewalk [NC]
RewriteCond %{REQUEST_URI} !^/bread [NC]
RewriteCond %{REQUEST_URI} !^/blogs [NC]
RewriteCond %{REQUEST_URI} !^/camera [NC]
RewriteCond %{REQUEST_URI} !^/cartTests [NC]
RewriteCond %{REQUEST_URI} !^/catalog [NC]
RewriteCond %{REQUEST_URI} !^/christmas [NC]
RewriteCond %{REQUEST_URI} !^/church [NC]
RewriteCond %{REQUEST_URI} !^/confirmationparent [NC]
RewriteCond %{REQUEST_URI} !^/downloads [NC]
RewriteCond %{REQUEST_URI} !^/email [NC]
RewriteCond %{REQUEST_URI} !^/EMailings [NC]
RewriteCond %{REQUEST_URI} !^/excelLISTS [NC]
RewriteCond %{REQUEST_URI} !^/forms [NC]
RewriteCond %{REQUEST_URI} !^/fpp [NC]
RewriteCond %{REQUEST_URI} !^/GeneratedItems [NC]
RewriteCond %{REQUEST_URI} !^/images [NC]
RewriteCond %{REQUEST_URI} !^/images_https [NC]
RewriteCond %{REQUEST_URI} !^/lists [NC]
RewriteCond %{REQUEST_URI} !^/media [NC]
RewriteCond %{REQUEST_URI} !^/menu_top [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_spring [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_summer [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_winter [NC]
RewriteCond %{REQUEST_URI} !^/myfiles [NC]
RewriteCond %{REQUEST_URI} !^/originals [NC]
RewriteCond %{REQUEST_URI} !^policies.html [NC]
RewriteCond %{REQUEST_URI} !^/printing [NC]
RewriteCond %{REQUEST_URI} !^/school [NC]
RewriteCond %{REQUEST_URI} !^/search [NC]
RewriteCond %{REQUEST_URI} !^/VBS_Downloads [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]
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
I have installed CEON on www.classicalchandeliers.co.uk and in general I am very happy with it.
I have a problem that after installing CEON them when you go to "write a review" you get this error
404 Not Found
The server can not find the requested page:
pegasus.terrassl.net/~classica/crystal-chandeliers/glass-arms-upto-5/chandelier-4085-059hk-890r/add-a-review?zenid=0eae51869da6f8db1a6a0d3fff9c1fc0 (port 443)
Can anyone offer any advise?
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
ptowers49
The server can not find the requested page:
pegasus.terrassl.net/~classica/crystal-chandeliers/glass-arms-upto-5/chandelier-4085-059hk-890r/add-a-review?zenid=0eae51869da6f8db1a6a0d3fff9c1fc0 (port 443)
You are linking through to a shared SSL certificate/sub-domain.
URI Mapping as standard *cannot* be used with a shared SSL certificate as the "base URI" is different from the normal http URI.
You must upgrade your hosting to using your own SSL certificate, or else disable SSL or create a rule that remaps from the shared domain properly (I don't know how to do that).
SSL certificates only cost $10 a year so if you're serious about your site this is the only option you should consider!
Hope that helps!
All the best..
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Thank you for the help. I noticed the duplicates that I must have copied over yesterday.
The issue I was originally trying to fix was that one of the categories on the site had four pages of products. When forwarding to the "Next" page, it would always refresh the current page.
I found that for whatever reason, deleting the "/church" directory from the list of "Do Not Rewrite" in the .htaccess file fixed the problem. Why? I have no idea...but everything works now.
-
Re: Ceon URI Mapping (SEO)
In the exclusions list, one URL is missing the leading slash.
It's pretty obvious which one when you run your eye down the list.
-
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
g1smd
In the exclusions list, one URL is missing the leading slash.
You are indeed right about that!
Quote:
Originally Posted by
g1smd
It's pretty obvious which one when you run your eye down the list.
I like the way your decision not to mention the actual line makes this sound a bit like a challenge to be undertaken (akin to a Treasure Hunt, albeit a very easy one! ;) ).
Anyway... should be releasing the new version of the software tomorrow at long, long last.. good night for now!
All the best...
Conor
ceon
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
You are indeed right about that!
I like the way your decision not to mention the actual line makes this sound a bit like a challenge to be undertaken (akin to a Treasure Hunt, albeit a very easy one! ;) ).
Anyway... should be releasing the new version of the software tomorrow at long, long last.. good night for now!
All the best...
Conor
ceon
AWESOME!!! G'nite.. rest up Conor!!!
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
saplanet
This is what my .htaccess shows:
#Error Page
ErrorDocument 404 /index.php?main_page=page_not_found.php
ErrorDocument 403 /index.php?main_page=page_not_found.php
ErrorDocument 400 /index.php?main_page=page_not_found.php
ErrorDocument 401 /index.php?main_page=page_not_found.php
ErrorDocument 405 /index.php?main_page=page_not_found.php
ErrorDocument 500 /index.php?main_page=page_not_found.php
Page_not_found should not have .php in the end. This is a part that load with index.php page.
-
Re: Ceon URI Mapping (SEO)
I got problem after moving my customers shop from a folder to the root. It is ok for my customer to keep the subfolder (shop) and is it a way to change this to be set when autogen the uri ?
ex. /shop/category/product.
the problem is that all categories got blocked and page not found.
-
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Sorry you couldn't get the software to work. It sounds like you messed up something when installing or that your server is configured "unusually". I can take a quick look if you
send me FTP and admin details for your site.
As neither of the possible causes of the issue are "general" problems, the posting of the solution of which may help others, I'm afraid I can't provide support here on this thread.
All the best...
Conor
ceon
I am pleased to state that I managed to get the mod to work now. It's my bad, I left out a file in the autoloader folder. I also managed to work on the define pages in the sql, everything works beautifully. :clap:
Thank you very much for this great mod. It is exciting to see the page ranking improves in the search engine.
-
Re: Ceon URI Mapping (SEO)
Hi,
How are you?
Quote:
Originally Posted by
FrilansReklam
I got problem after moving my customers shop from a folder to the root. It is ok for my customer to keep the subfolder (shop) and is it a way to change this to be set when autogen the uri ?
ex. /shop/category/product.
Your information seems to conflict a bit.. you seem to be saying that you've moved from a "folder to root" but then you ask if you can "keep the subfolder".. that would mean you haven't moved at all? I'm a little confused by that?!
The autogeneration includes the value of DIR_WS_CATALOG from admin/includes/configure.php
If you want to use a different "base" in your URI then you'll have to moidify the autogeneration functions to use something else instead of DIR_WS_CATALOG
Quote:
Originally Posted by
FrilansReklam
the problem is that all categories got blocked and page not found.
I'm afraid it's not clear what you are doing.. I need more specifics please.
All the best...
Conor
ceon