Zen Follower
- Join Date:
- Jan 2008
- Posts:
- 173
- Plugin Contributions:
- 0
Ceon URI Mapping (SEO)
]PRIMARY_SECTIONTITLETERTIARY_SECTIONSITE_TAGLINE
I am getting this added to the end of each page title, not the url. Where did I mess up
Thanks
Views: 472,285
Zen Follower
]PRIMARY_SECTIONTITLETERTIARY_SECTIONSITE_TAGLINE
I am getting this added to the end of each page title, not the url. Where did I mess up
Thanks
Zen Follower
This is an easy question, and I tried to find it in this thread but couldn't.
I think my install was real clean -- including careful merging with some files that had been modified by other mods. The most challenging of those was the Multi-language-for-EZ-pages (older ZC) code to merge with the newer CEON code.
Anyway, everything went really well and I'm beginning to use the CEON Config screen in Admin, but it splays out waayyy to the right, and I have to scroll to about half of the screen. Is this by design? Or did I lose a table tag or something while doing all that merging? Thanks for any insight ...
Zen Follower
RE: width of fieldset container on Config screen in Admin
ahhh ... the width of Config screen in Admin is fine in Firefox, but splays waayy out to the right in IE browser. I'll have to add a width somewhere in ceon_uri_mapping_config.php to keep it over to the left in IE.
Zen Follower
RE: width of fieldset container on Config screen in Admin
Well this is pretty weird. IE8 won't even pay attention to full table tags, with a width of 960px, wrapped around the form that is created on about line 271 of ceon_uri_mapping_config.php. FF renders the form with the browser screen width to begin with, and also pays attention to table width.
New Zenner
Hi I have just installed this module. I can get to my store website but i could not get to the admin console. I don't understand why.
I am using ZC 1.3.9g.
i copied everything under files, replaced everything under modified_core_files\1.3.9d (since i did not modify anything) and copied everything under templates to my default template.
I have renamed the admin folder to my admin folder name.
Any idea what i did wrong?
Please help...
I tried both with .htaccess and without but no avail on both attempts.
here is my .htaccesss
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/beautynets.com/ [NC]
RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]
RewriteCond %{REQUEST_URI} !^/beautynets.com/admin* [NC]
RewriteCond %{REQUEST_URI} !^/beautynets.com/editors [NC]
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
RewriteRule .* /beautynets.com/index.php?%{QUERY_STRING} [L]
Thanks
Andreas
New Zenner
To add to my previous post.
I found error in the log file:
[08-Jan-2011 21:50:37] PHP Warning: require_once(/home/content/s/e/w/sewicob/html/ecommerce/adminBeautyincludes/classes/class.String.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/content/s/e/w/sewicob/html/ecommerce/adminBeauty/includes/functions/extra_functions/ceon_uri_mapping.php on line 21
[08-Jan-2011 21:50:37] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/content/s/e/w/sewicob/html/ecommerce/adminBeautyincludes/classes/class.String.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/s/e/w/sewicob/html/ecommerce/adminBeauty/includes/functions/extra_functions/ceon_uri_mapping.php on line 21
Thanks
Zen Follower
I would check how you named all the folders, i.e., directories. From your log file, there are folders that may not exist --
adminBeautyincludes
?? are these supposed to be named to be part of the path adminBeauty/includes
New Zenner
Configuration error.
missing '/' on DIR_FS_ADMIN from configure.php
fiuuhh... i was having heart attack :D
Thanks
New Zenner
Thanks Finlander
Another question. sorry for filling up the forum but i don't have a clue regarding .htaccess
i am using the .htaccess defined in the documentation > configuration step 3.
I have "define('DIR_WS_CATALOG', '/');" so i tried using the 1st htaccess but it did not work (i could not get to the site at all - The page could not be found). Then i tried using the 2nd example of htaccess, i was able to access my website and obviously my admin site.
So i made modification to one of the category and try to access directly but i got "page could not be found again".
here is my htaccess:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/beautynets.com/ [NC]
RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]
RewriteCond %{REQUEST_URI} !^/beautynets.com/admin* [NC]
RewriteCond %{REQUEST_URI} !^/beautynets.com/editors [NC]
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
RewriteRule .* /beautynets.com/index.php?%{QUERY_STRING} [L]
Please help.
Thanks
Andreas
Zen Follower
please give me the name of your site and I will look at the rewrite conditions for you.
-- never mind - I have it now .. give me a minute.
Zen Follower
Try the code below in your .htaccess file that is in the root of your store directories (this is probably the .htaccess that you have been trying to fix).
I am making a couple of assumptions -
your admin directory is now named 'adminBeauty' (not the Zen Cart default 'admin'). You likely would have renamed your admin directory when you installed ZC, and if you have been using it just fine, then simply check to see what it is named, and if different from 'adminBeauty', then substitute for what you have it named. There is no path here, just the name of the folder/directory.
your site is served out of a virtual root directory of your host called 'ecommerce' that would be similar to how sites are served out of the more common public_html virtual root directory. Don't worry about this, unless the code below doesn't work.
You don't have other mod_rewrite rules in your .htaccess that are conflicting/interfering with these new rewrite rules. If so, things could get messy, but most people would not already have put other mod_rewrites in .htaccess at this point.
RewriteEngine On
RewriteBase /Do not apply following rules to admin area of Zen Cart.
RewriteRule ^(adminBeauty) - [L,S=1]
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} !^/adminBeauty [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]
New Zenner
hi coner, could you tell me when and if you are are updating ceon mapping to remap existing urls automatically, without going into each product and updating each product manually.
thanks champo
Zen Follower
hi coner, could you tell me when and if you are are updating ceon mapping to remap existing urls automatically, without going into each product and updating each product manually.
http://dev.ceon.net/web/zen-cart/uri-mappings-manager
It looks to still be in development..
Passed
Hi,
makalele33:
the htacess file is inside the zen cart folder named shop..do is have to be there or outside on the root before the zen cart folder?
That's the right place.
Sorry, but it sounds like there's something up on your site.. either a conflicting rewrite rule in a .htaccess file in your root folder or your server is different.
Is your webserver Apache or IIS?
You may have to pay a developer to debug things for you.
All the best...
Conor
ceon
Passed
Hi,
finlander:
ahhh ... the width of Config screen in Admin is fine in Firefox, but splays waayy out to the right in IE browser. I'll have to add a width somewhere in ceon_uri_mapping_config.php to keep it over to the left in IE.
The software is fine with both Firefox and IE8.. I have seen this problem you mention of overly wide rendering before.. it was due to custom CSS used by the site. On a standard Zen Cart installation the config page fits in the browser window.
You need to fix the CSS on your admin side.
All the best..
Conor
ceon
Passed
Hi Andreas,
frisco_aw:
Hi I have just installed this module. I can get to my store website but i could not get to the admin console. I don't understand why.
Your problem is nothing to do with the .htaccess file. You have uploaded the admin files to the wrong folder!
You have probably uploaded the admin files to a folder called "admin" but your site doesn't use a folder called "admin". A silly but easy mistake to make!
Re-start the installation from scratch, following each step carefully, and you'll get the software installed fine. :)
All the best...
Conor
ceon
Passed
Hi Andreas,
conor:
Your problem is nothing to do with the .htaccess file. You have uploaded the admin files to the wrong folder!
Okay, I was too early with that one.. seems you had just got the wrong path to your admin folder in your configure.php file and have fixed that now.
Why does your .htaccess file have a domain name in the paths?
You should ONLY use Ceon URI Mapping for a single domain on a site, it should not be used for a test site on another domain.
If you have put the store in the root folder for your domain then you should not have
RewriteCond %{REQUEST_URI} ^/beautynets.com/ [NC]
You should be using the first example rewrite rule.
If that doesn't work then you need to get a developer to help you get rewrite rules working on your site.
All the best...
Conor
ceon
Zen Follower
Originally Posted by finlander
ahhh ... the width of Config screen in Admin is fine in Firefox, but splays waayy out to the right in IE browser. I'll have to add a width somewhere in ceon_uri_mapping_config.php to keep it over to the left in IE.The software is fine with both Firefox and IE8.. I have seen this problem you mention of overly wide rendering before.. it was due to custom CSS used by the site. On a standard Zen Cart installation the config page fits in the browser window.
You need to fix the CSS on your admin side.
Conor
Conor, thanks for your reply. That makes sense, 'cept the admin stylesheet has never been altered .. I even checked all the install packages for all modules I've installed, and none have altered the stylesheet. Also, in Firebug, there is nothing interesting to note anywhere in the styles for the page.
One clue might be that IE8 won't let (or appears that it won't let) the 'standard_excluded_files' list (that is called from an array) word wrap, no matter what I do with the page's styles .. I set the width for the entire page, body, all tables, all fieldsets, everything to 960px, and all elements conform to that except that 'standard_excluded_files' list pushes (or appears to push) the second fieldset form to the right, as though the list insists on being on one line, despite the forced widths of literally everything on the page. Firefox does fine .. that list wraps just fine in FF.
Too weird, and I've wasted too much time on it already. I can still use the controls just fine and I should start using FF more often anyway!
New Zenner
Finlander.
Thanks a lot for your htaccess solutions. it works like a charm. You rock. :clap::bigups:
Conor.
Thanks for your tips as well.
Andreas
Zen Follower
You're welcome. It looks as though you have begun to edit the existing products on your site to trigger the URI mapping. Glad you've got it working.
Fields marked required must be completed.
Tell staff why this post should be reviewed.