Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
lsullivan
But these files are not part of ZC 1.3.9. I don't have them in my init_includes/overrides directory.
The clue is in the name.. "overrides".
The overrides directory is where files from the non-overrides directory are place to override the files.
Quote:
Originally Posted by
lsullivan
I am on my second . I have the exact same problem. What did you so?
Once you've uploaded all the files go to Modules - Ceon URI Mapping Config
That should create the database tables.
If it doesn't your permissions are messed up and you'll need someone to give you CREATE TABLE permissions.
All the best...
Conor
ceon
First time install, "includes/" links don't work relative to SEO friendly URI
I'm a first-time user of 3.8.0 and have a basic question about the stylesheet.css link. I've googled and searched but this thread is a monster and I can't find any help yet.
The old style URLs were e.g. http://www.premierrange.co.uk/index.php?main_page=blah. So every file is fetched relative to /index.php. I have a bunch of links that just say "lib/foo" and "images/blah" and, relative to /, they work.
Now, Ceon SEO is using the URL e.g. http://www.premierrange.co.uk/catego...at-two/product. This means every resource fetched is now relative to /category-one/subcat-two, and all my "lib/" and "images/" links don't work. Do I understand this correctly, or should these work somehow and I've missed something?
Moving on from this standpoint...
A basic product page doesn't render for me, because stylesheet.css isn't loaded. html_header.php contains a loop with this:
Code:
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
So, that generates output like:
Code:
<link rel="stylesheet" type="text/css" href="includes/templates/premierrange/css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/premierrange/css/stylesheet_css_buttons.css" />
These get 404 Not Found responses. This is because, as in the out-of-the-box zen cart, I have these in configure.php:
Code:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
[cut]
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
As before, a link of "includes/" doesn't work, relative to the seo friendly URI I'm using.
Is this wrong?
Should I prepend a "/" to the DIR_WS_TEMPLATES variable? And any others? I'm just approaching this problem and wondering how many tweaks I'll have to make, and what the best approach is.
Cheers!
Nick
Re: First time install, "includes/" links don't work relative to SEO friendly URI
Hi Nick,
I didn't reply to your e-mail yet as I've been working on the software all day but I see you couldn't wait. :)
Quote:
Originally Posted by
neekfenwick
I'm a first-time user of 3.8.0 and have a basic question about the stylesheet.css link.
You are missing the base href tag from your html_header.php file. Your custom template must have messed that up.
Put the tag back in, making sure it's as near to the top of the <head> as possible and all links will be relative to that base instead of teh static URI, letting CSS and JS files load.
All the best..
Conor
ceon
Re: First time install, "includes/" links don't work relative to SEO friendly URI
Quote:
Originally Posted by
conor
I didn't reply to your e-mail yet as I've been working on the software all day but I see you couldn't wait. :)
My boss can't wait. He drives me up the wall. He has this SEO expert breathing down our necks wanting payment and Boss won't pay him until all his recommendations are implemented, which means we need URI mappings like yesterday.
Quote:
Originally Posted by
conor
You are missing the base href tag from your html_header.php file. Your custom template must have messed that up.
Good call. I took the <base> tag out years ago, because IE6 simply failed with it in. Took me some annoying debugging to find that out.
It's fixed the problem :)
Now my custom zen_image thumbnailer solution has stopped working.. but that's another story.. ceon mods didn't affect zen_image() so let me dig around and see what's going on. Oh, for a decent PHP debugger :( XDebug doesn't want to connect for me so I'm reduced to error_log and echo. Pity the fool.
Nick
Re: Ceon URI Mapping (SEO)
Hi Conor,
I can't see the module in my admin page. I read all the pages in this support forum and I totally understand that I missed something during installation. I have double checked my files many times, but I know that I need to go through again because there must be an issue somewhere.
Since many people have had this issue could I have some tips on the most important files to focus on?
Also, you mentioned create database table permissions. I have added other mods that created tables, such as free dangling carrot. I know that I have permission to create database tables. But I can't remember if I needed to make an adjustment to the permissions in myPHPadmin, or if the tables were created automatically. If you have any tips that would be great.
Thanks,
Lindsay
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
lsullivan
Hi Conor,
I can't see the module in my admin page. I read all the pages in this support forum and I totally understand that I missed something during installation. I have double checked my files many times, but I know that I need to go through again because there must be an issue somewhere.
Since many people have had this issue could I have some tips on the most important files to focus on?
Also, you mentioned create database table permissions. I have added other mods that created tables, such as free dangling carrot. I know that I have permission to create database tables. But I can't remember if I needed to make an adjustment to the permissions in myPHPadmin, or if the tables were created automatically. If you have any tips that would be great.
Thanks,
Lindsay
Quote:
I can't see the module in my admin page. I read all the pages in this support forum and I totally understand that I missed something during installation. I have double checked my files many times, but I know that I need to go through again because there must be an issue somewhere.
Go back and make sure if you are using a custom folder name for admin and your template, that you rename Ceon URI Mapping admin, and the template_default to the same name that you are using. A lot of people miss these steps for some odd reason. Make sure you do the same for the modified_core_files also.
Re: Ceon URI Mapping (SEO)
Ok, I am really stuck... I'm pretty sure i've put everthing in the correct folders, and executed the rewrite correctly, but my URL's aren't showing in the new format??
Does anyone have any ideas on what this can be, i've changed a couple to test but they are not showing correctly?
Thanks:unsure:
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
lindsey80
Ok, I am really stuck... I'm pretty sure i've put everthing in the correct folders, and executed the rewrite correctly, but my URL's aren't showing in the new format??
Does anyone have any ideas on what this can be, i've changed a couple to test but they are not showing correctly?
To be honest it only ever turns out to be user error when installing.
I can take a quick look for you, send me FTP and admin details at this address.
Yes, the baby picture has worked. ;)
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
countrycharm
Go back and make sure if you are using a custom folder name for admin and your template, that you rename Ceon URI Mapping admin, and the template_default to the same name that you are using. A lot of people miss these steps for some odd reason. Make sure you do the same for the modified_core_files also.
Thank you for the tip, but that is not a problem for me.
Thanks,
Lindsay
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
lindsey80
Ok, I am really stuck... I'm pretty sure i've put everthing in the correct folders, and executed the rewrite correctly, but my URL's aren't showing in the new format??
Just installing and configuring the add-on doesn't set up any new URI's. At least with 3.8.0, you then have to visit the configuration page at least once (Modules->CEON URI Mapping), see that it has "Offer Auto-generation of URIs for Categories, Products, Manufacturers and EZ-Pages" checked, then just Edit a Category or Product as normal and click Update.
When editing, you should see a blank URI Mapping textbox at the bottom of the page, and when you Preview you should see the auto-generated URI Mapping at the bottom. After that the mapping is stored in the database and your store should start using it.
This is mentioned in the docs "configuration" page as the first point: "This module DOES NOT automatically add mappings for EXISTING Categories/Products/Manufacturers/EZ-Pages!". I suggest you re-read that :)