New Zenner
- Join Date:
- Jul 2010
- Posts:
- 9
- Plugin Contributions:
- 0
Ceon URI Mapping (SEO)
I do not understand much of "Setting up a Rewrite Rule".
I've made a .htaccess file with rules from the examples. Correct?
What to do with the file?
Views: 472,307
New Zenner
I do not understand much of "Setting up a Rewrite Rule".
I've made a .htaccess file with rules from the examples. Correct?
What to do with the file?
Totally Zenned
cecsy:
I do not understand much of "Setting up a Rewrite Rule".
I've made a .htaccess file with rules from the examples. Correct?
What to do with the file?The readme that comes with this module really does do an EXCELLENT job of explaining EVERYTHING you need to do to configure/install this module.. Did you read the install instructions which explain EXACTLY where you should be placing your .htaccess file?? If you read the readme and still have questions, can you be a little more specific about what you are unsure of???
Passed
Hi,
cecsy:
I do not understand much of "Setting up a Rewrite Rule".
I've made a .htaccess file with rules from the examples. Correct?
What to do with the file?
As the instructions say, upload it to your store. Either upload it to the main site's directory or the store's directory (if different), taking care to take into account which folder you've created the htaccess file for (this information is also in the section you've mentioned).
If you're still having trouble get in contact with me via this address, with FTP details for your site.
All the best..
Conor
ceon
Totally Zenned
OFF TOPIC POST:laugh:
Hi Conor!!!! Long time no speak to.. How the heck are ya!!???:hug:
conor:
Hi,
As the instructions say, upload it to your store. Either upload it to the main site's directory or the store's directory (if different), taking care to take into account which folder you've created the htaccess file for (this information is also in the section you've mentioned).
If you're still having trouble get in contact with me via this address, with FTP details for your site.
All the best..
Conor
ceon
Totally Zenned
Hi!
I'm having some issues with this module. It's working, in that when I click on a link, it uses the new url, BUT, it's not being written into the source before clicking the link. For example, when I hover over a link, in the bar at the bottom of the browser, it shows the index.php?main_page=index&cPath=1 link instead of the rewritten link.
I've checked that all files were uploaded. Perhaps you can give some hints on where to look. My .htaccess is below:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/newstore/
RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$
RewriteCond %{REQUEST_URI} !^/newstore/admin
RewriteCond %{REQUEST_URI} !^/newstore/editors
RewriteCond %{REQUEST_URI} !/cpanel
RewriteCond %{REQUEST_URI} !/frontend
RewriteRule .* index.php?%{QUERY_STRING} [L]
Passed
Hi,
jettrue:
when I click on a link, it uses the new url, BUT, it's not being written into the source before clicking the link.
I'm definitely going to make this into a new FAQ and maybe even have the software check for missing code!
You have forgotten to upload the modified core file:
includes/functions/html_output.php
Merge/upload it and everything should be fine.
Make sure you have also merged/uploaded all other files, just to be sure.
All the best..
Conor
ceon
Zen Follower
Conor,
I am just now experimenting with ceon_uri_mapping_3.8.0, I would like to let you know that it seems to be very useful and I would like to thank you for all of your efforts.
I have a quick question.
I am rewriting my site (actually starting from scratch and reinstalling only the add ons I really want).
I have SSU links that I am redirecting as being historical links.
It seems that either format in the Ceon mapping table works. I think from what I have read it should be the second choice, but I was wanting to hear it from you.
Either way the link redirects correctly.
'/old url', 1, 0, 'product_info', '', 26076, '', '301', '2010-11-08 09:05:23'
'/old url', 1, 0, 'product_info', NULL, NULL, 'address of alternate url', '301', '2010-11-08 09:05:23'
I pulled this as sql (and changed the url's) just so it would be easier, ignore the unnecessary syntax please.
Could you advise if it makes any difference if I use the associated_db_id vs the alternate_uri for a historical redirect?
Using the associated_db_id is easier, if there is no reason it is incorrect.
Also on a different matter does it matter if the (NULL) is actually showing, or if it is just blank. Is there ever a reason the mapping will work incorrectly if it does not actually say null?
Thanks for your time.
SP
Totally Zenned
In regards to using CEON URI Mapping Mod and Ajax image swapper.
This can be done by adding these files in the exclusion area of the Ceon URI Mapping Mod in the zen cart admin area under Modules section.
/AJAX_servers/AJAX_image_swapper_server.php,
/youradminarea/image_uploader.php,
/youradminarea/AJAX_servers/AJAX_image_swapper_server.php,
/youradminarea/AJAX_image_swapper.php
Passed
Hi,
member:
I am just now experimenting with ceon_uri_mapping_3.8.0, I would like to let you know that it seems to be very useful and I would like to thank you for all of your efforts.
I'm glad you like it! Thanks for taking the time to say so, not many do! :)
member:
It seems that either format in the Ceon mapping table works. I think from what I have read it should be the second choice, but I was wanting to hear it from you.
Best to put it this way.. I use the first format myself. I never use the alternate URI functionality. Since the first format represents "historical URIs" for the actual product, it is technically the "correct" method to use. The second format is simply a redirect.
member:
Also on a different matter does it matter if the (NULL) is actually showing, or if it is just blank. Is there ever a reason the mapping will work incorrectly if it does not actually say null?
I'd highly advise using NULL instead of ''.. the software performs its checks against NULL, not against ''.
The only reason you haven't seen any problems (and won't in the future with your current methods to be honest) is because the software gives priority to checks against product/category/manufacturer/ez-page URIs so no checks against are made against NULL until they fail. After that, the presence of '' instead of NULL would cause the software not to match the URI you were trying to match!
All the best..
Conor
ceon
Zen Follower
conor:
I'd highly advise using NULL instead of ''..
ceon
I am thinking I can do something similar to this:
UPDATE ceon_uri_mappings SET query_string_parameters='(NULL)' WHERE query_string_parameters=''
Does that sound ok? Could you tell me what empty fields should be NULL?
Would it only be query_string_parameters and alternate_uri that I should change to NULL? Sorry to be so much trouble!
Thanks
SP
Passed
Hi,
member:
I am thinking I can do something similar to this:
UPDATE
ceon_uri_mappingsSETquery_string_parameters='(NULL)' WHEREquery_string_parameters=''Does that sound ok? Could you tell me what empty fields should be NULL?
ALL empty fields should be NULL.
The above won't work. What you need is:
UPDATE `ceon_uri_mappings` SET `query_string_parameters`=NULL WHERE `query_string_parameters`='';
All the best..
Conor
ceon
Zen Follower
Hi,
I've just been ripped off by the magic seo ##############s so decided to come to you instead and it looks like just the thing I'm after.
One question, what do I add to the .htaccess file to exclude a particular zen page:
/index.php?main_page=quick_checkout
? I've got Jeff's AJAX checkout mod installed and it's all based around that same page which seems to lose all styling when I enable the seo mod.
Thanks,
Richard
Zen Follower
Thanks, my way just looks like null. Your way works great. I am changing both fields so they will be correct.
Thank you again for your help.
SP
Passed
Hi Richard,
rpain:
One question, what do I add to the .htaccess file to exclude a particular zen page:
You shouldn't exclude any Zen Cart pages from the mapping using htaccess rules.
rpain:
I've got Jeff's AJAX checkout mod installed and it's all based around that same page which seems to lose all styling when I enable the seo mod.
That means that this module isn't built to work with static URIs.. it must be using relative URIs. Change all of its link generation functionality (and links to CSS/JS files) to use full static paths instead of relative paths and it will then be compatible with your new static-URI based site! :)
E.g. this is wrong:
includes/templates/css/my_css_file.css
This is right:
/includes/templates/css/my_css_file.css
All the best..
Conor
ceon
New Zenner
I have just installed this mod and I am going through the config stuff and making sure that I have all of the excluded files that I need.
I have scanned the implementation looking for the inclusion of application_top.php and I have found these file and wondered if I should include them in the exclusion list.
/zakz/shop/extras/ipn_test.php
/zakz/shop/extras/ipn_test_return.php
/zakz/shop/extras/nochex_apc_test.php
/zakz/shop/extras/nochex_apc_test_return.php
/zakz/shop/googlecheckout/responsehandler.php
/zakz/shop/googlecheckout/shipping_generator/shipping_method_generator.php
/zakz/shop/googlecheckout/shipping_metrics/shipping_metrics_commandline.php
/zakz/shop/googlefroogle.php
Thanks
Passed
Hi Tony,
Hope you like the software (you didn't say!).
TonyBunney:
I have scanned the implementation looking for the inclusion of application_top.php and I have found these file and wondered if I should include them in the exclusion list.
TonyBunney:
/zakz/shop/extras/ipn_test.php
/zakz/shop/extras/ipn_test_return.php
/zakz/shop/extras/nochex_apc_test.php
/zakz/shop/extras/nochex_apc_test_return.php
These are extra "test" files, so unless you are using them you don't need to add exclusions for them.
TonyBunney:
/zakz/shop/googlecheckout/responsehandler.php
/zakz/shop/googlecheckout/shipping_generator/shipping_method_generator.php
/zakz/shop/googlecheckout/shipping_metrics/shipping_metrics_commandline.php
/zakz/shop/googlefroogle.php
These you do need to add exclusions for, but unless your shop is in a subdirectory of "zakz" (i.e. http://www.yourshop.com/zakz/shop/" then you shouldn't have the "zakz" at the start.
All the best..
Conor
ceon
New Zenner
Thanks Conor. I do like the look of the software as it allows me to use fixed urls as opposed to using the categories/products name which my client keeps on changing.
My clients is investing in a SEO campaign which obviously need to reference these fixed optimised URLS, so this package is just what I was looking for.
I am just about to create the .htacces file and will be testing the software on my test site (which is why the urls I sent you started with /zakz/ as my test site is used for more than one live site)
New Zenner
Actually, while you ore on-line maybe you could confirm what I should have in my htaccess file for both my live site and my test site. Should I PM you or give the details in the forum.
Passed
Hi,
TonyBunney:
Thanks Conor. I do like the look of the software as it allows me to use fixed urls as opposed to using the categories/products name which my client keeps on changing.
My clients is investing in a SEO campaign which obviously need to reference these fixed optimised URLS, so this package is just what I was looking for.
Glad to hear it! ;)
TonyBunney:
I am just about to create the .htacces file and will be testing the software on my test site (which is why the urls I sent you started with /zakz/ as my test site is used for more than one live site)
It is highly recommended NOT to use a folder for a test site when you are building a site that uses static URIs.
You cannot simply move a test site from a subfolder to the root folder when using static URIs, the URIs will all be broken.
You should only ever set up test sites using a test subdomain. E.g. test.thedomain.com instead of https://www.thedomain.com
then the only thing that will be different will be the configure files, the .htaccess files and all the URIs will be the same.
This is the **only **professional strategy for web development these days. :)
All the best..
Conor
ceon
New Zenner
Thanks Conor. I will look into switching to test domains in the future as I have a number of new clients coming on board.
Regards
Tony
Fields marked required must be completed.
Tell staff why this post should be reviewed.