Any luck getting this functionality to work, or have you discovered any workarounds? I have a CSV file of 1000+ products waiting to be uploaded. :)
Printable View
To answer this question (again), in the detailed readme written for this mod, Conor has provided basic instructions for manually adding URI's to the DB.
Using the information from the readme, if you want to take the next steps required to upload your URI's to the database from a spreadsheet, you will have to roll up your sleeves a little and do some research on how to upload Excel spreadsheets to a mySQL database.
Which is what I did. Here's are the high level steps I took to achieve this:
- Exported my product/category data to a CSV file
- Editing the CSV, I added in the URI data
- Imported my finalized URIs to my database
I researched the correct way to import data to a mySQL database by using Google to get this information. (you can also call your hosting company.. tech support will be happy at most companies to assist you)
For anyone who thinks this work is over their heads, I suggest hiring and having a professional do this work for you.
Finally if you take a few minutes to travel over to Conor's website you will see that there is a commercial module Ceon is developing (not yet released) that will do this work for you. Conor CANNOT TALK COMMERCIAL MODULES ON THIS SUPPORT THREAD (before anyone thinks about posting a question about this module here) which is why he will not answer questions about this module here..
Hi,
This is because Ceon URI Mapping sees index.php, index.php?main_page=index and / all as the same (which is a good thing ;) ).
You basically want to temporarily have '/' as '/index.html' but '/' is currently assigned to '/index.php'.
You should be able to have /index.html take control of / by adding the following to the rewrite rule:
This stops / being rewritten and passed on to /index.phpCode:RewriteCond %{REQUEST_URI} !^/$
All the best..
Conor
ceon
Hi
This is my very first post, so if I am not adhering to all the rules, please be patient.
my site is: http://bag-a-party.co.za/shop
Zen Cart 1.3.9h is installed in the directory called shop.
I have two questions:
1.) Is CEON URI Mapping version 3.8.0 the latest available version?
2.) If so, will it work with my version of Zen Cart (1.3.9h).
[ I see in the /ceon_uri_mapping__3.8.0_for_zc folder that it only seems to cater for up to 1.3.9f.
http://www.zen-cart.com/forum/images/smilies/oops.gif
Sorry. I should have scanned through the forum first. I've found the answers.
So version 3.8.0 of Ceon URI Mapping (currently the latest) does work with version 1.3.9h of Zen Cart.:oops:
Hi,
No problem.. that's the main thing!
All the best..
Conor
ceon
Duh...
Searched the post before this... sorry if Im duplicating..
Zen Cart 1.3.9h, using the core files from 1.3.9d, two languages, no core modifications. CEON works ok for Categories, Products, etc.. except ezpages... Just generates the normal URI, nothing like /contact_us...
I can edit the ezpage and choose to autogenerate or to type in, they are recorded in db and if I browse to /new-products it works, pero the ezpages menu is not outputting the URI.
Ive gone though the instructions 5 times..
Is there and other html_output.php to be merged other than
1.3.9d\includes\functions\html_output.php??
Why could this be?
Thx in advanced!
Hi,
I just tested and I can get this behaviour on a test site that has Ultimate SEO URLs enabled but disabled.
In the list of "Enter pages to allow rewrite" (In config - SEO URLs), when "page" is in that list, the Ceon URI Mapping links aren't generated.
I know of no other circumstances that this fails.. basically when zen_href_link is used, Ceon URI Mapping's URI mappings will always be used instead of Zen Cart's dynamic ones.
So check if Ultimate SEO URLs and either remove its code from html_output.php or adjust its settings as above, allowing it to rewrite NO pages.
Hope that helps.
All the best..
Conor
ceon
AHm... dont have Ultimate SEO URLS installed.. I do have Multi-Language EZ-Pages... but Ive merged the code the best I can...
Just please point me in the right direction.... In what funtion or file are the urls generated for ezpages? Where is the query made?
regards!!
Hi. I wonder if someone can help. I've only started using ZenCart for the first time recently, although I do have experience of quite a few other shopping cart systems.
All is generally going well, although I recently installed the Ceon URI Mapping plugin.
Most things seem to be in order with it, including the URL changing to what I setup in each category. However, while it does rewrite the URL in the address bar, it loads the homepage content rather than the category page content.
I've been on to the host about it to check whether mod_rewrite is on and, after further testing, can confirm that redirects and rewrites ARE being allowed. I just cannot get the Ceon related rewrites to work. I've taken the sample .htaccess code from their configuration pages:
-----
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [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]
------
... but all I get is the result described above. I'm not any sort of expert when it comes to htaccess, although I've used them at a basic level a lot, so it may be an obvious answer. I think i've narrowed it down to something in the last line and possibly an error in how the query string is being handled. If that was the case, then it would make sense that it's loading the content from index.php rather than the full category querystring URL, which in this case would be: index.php?main_page=index&cPath=1013_1194
Can anyone help with this at all?
cheers.
Hi Brian,
Are you sure you're using mod_rewrite?
And not some other web server with a different rewrite module? There can be incompatibilities between them.
All the best...
Conor
ceon
Hi,
This must be to do with the multilanguage mods you've made then.
Ceon URI Mapping 4.0.0 will be coming with premodified files for this module (don't know why it was never made part of Zen Cart but ho hum).
As that is the case and this issue isn't critical I'm going to have to say to you to wait for the new version.
Better that I work on it, rather than spend time helping individuals.
Hoping to have the new version out this month, time and health permitting.
All the best..
Conor
ceon
I've asked about mod_rewrite a couple of times and they've never actually confirmed whether it is or isn't working. The latest input from the host as a sample URL rewrite was ...
RewriteRule something http://www.ClientsDomain.com/index.p...Path=1026_1159 [R=301]
... which does work. Meaning when i go to www.ClientsDomain.com/something, it loads the content from the querystring URL but keeps the friendly version.
Not sure if it helps or not, but the host is JSWeb.
Hi,
I thought maybe you wrre using a windows server or something (i.e. not Apache).
I've experience with JSWeb before. Their servers work perfectly with Ceon URI Mapping.
So I'm afraid this problem isn't to do with that. I don't know what's wrong on your site, you must have installed something wrongly?
Try installing the module again, from scratch.
Sorry I can't be more help than that.
All the best...
Conor
ceon
hmmm. OK. I was pretty particular when I was doing the install knowing that if I missed anything then i'd need to redo it all again (which I like to try and avoid if possible). Everything about it seems to be working from an admin point of view (i.e. it's in the menu, the Ceon option shows up at all expected levels, the manual and auto options both work and so on.)
When you say that it works fine with JSweb, is that when using the .htaccess content pulled directly from the configuration page?
I'll take a look at the install tonight / tomorrow and see what's what with it.
cheers
Hi,
That's what we all aim for of course! :) Unfortunately it appears this didn't happen for you this time round.
Yes.
I'd imagine you'll find a mistake you made in the installation.
All the best...
Conor
ceon
I have this mod installed on one site and it works great.
I recently tried to install it on http://www.buyorpheklights.com and I don't think its working.
I uploaded all of the contents from "files" into the zencart install directory
then I uploaded all the files from the modified_core_files directory 1.3.9d directory. I have 1.3.9h
then I uploaded the ones from the template_override_files and i made sure to change the folder name to the name of the template i was using.
The problem is that when I go back to the zen-cart admin area there is no CEON URI Mapping located under any of the menus. i thought it was under Config -> Ceon but there isn't anything there. Nor is there anything under Modules -> Ceon
Did I do something wrong?
Hi,
It sounds like you might have uploaded the files for the "admin" folder to the wrong folder.
Make sure you upload them to whatever the admin folder is called on this other site. Then the options for Ceon URI Mapping should appear.
All the best...
Conor
ceon
Oh good lord. I didn't even notice that my zencart admin folder was renamed.
I shall hold my head in shame.
thank you
Hi,
lol it's easily done!
As long as things are working now! :)
All the best...
Conor
ceon
First off, thank you for a great mod. I have having troubles with getting my standard zen cart pages to work after I have installed this mod.
my website is http://www.dscrossstitchonline.com/
I've been through all the products/catagories/ezpages and generated url's for them and they are working great.
My problem is with pages like productsall, productsnew, specials, privacy notcice, contact us, discount coupons etc. None of these links are working.
I've been throught the docs and this forum thread and see people with similar problems but I couldn't find a solution. I'm guessing it's my .htaccess file and this is its contents
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/monkey2 [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]
and this .htaccess is in with the index.php etc at the root of my shop. My host doesn't use apache, it's h-sphere if that helps.
Any help would be greatly appreciated
Hi,
I'm glad you like it.
I have NEVER seen that problem before. It must be something to do with your store/server configuration.
Please get in contact via this address with FTP and admin details for your site and I'll take a look.
All the best..
Conor
ceon
Hello ok i've sent you the details so you can have a look. thanks again :)
Hi,
I've found and fixed the problem on your site.
It turns out that you had SimpleSEO installed and you had removed its rewrite rules, but it was still enabled, so it was "responsible" for the likes of the "index" page etc.
I've disabled SimpleSEO and everything is working perfectly now! :)
Enjoy the new URIs and the rest of your weekend!
All the best..
Conor
ceon
Thank you, I don't remember installing that but ive had the site for about 6 years now so have been a long time ago.
Thank you for taking the time to help, i'll recommend your mod to everyone I can
Which of these is correct? The first is what it's writing now, and unless Google parses out the & correctly, I don't think this is valid. Or am I worrying for nothing?
<link rel="canonical" href="http://www.mysite.com/index.php?main_page=index&cPath=126" />
<link rel="canonical" href="http://www.mysite.com/index.php?main_page=index&cPath=126" />
Hi,
Neither of those is a Ceon URI Mapping canonical URI.
This is the wrong thread then for that question.
If you had a Ceon URI Mapping canonical URI it would not have index.php in it.
All the best..
Conor
ceon
Ah ... found the issue. And what a trivial issue it was! I've some how managed to miss 2 fairly important looking files from the Files > Includes folder. Not even from the core_rewrites, just from the basic files folder.
Working perfectly now, thankfully! It looked like a great plugin, so I'm glad we now have it running and don't have to change.
Thanks for your support. Much appreciated.
Hi,
I thought it would be something like that.
Glad you're sorted now.
Enjoy the new URIs! :)
All the best..
Conor
ceon
Is there any way to get it to accept the ".html" extension? Currently, when I add this, the link to the product breaks and the cart just goes to the homepage.
I need this to copy a prior SEO URI plugin -- we need the links to products to remain the same.
Many thanks,
PL
Hi,
How to change the rewrite rule to allow extensions like .html is covered in the FAQs.
All the best...
Conor
ceon
Hi, I just instaled your module but it dont seem to work, still getting dynamic. My store running 1.3.9g and I instaslled 3.8.0.
So if some one can help me i would be grateful.
My store adress is www.redhouseshop.com
Im a noob douth:lamo:
Hi,
As a "noob" I guess this answer might be annoying but helpful for you in future as it may help you learn how bets to solve your problems...
Search this thread for the problems you are having and you may find the solution.
If you're still stuck after a day or two, come back and ask again, this time with more info.
Hint: Take care to read about how this module works and also what html_output.php is needed for.
All the best..
Conor
ceon
Thnx on quick reply, and the tip.
Hope i will solove it.:smile:
Man Iam so proud of my self it is working now.
Thnx for not helping, in a good sense.
Btw your module rocx :flex: :clap:
Hi,
Yeah, it probably seems weird but that's exactly what I was hoping would happen.. glad you're sorted and you've got some new skills! :)
Glad you like it. Good luck with the store!
All the best...
Conor
ceon
the code that is under
http://www.zen-cart.com/forum/showth...aster+category
does not help the cPath is still appended have you any idea?
that code is :
/ first, try to get master category id
$category_query = "select p2c.categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = '" . (int)$products_id . "'
and p.products_status = '1'
and p.products_id = p2c.products_id and p.master_categories_id = p2c.categories_id";
// in case the master category is invalid, fall back on getting first product/category association instead
$category_query .= " union distinct select p2c.categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = '" . (int)$products_id . "'
and p.products_status = '1'
and p.products_id = p2c.products_id limit 1";
(additions to original code in red)
But (I'm on 1.3.9) in functions_categories.php
I'v got:
$category_query = "select p.products_id, p.master_categories_id
from " . TABLE_PRODUCTS . " p
where p.products_id = '" . (int)$products_id . "' limit 1";
So tell me how that "fix" is supose to help if "oryginaly" master_categories_id is taken from products table??
Hi Conor
I totally understand this must be a frustration, but please make it idiot proof for me... :hug:
Ive searched the thread as you can tell by the above quotes, Ive read rhe old 'how to' post on resolving, but I too have come up against the same issue as alarmy-e.pl, I cannot find the answer to how to mod the code for 1.3.9.
Sorry to be a plank.
Thanks in advance.
Based on your post, it's not clear (at least to me) what you are still having an issue with. The post that you reference (and I've properly quoted it so they are easier to read) is a pretty straight forward change and has been confirmed by Conor as the solution. This is not an issue with Ceon URI Mapping, but is in fact an issue with a Zen Cart function.
So please clarify what you are having issues with still:
- Did you try making these changes, and they did not work
..
OR
..- Are you unsure how to go about making the changes needed??
hi Divavocals
thankyou for your attention. & apologies for the above format (I'm posting from my phone so I dont the full page one would see on a p.c)
Yes its the fact I cant find the correct code to mod. I have found what I believe to be the correct lines, however as alarmy-e.pl states the code in 1.3.9 is slightly different to that of the code in the solution quoted by DamianTaylor from the earlier version of ZC. So yes I'm having trouble going about making the correct changes to the php file.
Regards
Posted via Mobile Device
The code DamianTaylor quote IS the corrected code so YES it will not be the same as the current 1.3.9 code found in the functions_categories.php file.. You must modify the zen_get_product_path function which is found in the functions_categories.php file. You need you make the query LOOK like the code in the referenced thread. (I've quoted the posted fix) Does that make sense??
Hi,
Sorry but I don't think this is appropriate for this thread. Please move it to another one.
Thanks,
Conor
ceon
Sorry Conor.. I should have included that in my last post..:oops:
Conor is absolutely right.. The "issue" and the "fix" are not related in ANY WAY to this mod.. Any further discussion on this topic should be carried on a new separate thread.. (sorry Conor)
my zc 1.39h
now, i have install a module "news_and_article_manager__optional_sideboxes_2-2"
how to rewrite :
PHP Code:
news
news_archive
news_article
news_comments
especially news_article
Hi,
You will have to manually edit the database, adding a record by hand for each page and each article.
You need to read the section of the documentation "Specifying the current URI Mapping for any other Zen Cart page".
This module is not static URI compatible as it is and needs to be rewritten to be so.
For which someone will have to pay someone I'd imagine.
All the best...
Conor
ceon
Hi,
Ceon URI Mapping 4.0.0 is in the final stages of development (at long last).
I'm going back through this thread to look for previous suggestions for changes, but I thought I'd ask...
..does anyone have any changes they'd like to see in v4.0.0?
This is your LAST CHANCE for suggestions for the new version. So get them in today or tomorrow at the very latest.
All the best...
Conor
ceon
Hi Conor,
I'd like to rewrite my URLs in more descriptive ways. I've got a lot of pages (thousands) to rewrite.
Can you tell me if this module is suitable for my job and is there any potential problem that I should pay attention to? First of all is there a possibility to get damaged URLs or to lost any of them?
Also is rewritting automatic process?
If I decide to install the module would you mind me asking you if I stamble somewhere?
Thanks.
Hi,
I'm afraid that the module as it comes is designed for stores that are just starting or small.. it would take a long time to generate URIs for 1000s of products as the autogeneration is NOT an automatic process. It autogenerates URIs only when you click "Update" in the admin.
If you search this thread you can find out more about how things work.
There is no possibility of "damaged URLs" unless you have products which have the same name. Which you should never have.
All the best...
Conor
ceon
Hi,
Reposting this to keep it the most important post over the next 24 hours...
Ceon URI Mapping 4.0.0 is in the final stages of development (at long last).
I'm going back through this thread to look for previous suggestions for changes, but I thought I'd ask...
..does anyone have any changes they'd like to see in v4.0.0?
This is your LAST CHANCE for suggestions for the new version. So get them in today or tomorrow at the very latest.
All the best...
Conor
ceon
You will have to do them manual one at a time. To have a auto generation for all products at once Conor cannot answer this question here on this support forum as the rules of this forum prohibit the support or discussion of paid modules on the part of the module creator. The particular module you speak of will be a commercial module, and if you want more information on it, you will need to contact Conor via e-mail. (use the contact form on the Ceon website)
Donations:yes:, Donations:yes:, Donations:yes:, I have always seen if you support the creator on the module they are most of the time willing to help you out when you need that extra boost.:bigups:
Lazar,
Conor is right, and there is an upcoming commercial module that will be offered by Ceon to help automate URI generation for existing stores.. As Countrycharm has indicated, Conor cannot answer questions about that mod here as it is a commercial mod, and forum rules prevent Conor from discussing it here.. We rather like Conor, and don't want to see him get in trouble.. So Countrycharm and I like to let people know why he can't answer questions about the URI Mapping mod..
In the meantime Lazar, you can, if you are comfortable with spreadsheet programs and myPHPAdmin, automate URI generation a bit by exporting your product table to a spreadsheet, making the URI changes in the spreadsheet and re-importing your products and new URIs back to your database.. This is exactly how I implemented this mod for a client with an existing store in the past.. (he had HUNDREDS of products)
and before anyone asks me here or PMs me about sharing the spreadsheet I used for this task -- sorry.. I do not have it anymore..:blush:
Hi,
I really need some help from some Zen Cart store owners here.
I need a few people to send me a dump of their server environment variable.
I need to test Ceon URI Mapping v4.0.0 on as many different server types as possible and being able to see some info from other server types will greatly help.
Please could you create a file on your server, such as "servercheck.php"
Make the contents of the files the following:
Then go to http://www.yoursite.com/servercheck.phpPHP Code:
<?php
var_dump($_SERVER);
?>
Please then "View Source" of the output page and send this output to me privately via this link.
Then delete the file you just created from your server.
I really need people who are using IIS or some other webservers to do this as soon as possible please.. otherwise you may find that v4.0.0 breaks on your server.. in whicih case you'lkl have to wait for a fix in 4.0.1 etc.
Please be assured that all information will be kept private..
I simply need this information to see how differently configured servers build their $_SERVER["SCRIPT_FILENAME"], $_SERVER["DOCUMENT_ROOT"], $_SERVER["ORIG_PATH_INFO"] etc. variables.
Thanks for any help, you'll be helping yourself too as if I can get this code working, there will be no need to "exclude" files in future!
All the best...
Conor
ceon
Hi,
Knew the two of you would reply! Hope you're having a nice start to the weekend.
If you don't mind sending me on your info, at least that might "confirm" that the code I've already written for Apache is indeed likely to be sound always.
I have three environments tested so far:
Windoze with Apache using lib_php
Linux with Apache using lib_php
Linux with Apache using FastCGI
What I'd additionally like is:
- Linux with Apache with PHP running as CGI
- IIS with PHP
- Zeus with PHP
If I don't hear back from anyone by the time 4.0.0 is finished I'll just release without testing on these platforms, I'm afraid I can't wait for someone to come forward.
All the best...
Conor
ceon
Do you EVER sleep???:laugh:
Beer in hand.. having a GREAT start to my weekend!!!
I will do ya one better.. I'll send ya files for three different hosting companies that three of my clients use.. Actually come to think of it.. make that four.. Look for an e-mail from me tonight.. (or is it tomorrow already in your neck of the world??:smile:)
Hi,
I'm pretty determined to get these new module versions out once and for all!
That sounds good.. I'll celebrate myself once I've got these new distribution versions out. Keep enjoying yourself in the meantime! ;)
I didn't get that e-mail? Maybe you were enjoying the beers! (Which is good, don't go out of your way.. only send these if you have a bit of spare time!).
For anyone else reading this thread...
I still haven't heard from anyone running these sorts of servers:
- Linux with Apache with PHP running as CGI
- IIS with PHP
- Zeus with PHP
Please help if you can.. it is in your own interests!
All the best...
Conor
ceon
Sorry for the delay.. Apparently Outlook choked last night and none of my inbound/outbound mail was moving.. You should have gotten 4 e-mail almost simultaneously now..
Sent you samples from 4 clients using different hosting companies including
- Netfirms
- GoDaddy
- IX Web Hosting
- BlueHost
Hi,
No problem on the delay.. turns out the software is taking more time to write than I'd hoped anyway!
Thanks very much for that, I'm pretty confident that the software will definitely cope with any variation of Linux+Apache.
Now just to get some feedback from any IIS users out there??
Thanks again DivaVocals. Enjoy the rest of your weekend!
All the best...
Conor
ceon
Hi,
This looks like a great mod (only if I can figure out what I'm not doing right)....Very easy to install and great documentation. Thank you for sharing and spending time working on it.
I've finally created a template and installed this mod a couple of days ago. There were no products in my database. I started entering products today using Easy Populate. In admin->modules->Ceon...config - I have auto generation set up as 'yes'.
However, every time I enter new products, the autogeneration is not working. It still shows a dynamic link...I've been trying to find a solution for the last couple of days and can't seem to find it.
I'm using ZC1.3.9h. Ceon 3.8.0. :frusty:
Great. Thank you.
Hi,
Thanks very much.. is there any way you can remove the e-mail from yourpost?
Just so it doesn't get spammed! :)
Thaks again!
Now just to get some feedback from any IIS users out there??
Enjoy the rest of your weekend!
All the best...
Conor
ceon
I added this module to an existing cart with about 50 products. The installation went smoothly. The configuration is at the default settings. When I edit a category or product, tick the box to have the URI auto-generated for the category or product, the link to the file changes, but no page exists at that location - or no redirect is happening.
I click on the category or product link in the shop, and get a 404, file not found at the new-category/file-name.
I feel like I am missing the connection between the zen cart and .htaccess. My cart didn't have an .htaccess file in the root folder with the index.php file, so I created one, turned on mod rewrite, and added this to the file, because my admin is in zc_admin:
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/zc_admin [NC]
Does the add-on write statements to the .htaccess file as URIs are auto or manually generated? When I installed the add-on, should it have created its own .htaccess file? Am I missing rules that should be added to the .htaccess file to make it work?
I've read everything I can find, and I still must be missing something. Can you shed some light?
Conor has provided a very detail read me file that comes with this module. All you have to do is read it to know that you have to make a .htaccess file and put it in the root of your server.
Make a .htaccess file and put in this information but change the admin folder to the custom name you are using.
Quote:
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/your_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]
Thank you for the quick response. I had read the document several times, but did not realize that I should begin with one of the two example rules for the .htaccess file (store in root or not root), then modify the rule for the renamed admin location. In my case zc_admin.
Does exactly what we need now. :clap:
Hi,
Glad you like the software.
For version 4.0.0 I'm adding an "example rewrite rule for your store" section to the configuration utility so people can copy and paste a rewrite rule into their .htaccess file.. hopefully that will help others avoid the problem you had.
I've tried to make the documentation as easy as possible to follow but the length of this thread shows that I've failed somewhat in that regard.. hopefully I can begin to turn that around with v4.0.0... although it's taking weeks now and still not finished... hopefully soon :|
All the best...
Conor
ceon
No the documentation is the best I have seen on how to install a add on. People just don't read, or half read the documentation. They want it, and want it fast, and they half read how to install it.Quote:
I've tried to make the documentation as easy as possible to follow but the length of this thread shows that I've failed somewhat in that regard..
You have done a great job Conor keep up the good work.:yes:
Hi,
That's very nice of you to say, thanks very much!
I do feel that it could be better.. ideally if I had the time I'd create completely different versions of the documentation for different server setups, so there could be more of a "hold your hand and walk you through things" option for those that struggle to read the documentation as it is.
v4.0.0 is easier to install and from that point always it'll be simple to upgrade so I'm getting somewhere.
Back to programming then... :)
All the best...
Conor
ceon
Not sure what I have missed, but when I click within admin
'modules'...Ceon URI Mapping (SEO) config' I get page not found:blush:
Its wanting to go to 'FILENAME_CEON_URI_MAPPING_CONFIG.php'
Whats missing? Should I have changed some text somewhere to point to the right file??
Thanks
I have checked all files are there and in the right place, three times now...this file is there
admin/includes/extra_datafiles/ceon_uri_mapping_filenames.php
so it can't be that..do i need to do something with the htaccess file??
I've been using Filezilla for FTP and I've never had a problem with this before..
any ideas?? :dontgetit
Thanks
ps the instructions are geat for this module..(have to agree with the person above)...very suprised I missed something..I have plodded slowly through this and so I'm suprised it's not working for me..
Hi,
Is your store's admin called "admin"?
And is the file definitely in the YOUR-ADMIN/includes/extra_datafiles/ folder?
If so, re-upload it.. the ONLY way to get the error message you are having is if the above file is missing.
FTP software often does mess up when uploading so it wouldn't surprise me if that's what has happened.
Hope that helps.
All the best...
Conor
ceon
My Stores admin isn't called admin...just didn't want to put it on the forum..what have I done wrong?
thenameofmyadmin/includes/extra_datafiles/ceon_uri_mapping_filenames.php
Thanks for your quick response :smile:
Hi all,
I have just installed this add-on and have read all the instructions from top to bottom but it seems I am still having problems with the htaccess file, copy of my htaccess log shown below:
I have tried various combinations of the above code but without success. At the moment I have removed the last RewriteRule (i.e. index.php) as when its included I get "Unable to display page". My site is working fine, just can't get the Static URI working! btw the first redirect rule i.e. redirecting non www to www address is working fine. I appreciate any insight of what I could be doing wrong.Code:RewriteEngine On
RewriteCond %{HTTP_HOST} ^nameyourgift.ie$ [NC]
RewriteRule ^(.*)$ http://www.nameyourgift.ie/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/MYADMINFOLDER [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]
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
Thanks
Rebelman
Still not working...I have an htaccess file...should I have added something to this file for this module?
Any help? :dontgetit
Thanks
Why when I click configure within admin does it then go to myadminname/FILENAME_CEON_URI_MAPPING_CONFIG.php
I don't have this file 'FILENAME_CEON_URI_MAPPING_CONFIG.php' and I can't find this file within the module files...
Thanks
Hi,
Yes.. read the section of the docs about rewrite rules and copy and paste an example rewrite rule and modify it as instructed in the documentation.
Told you I needed better docs. :(
All the best...
Conor
ceon
Hi,
Sorry, that looks fine. I don't know what's wrong.
All the best...
Conor
ceon
Hi Conor,
Thanks again for the replies. I think the docs/instructions seem very clear to me. I've installed lots of different modules for my site and for others with little or no problems which is why I'm suprised this isn't working.
I'll check out the htaccess file documentation and let you know :smile:
Thanks
Hi,
You definitely need to add a rewrite rule.
As far as this goes:
That gave me the impression that you hadn't installed a module before. Sorry, I see you're not actually a newbie! ;)Quote:
Why when I click configure within admin does it then go to myadminname/FILENAME_CEON_URI_MAPPING_CONFIG.php
I don't have this file 'FILENAME_CEON_URI_MAPPING_CONFIG.php' and I can't find this file within the module files...
As with any other module, if a define is showing up instead of the correct name, this means that you haven't uploaded the file(s) with the defines.
In this case, the file YOUR-admin/includes/extra_datafiles/ceon_uri_mapping_filenames.php is missing.
I'd guess other files are probably missing as well.
Upload ALL the files again, being careful to upload them to the correct admin folder.
That should fix the mistake you made when uploading originally.. I think you're still seeing problems caused by that.
All the best...
Conor
ceon
Thanks again Conor for your time :bigups:
The file
YOUR-admin/includes/extra_datafiles/ceon_uri_mapping_filenames.php
Is there and I have checked all of the files a few times now but I'll go through it again just incase..
I have added this to the htaccess
replacing adminname with my admin folder name.Code:# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/adminname [NC]
Would this be all I need to add?
I already had this in my htaccess file
I'll go through the whole process again and see what I've missed..Code:Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^ampmgraphics.com [nc]
rewriterule ^(.*)$ http://www.ampmgraphics.com/$1 [r=301,nc]
ErrorDocument 404 /index.php?main_page=page_not_found
DiRectoryindex index.php default.php index.shtml index.html index.htm /index.php
AddHandler server-parsed .shtml
AddHandler server-parsed .html
AddHandler server-parsed .htm
Thanks again...:smile:
Hi,
No problem.
It can't be. Either that or your admin/includes/configure.php file is full of incorrect define values.
[quote=pb4;1041291]I have added this to the htaccess
replacing adminname with my admin folder name.Code:# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/adminname [NC]
Would this be all I need to add?[/quiote]
No! That's only from the section about *modifying the rewrite rule*.. You need to *start* with an example rule first, then apply the above modification. One of the post a few posts back shows the kindof format..
I'll be not be at the computer much for the next 2 days so you may not get a reply from me again until the weekend. (You may but you may not).
Have a nice day.
All the best...
Conor
ceon
:clap: It's sorted...it's gone to the right page...:smile:
I obviously just needed a nights sleep! The file was there but not completelty..I thought I would check the file size and the uploaded file was slightly smaller so it hadn't fully uploaded!
I thought it was strange to not be going when the file showed as being there...like you said...
Many thanks for your patience...and taking the time to help :smile:
Really apprecaited..thank you!
Hi,
Glad to hear that!
I'd probably suggest new FTP software then. FireFTP for Firefox is free and reliable..
Enjoy the new URIs.
All the best...
Conor
ceon
Thanks :smile:
I have the URI mapping within the categories but can't see where to add it for each individual product...
Also when I click EZpages within the admin the page is blank/white?
Any idea why?
Thanks
Hi,
Yes, the fields must not be appearing on the product page because you haven't modified the core files properly. You need to go through that stage of the installation process again (from scratch* - check each and every modified core file.
As for the blank page.. either you didn't modify the ez-pages file properly or your FTP software didn't upload the file properly.
Good luck with getting this sorted.
That's as much as I can do now.. I don't think I can reply again today.
All the best...
Conor
ceon
Ok, will check them...thanks..have a good day :smile:
Hi!
I install the module and is not work :( .
I made al the instructions from the doc folder .. recheck for 10 times.
I reinstal a fresh zencart and templates. Nothing change :(.
The server is linux ...
In my admin site all is work perfect but the links is the same.
Whay !!! Please help !!!
Hi,
No.
Try putting a slash in front of index.php and see if that works. If not you might have to pay someone to help you sort out your server as that rule should work.
All the best...
Conor
ceon
Hi,
The module always works when it is installed properly.
You ahve to go and create the mapping by going into each category/product and clicking "Update".
You probably missed that part of the docs!
Hopefully that's all this is and you'll be sorted once you generate mappings for each category/product.
All the best..
Conor
ceon
I've sorted out the EZ pages issue and they work fine..(I downloaded the Filezilla ftp addon :smile:)
..now I can add mapping to only a few of my products within categoires but I can't add it to the rest...:dontgetit
Any idea why? Very strange..I've uploaded the files again..
Has anyone already written the code to integrate with the SitemapXML mod? Google Webmaster Tools indexed some of my URLs in the sitemap, but it has now giving an error that it has stopped following my URLs because of the 301 redirects. So I need to create the sitemap with the static URLs.
I would imagine it's just a matter of doing some select queries on the sitemapxml tables. I'm just rusty and thought I'd check here before I get into it.