Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping (SEO)

Ceon URI Mapping (SEO)

Locked

Views: 472,307

Results 2,081 to 2,100 of 2,913
This thread is locked. New replies are disabled.
6 Nov 2010, 5:06 PM
#2081
cecsy avatar

cecsy

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?

6 Nov 2010, 5:20 PM
#2082
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

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???

6 Nov 2010, 5:22 PM
#2083
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

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

6 Nov 2010, 5:23 PM
#2084
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

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

7 Nov 2010, 9:01 PM
#2085
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Ceon URI Mapping (SEO)

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

ONLY rewrite URIs beginning with /newstore/

RewriteCond %{REQUEST_URI} ^/newstore/

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/newstore/admin

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/newstore/editors

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel
RewriteCond %{REQUEST_URI} !/frontend

Handle all other URIs using Zen Cart (index.php)

RewriteRule .* index.php?%{QUERY_STRING} [L]

8 Nov 2010, 1:54 PM
#2086
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

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

9 Nov 2010, 9:35 PM
#2087
member avatar

member

Zen Follower

Join Date:
Dec 2004
Posts:
102
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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

10 Nov 2010, 8:00 AM
#2088
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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

10 Nov 2010, 8:20 AM
#2089
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

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

10 Nov 2010, 8:54 PM
#2090
member avatar

member

Zen Follower

Join Date:
Dec 2004
Posts:
102
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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

10 Nov 2010, 9:22 PM
#2091
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

member:

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?

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

11 Nov 2010, 12:01 AM
#2092
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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

11 Nov 2010, 12:31 AM
#2093
member avatar

member

Zen Follower

Join Date:
Dec 2004
Posts:
102
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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

11 Nov 2010, 11:54 AM
#2094
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

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

11 Nov 2010, 12:34 PM
#2095
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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

11 Nov 2010, 12:38 PM
#2096
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

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

11 Nov 2010, 12:48 PM
#2097
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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)

11 Nov 2010, 12:52 PM
#2098
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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.

11 Nov 2010, 1:04 PM
#2099
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

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

11 Nov 2010, 3:41 PM
#2100
tonybunney avatar

tonybunney

New Zenner

Join Date:
Jul 2010
Posts:
16
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

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