Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
numinix
Specifically, we need this module to not rewrite the checkout pages. It is causing FEC a lot of problems which uses a lot of redirects (using the zen cart functions).
Understood, and maybe I'm missing something here.. I don't remember this module generating URI's for the checkout pages. If I recall correctly, if I wanted the checkout pages to be re-written I had to explicitly add those URI's to the DB manually.
For the sites I installed this module on I recall that only the product pages and EZ-Pages generated a URI, and other pages required me to explicitly create the URI in the DB.. Perhaps I'll install this on my test store to re-verify this. I've only been testing FEC so I don't know yet how it interacts with Ceon URI yet..
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
numinix
Specifically, we need this module to not rewrite the checkout pages. It is causing FEC a lot of problems which uses a lot of redirects (using the zen cart functions).
The module doesn't run for the checkout pages.
However, it does run for pages that use application_top.php
You can add exclusions for any file including application_top.php, EXCLUDING any query string parameters.
E.g. you can exclude
/module_folder/module_file.php
But NOT:
/index.php?main_page=some_module_files_page
If you are using the second format, for any files including application_top.php, you need to rewrite FEC to not use the same URI format to load files as Zen Cart, but to use custom file names.
It makes no sense to have the same format as Zen Cart if the file isn't actually a Zen Cart page. This is how all other Zen Cart software I've encountered integrates the Zen Cart system into their scripts (e.g like PayPal callback script etc.).
Hope that helps you fix your module's incompatibilities with Ceon URI Mapping.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
numinix
So how would I add a dynamically created page from being rewritten? For example, index.php?main_page=checkout?
The module doesn't interfere with URIs such as index.php?main_page=checkout as they have no mappings built in.
However, if you are misusing Zen Cart's URI format and any files use the above format but actually load in application_top.php then they'll instigate the Ceon URI Mapping system.
Quote:
Originally Posted by
numinix
Could there not be a field in the configuration for specifying page names?
Maybe but I'm too busy to add functionality like that just to be compatible with Numinix modules. I'll consider it for the future.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
DivaVocals
Understood, and maybe I'm missing something here.. I don't remember this module generating URI's for the checkout pages. If I recall correctly, if I wanted the checkout pages to be re-written I had to explicitly add those URI's to the DB manually.
That's right.. any URI which has "index.php?main_page=" in it is NOT mapped by Ceon URI Mapping, unless there is a manually added record in the database or the main page is one of the standard mapped pages (index/category page, product info page, EZ-page or manufacturer page).
Quote:
Originally Posted by
DivaVocals
For the sites I installed this module on I recall that only the product pages and EZ-Pages generated a URI, and other pages required me to explicitly create the URI in the DB.. Perhaps I'll install this on my test store to re-verify this. I've only been testing FEC so I don't know yet how it interacts with Ceon URI yet..
You are right DivaVocals, there are no mappings for any checkout pages.
I'm also unfamiliar with how FEC works exactly and why it doesn't seem to work like other Zen Cart software.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Thanks for confirming..
I remember this becauseI had issues with SSU because it re-wrote EVERYTHING, and this caused lots of issue for the site I was working on.. Because SSU re-wrote EVERYTHING, other mods I had installed stopped working or stopped working correctly.. I was having a devil of a time trying to get SSU to stop creating the undesired behavior I was seeing..
A friend suggested that I try this mod instead, and the MINUTE I installed it, the checkout and other pages began working correctly and I only had to add an exlcusion so that WOZ behaved..
What I have always liked about this module is that unlike other SEO mods I can control which pages are re-written and which are not.. Even on a product by product or category by category basis, and I can add other pages as I see fit, and exclude mods (like WOZ) if needed..
I just took a look at the other sites I've used this mod on, and I did indeed have to explicitly add URIs for the checkout pages, contact us, etc..
Quote:
Originally Posted by
conor
Hi,
That's right.. any URI which has "index.php?main_page=" in it is NOT mapped by Ceon URI Mapping, unless there is a manually added record in the database or the main page is one of the standard mapped pages (index/category page, product info page, EZ-page or manufacturer page).
You are right DivaVocals, there are no mappings for any checkout pages.
I'm also unfamiliar with how FEC works exactly and why it doesn't seem to work like other Zen Cart software.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
Thanks for confirming..
I remember this becauseI had issues with SSU because it re-wrote EVERYTHING, and this caused lots of issue for the site I was working on.. Because SSU re-wrote EVERYTHING, other mods I had installed stopped working or stopped working correctly.. I was having a devil of a time trying to get SSU to stop creating the undesired behavior I was seeing..
A friend suggested that I try this mod instead, and the MINUTE I installed it, the checkout and other pages began working correctly and I only had to add an exlcusion so that WOZ behaved..
What I have always liked about this module is that unlike other SEO mods I can control which pages are re-written and which are not.. Even on a product by product or category by category basis, and I can add other pages as I see fit, and exclude mods (like WOZ) if needed..
I just took a look at the other sites I've used this mod on, and I did indeed have to explicitly add URIs for the checkout pages, contact us, etc..
Simple SEO URLs has the ability to exclude pages. It also auto creates the URLs but still gives you control over how to structure a URL using the Alias feature.
Re: Ceon URI Mapping (SEO)
I have a problem with CEON URI Mapping in Internet Explorer. When I am on the second and lower level categories such as category / subcategories / sub-subcategories, I do not see images of the goods. My htaccess overwrites the images directory. In FF and Opera everything works smoothly. In Internet Explorer, the image src changes for sub-category folder. Example:
My categories:
- Sport
[_]Football
[___]Jersey <- Browse Categories
[____]BLUE
In FF and Opera src of image looks like http://domain.com/images/xxx.jpg <- correct link to the pictures.
In Internet Explorer, an error occurs, the link looks like: http://domain.com/football/images/xxx.jpg
When I view the category of "blue" in the link is next subcategories http://domain.com/football/jersey/images/xxx.jpg
What should I do? Why the error occurs only in IE?
My htaccess file:
(Sorry for my english)
Code:
Options +FollowSymLinks
RewriteEngine On
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-ezp-([0-9]+).html$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
RewriteCond %{HTTP_HOST} ^www.domain.com
RewriteRule (.*) http://domain.com/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# 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]
Thanks for any advice.
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
numinix
Simple SEO URLs has the ability to exclude pages. It also auto creates the URLs but still gives you control over how to structure a URL using the Alias feature.
Numinix, if you are just here to complain please start a new thread. This is a support thread for Ceon URI Mapping.
I don't go onto the FEC thread and moan about all the problems that software has/creates, please show us the same courtesy.
Quote:
Originally Posted by
DivaVocals
Gentlemen this weekend I am going to try installing BOTH of these mods on a vanilla test store.. I will report back what I find out if you are interested.. Perhaps there is s happy middle ground to be had here..
That's very good of you DivaVocals, as always you are so willing to give your time. Unfortunately I have don't have any more time to give, I already spend too much time here. If you do find a way to cater for whatever incompatibilities FEC creates with Ceon URI Mapping, please do post them here for others' knowledge.
In the meantime I have to finish the work I'm doing on the new version of the software.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Zmaziuu,
First, remove the Ultimate SEO rules, you don't need them anymore.
Your site should not use any relative paths for images.
Check that you have a base href tag in your html_header.php file, and if that isn't the source of your problem, you'll have to check the define for the path to your images directory in configure.php.
Finally, if that isn't it either, you'll have to fix your template files to not use relative paths but full paths.
All the best..
Conor
ceon