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

Ceon URI Mapping (SEO)

Locked

Views: 472,224

Results 541 to 560 of 2,913
This thread is locked. New replies are disabled.
16 Sep 2009, 8:33 PM
#541
conor avatar

conor

Passed

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

Ceon URI Mapping (SEO)

Hi,

I don't know what you've done wrong to stop the images showing. The rewrite rule you've listed wouldn't block images unless your images didn't end in .gif/.jpg etc.

However, the last line of the rule appears wrong. I think it should be:

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

All the best...

Conor

17 Sep 2009, 10:42 AM
#542
kiko avatar

kiko

New Zenner

Join Date:
Sep 2009
Posts:
4
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

Thank you for your correction.

It is solved now!

It was because of worldpay. Because worldpay had the <href base> tag disabled. Therefore urls had to be made for the stylesheets etc. into absolute urls to make the callback pages working with Worldpay.

Worldpay has just enabled the <href base> tag again and i put back the old file.

Now it is working perfectly, both :smile:

17 Sep 2009, 10:50 AM
#543
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

kiko:

It was because of worldpay. Because worldpay had the <href base> tag disabled.

Ahh, when you said you had "disabled" the module I didn't think you meant you'd removed the htaccess file (the module has an actual Enable/Disable configuration option).

I would have caught on about the base_href thing otherwise.. I should think of it sooner in future! :)

kiko:

Now it is working perfectly, both

Glad it's working and you like the software! :)

All the best...

Conor
ceon

17 Sep 2009, 5:16 PM
#544
mgimmerman avatar

mgimmerman

New Zenner

Join Date:
Sep 2009
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi,
I installed this module successfully and am now able to update the URI Mappings for my products. Thanks!

I cannot find the same text fields for Ezpages. I go to tools/ezpages and do not see the text fields for entering URI Mapping.

I would appreciate any help,

Thanks.

17 Sep 2009, 5:24 PM
#545
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

mgimmerman:

I cannot find the same text fields for Ezpages. I go to tools/ezpages and do not see the text fields for entering URI Mapping.

You must have missed uploading the ezpages.php file to the admin.

All the best...

Conor

17 Sep 2009, 9:21 PM
#546
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

A new version of the module has been released with two bug fixes. Upgrading is easy as no changes have been made to core files so it is recommended that everyone upgrades. However, the changes made will affect very few people so upgrading isn't essential.

From the revision history:

[BUGFIX] When a URI was being mapped to a page for a different language from the default/current session's language, the module wasn't changing the language for the session to the language being mapped to.

[BUGFIX] Certain Zen Cart links to the product info page(s) don't use the category cPath variable like all the other links to these pages. Module updated to set this variable if it isn't set and therefore prevent these links breaking.

The first fix applies only for sites that use multiple languages and the second for sites which display a category image on the product info page (which is to say, not many sites!).

The new version can be downloaded from our site now:

http://dev.ceon.net/web/zen-cart/uri_mapping/downloads

It will also be available from the downloads area shortly.

Enjoy!

All the best...

Conor
ceon

18 Sep 2009, 7:10 AM
#547
stealthify avatar

stealthify

New Zenner

Join Date:
Dec 2008
Posts:
21
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,
Just started another Zen Cart project earlier this week, and made it a point to install this beautiful project of yours first.

Not sure if people say this enough, but thank you for your ongoing work with Ceon URI Mapping. I've been using this on my primary site for about (5 months?) so far, and it has never let me down once. I feel as though no Zen Cart installation is complete without this now.

Looking forward to the URI Mappings Manager, keep up the great work!

19 Sep 2009, 12:17 AM
#548
natel avatar

natel

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

What do I do about pre-existing pages that exist with Zen Cart?

For example, Featured Items and New Items.

By default, my URI looks like this:
cart/index.php?main_page=products_new

I'd like it to be more like cart/new_products

Thanks :smile:

19 Sep 2009, 4:13 AM
#549
natel avatar

natel

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I figured it out... I guess for anyone that's not sure, here's a more practical example for you:

Using phpMyAdmin (as suggested, in Step 9 of the configuration section in the userguide) - Navigate to ceon_uri_mappings

For URI, put in what you want the URL bar to say. For instance, I have ZenCart installed in a subfolder, called cart:

example.com/cart

So, lets say I want to do "All Products", which is a default page within Zen Cart

My URI would be /cart/all-products

language_id is 1 (for me)
current_uri is 1

Main Page:
If you go out to your page and you click on "All Products", you want the very end of what's on that.

For example:
example.com/zencart/index.php?main_page=products_all

in "main_page", you would enter products_all

query_string_parameters, associated_db_id, alternate_uri, redirection_type_code all stay default, and date added is todays date....

19 Sep 2009, 7:57 AM
#550
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)

Wow talk about timely.. Nate your instructions came at a PERFECT time.. I mean no offense to the mod author, but these directions were a lot more straightforward and clear for me..:smile:

All in all, I am loving this add-on.. It took a little time for me to get all the URIs setup, but basically this install went off without a HITCH.. Products, Categories, and EZ Pages are all done.. I created a script to generate the remaining URIs for the Zen pages, and then moved on to QAing the site to look for the preverbial chink in the armour..:laugh:

So far I have been banging away at the site to test all the links and to make sure that it doesn't break anything. So far this has been PERFECT.. Login works, notifications from the shopping cart works, the checkout process work.. Can't complain.. Of course the "URI Mappings Manager" will make this process even easier. So I am looking forward to seeing that released, but for now I'm just going to use my SQL script to cover creating all of Zen URIs until then..

I spent the last two days in SEO configuration hell, so this was truly my last stop on the SEO train..:laugh:

One question though for conor.. I cannot get the URIs I created for these two pages to work.. Is there something I am missing??

http://clients.overthehillweb.com/hairisle/index.php?main_page=reviews
main_page = /hairisle/reviews
URI = product_reviews

http://clients.overthehillweb.com/hairisle/index.php?main_page=gv_faq
main_page = /hairisle/gv_faq
URI = gift_certificate_FAQ

NateL:

I figured it out... I guess for anyone that's not sure, here's a more practical example for you:

Using phpMyAdmin (as suggested, in Step 9 of the configuration section in the userguide) - Navigate to ceon_uri_mappings

For URI, put in what you want the URL bar to say. For instance, I have ZenCart installed in a subfolder, called cart:

example.com/cart

So, lets say I want to do "All Products", which is a default page within Zen Cart

My URI would be /cart/all-products

language_id is 1 (for me)
current_uri is 1

Main Page:
If you go out to your page and you click on "All Products", you want the very end of what's on that.

For example:
example.com/zencart/index.php?main_page=products_all

in "main_page", you would enter products_all

query_string_parameters, associated_db_id, alternate_uri, redirection_type_code all stay default, and date added is todays date....

19 Sep 2009, 10:29 AM
#551
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

DivaVocals:

Wow talk about timely.. Nate your instructions came at a PERFECT time.. I mean no offense to the mod author, but these directions were a lot more straightforward and clear for me..:smile:

I understand that an example or two would help in the docs. I'll do what I can to add examples to the next version. It's hard to find time/motivation to work on the documentation for a free module.. I don't think anyone likes writing docs? :)

DivaVocals:

One question though for conor.. I cannot get the URIs I created for these two pages to work.. Is there something I am missing??

main_page = /hairisle/reviews
URI = product_reviews

main_page = /hairisle/gv_faq
URI = gift_certificate_FAQ

They should be

main_page = reviews
URI = /product_reviews

main_page =gv_faq
URI = /gift_certificate_FAQ

Glad you like the module!

All the best...

Conor
ceon

19 Sep 2009, 10:32 AM
#552
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

stealthify:

Not sure if people say this enough, but thank you for your ongoing work with Ceon URI Mapping. I've been using this on my primary site for about (5 months?) so far, and it has never let me down once. I feel as though no Zen Cart installation is complete without this now.

That's really, really good of you. It does definitely make a difference hearing such positive comments.. thank you very much indeed for taking the time to post them! :)

stealthify:

Looking forward to the URI Mappings Manager, keep up the great work!

Working on it.. thanks again! ;)

All the best...

Conor
ceon

19 Sep 2009, 2:19 PM
#553
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)

conor:

I understand that an example or two would help in the docs. I'll do what I can to add examples to the next version. It's hard to find time/motivation to work on the documentation for a free module.. I don't think anyone likes writing docs? :)I hear you.. I just assisted a member here with re-writing the readme docs for Image Handler 2. It took a few passes to make sure we had everything in the docs clearly spelled out.. As a software BA I write specification docs regularly.. While I love my job, and I am a good writer, the writting aspect of my job I've always referred to it as a "necessary evil"..:laugh:

conor:

They should be

main_page = reviews
URI = /product_reviews

main_page =gv_faq
URI = /gift_certificate_FAQ

Glad you like the module!

All the best...

Conor
ceon
:blush:Okay.. I was SLEEPY as heck when I got down to those last few pages.. As SOON as I saw your answer i was like "I knew that..":laugh::laugh:

conor:

To further clarify.. You have to enter a URI for each category/product/ez-page/manufacturer or tick "auto-generate" and click "update" for each category/product/ez-page/manufacturer. Ceon URI Mapping is designed to give you intricate control of your URIs, it doesn't apply a general policy to them all (like the "SEO" modules).
Love this add-on!! I love having full control of everything.. Now if only I could get WordPress permalinks to work as nicely..:laugh: After this exercise I know that the next store I build should include this mod from the onset so that the URI creation happens as categories, product, and EZ Pages are added..

Now that I've got my first Ceon URI install under my belt, I am moving on to install this for a client who is now asking for SEO functions on his site.. He has LOTS of products and categories, and I know the initial setup is going to be painful for him, but once he goes through all of his products, it'll be easy peezy after that.. (Did I mention how much I love this add-on??:hug:)

19 Sep 2009, 2:24 PM
#554
natel avatar

natel

New Zenner

Join Date:
Aug 2007
Posts:
47
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I understand Conor. For what it's worth, your instructions did help me to figure things out. I just had to fiddle around with it before I got it right, and I figured a more real world example of what I just went through would help some one out. My example is lengthy, but you're free to C&P all you want :yes: :D

19 Sep 2009, 2:31 PM
#555
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)

NateL:

I understand Conor. For what it's worth, your instructions did help me to figure things out. I just had to fiddle around with it before I got it rightOh no doubt.. Conor's very detailed instructions were helpful as heck!! Especially the instructions on how to setup the .htaccess file.. All those Apache commands give me a headache, and I truly admire folks who know how to wield that very big stick..

Conor's directions on how to set that all up were MILES more helpful than any topic on the net I've seen.. As an example: the instructions for how to exclude a folder were on point to help me make sure that Ceon did not apply itself to my WordPress directory..:clap:

21 Sep 2009, 8:57 AM
#556
deltaflyer avatar

deltaflyer

New Zenner

Join Date:
Jun 2009
Posts:
12
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi,
I am using other encoding - Not UTF-8 in other language (Thai)
Can I use the URL Rewrite ? I try the URI Mapping it show as Blank space...

21 Sep 2009, 11:55 AM
#557
matt_h avatar

matt_h

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi
I've successfully installed the module and have one question :)
I temporarily want my default homepage to be index.html rather than my zen cart homepage which is index.php.
I've added 'DirectoryIndex index.html index.php' to my htaccess file but unless I remove all the rewritecond rules it doesn't have any effect.
Is it possible to have both the Directory index rules and the rewritecond rules work?
Thanks

21 Sep 2009, 12:01 PM
#558
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

matt-h:

I've added 'DirectoryIndex index.html index.php' to my htaccess file but unless I remove all the rewritecond rules it doesn't have any effect.

The section of the docs you want is

Modifying the rule to allow URI mappings to be used which end with a particular file extension (e.g. “.html”)

Basically, change your rewrite rule from

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

to:

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} .(html)$ [NC]

All the best...

Conor
ceon

21 Sep 2009, 12:04 PM
#559
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

Sorry read that wrong. Ignore my last post.

You must have done something wrong. The module with its example rule doesn't rewrite .html addresses.

Check that you are using the latest version of the module - 3.2.4 - and make sure you are using the example rewrite rule from it. Older versions of the module did indeed rewrite .html files, but this is no longer the case with the examples in later versions of the module's documentation.

All the best...

Conor
ceon

21 Sep 2009, 12:10 PM
#560
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

DivaVocals:

I hear you.. I just assisted a member here with re-writing the readme docs for Image Handler 2. It took a few passes to make sure we had everything in the docs clearly spelled out.. As a software BA I write specification docs regularly.. While I love my job, and I am a good writer, the writting aspect of my job I've always referred to it as a "necessary evil"..:laugh:

At least you get paid for it! ;P Unlike a lot of OS software developers I do what I can to write good docs.. I really do hate the process though.. months of work... ugh! :)

DivaVocals:

Okay.. I was SLEEPY as heck when I got down to those last few pages.. As SOON as I saw your answer i was like "I knew that..":laugh::laugh:

Yeah, I'd a feeling it was something like that! :)

DivaVocals:

Love this add-on!! I love having full control of everything.. Now if only I could get WordPress permalinks to work as nicely..:laugh: After this exercise I know that the next store I build should include this mod from the onset so that the URI creation happens as categories, product, and EZ Pages are added..

Thanks for the nice comments! I haven't used WordPress before but I wrote the URI Mapping to work the way I wanted it to work and learnt a lot about things I knew little/nothing about previously - transliteration, encodings etc. - it's good to hear it works better than something which has loads of developers! ;)

DivaVocals:

Now that I've got my first Ceon URI install under my belt, I am moving on to install this for a client who is now asking for SEO functions on his site.. He has LOTS of products and categories, and I know the initial setup is going to be painful for him, but once he goes through all of his products, it'll be easy peezy after that.. (Did I mention how much I love this add-on??:hug:)

Thanks again for the nice comments.. it's good to see people really like the software!

All the best...

Conor
ceon