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

Ceon URI Mapping (SEO)

Locked

Views: 472,316

Results 1,141 to 1,160 of 2,913
This thread is locked. New replies are disabled.
12 Feb 2010, 10:20 PM
#1141
conor avatar

conor

Passed

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

Ceon URI Mapping (SEO)

Hi,

snaple:

Where can I find the query string parameters?

If you dump the contents of the $_GET variable you'll see them (that's what this variable holds).

I'd add the following code in a few places to see why your site is losing the sorting/filtering/pagination settings:

var_dump($_GET);

You're looking ot see at what point the "sort" key etc. is being wiped.

The section of the code which was introduced to fix the manufacturers pagination bug was:

$query_string_parameter_pairs = explode('&', $query_string_to_match);
                            
                            foreach ($query_string_parameter_pairs as
                                    $current_query_string_parameter_pair) {
                                $key_and_value = explode('=', $current_query_string_parameter_pair);
                                
                                unset($_GET[$key_and_value[0]]);
                            }

If you don't have that in init_ceon_uri_mapping.php then you're still using an old, broken version of the module.

Hope that helps!

snaple:

Thanks for the grammar lesson. There have been over 20,000 hits and no one had pointed it out yet!

It's one of those things I notice. :)

snaple:

haha. As for the dropped es after fluorescent-lighting-accessori, the auto generate did it. Perhaps a character max? I don't know. I have corrected it now.

No, so I'm left wondering if something else is up on your site!

Regardless, check the above first please!

All the best...

Conor
ceon

12 Feb 2010, 10:46 PM
#1142
snaple avatar

snaple

New Zenner

Join Date:
Dec 2009
Posts:
9
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Conor:

If you don't have that in init_ceon_uri_mapping.php then you're still using an old, broken version of the module.

I have the latest init_ceon_uri_mapping file so that isn't the cause.

Could you walk me through exploring the contents of the $_GET variable, specifically where you say to add var_dump($_GET); "in a few places".

12 Feb 2010, 11:10 PM
#1143
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

snaple:

I have the latest init_ceon_uri_mapping file so that isn't the cause.

That's almost a pity, I was hoping for an "easy answer" like that! :)

snaple:

Could you walk me through exploring the contents of the $_GET variable, specifically where you say to add var_dump($_GET); "in a few places".

Sorry, walk throughs are one of the things I simply won't do for free, it takes up too much time when life is too short!

If you have a developer working on your site please ask them to "trace" what's going on with your GET variables.. at some point the "sort" parameter etc. is being dropped for some reason, causing sorting to fail on your site.

I wish you luck in getting this fixed.. I can't imagine it should take too long to find out what's happening (fingers crossed anyway!).

All the best...

Conor
ceon

12 Feb 2010, 11:37 PM
#1144
snaple avatar

snaple

New Zenner

Join Date:
Dec 2009
Posts:
9
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Sorting only fails when I use your uri mapping software. If the entire sort function didn't work all of the time I would be much more worried. If you're not willing to do it for free what would it cost?

I am a web developer and have spoken with a friend of mine who was just as dumbfounded as to why it only breaks when using your software.

13 Feb 2010, 12:48 AM
#1145
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)

snaple:

Sorting only fails when I use your uri mapping software. If the entire sort function didn't work all of the time I would be much more worried. If you're not willing to do it for free what would it cost?

I am a web developer and have spoken with a friend of mine who was just as dumbfounded as to why it only breaks when using your software.You should contact Conor via the contact form on his site about this as he cannot post any commercial offerings for software and services in the forum..:wink: (BIG no no:no:)

13 Feb 2010, 1:21 AM
#1146
snaple avatar

snaple

New Zenner

Join Date:
Dec 2009
Posts:
9
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

You should contact Conor via the contact form on his site about this as he cannot post any commercial offerings for software and services in the forum..:wink: (BIG no no:no:)

haha. I should have known better. Thanks for the advice.

13 Feb 2010, 2:46 AM
#1147
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)

snaple:

haha. I should have known better. Thanks for the advice.:laugh::laugh: I wouldn't want Conor to get a slap on the hand.. He's one of the nicest module developers.. (there are others too who are just as nice..)

13 Feb 2010, 4:06 AM
#1148
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:

:laugh::laugh: I wouldn't want Conor to get a slap on the hand.. He's one of the nicest module developers.. (there are others too who are just as nice..)

Thanks very much for the nice comments DivaVocals! I wasn't trying to solicit business, was just saying that due to its time consuming nature, manually editing forum members' websites to manually trace through their environment setup is unfortunately beyond the level of support I provide with this particular module. If I thought it was a bug with the module I'd go as far as doing that for snaple but since this behaviour hasn't been reported by anyone else and can't be replicated by me I think it has to be server/site specific and therefore the work required to help isn't something I can offer on this forum.

I hope snaple gets it sorted though of course! Manually tracing this should be time-conusming but easy to do.

All the best..

Conor
ceon

13 Feb 2010, 4:23 AM
#1149
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:

Hi,

Thanks very much for the nice comments DivaVocals! I wasn't trying to solicit business, was just saying that due to its time consuming nature, manually editing forum members' websites to manually trace through their environment setup is unfortunately beyond the level of support I provide with this particular module. If I thought it was a bug with the module I'd go as far as doing that for snaple but since this behaviour hasn't been reported by anyone else and can't be replicated by me I think it has to be server/site specific and therefore the work required to help isn't something I can offer on this forum.

I hope snaple gets it sorted though of course! Manually tracing this should be time-conusming but easy to do.

All the best..

Conor
ceon
I knew that..:smile: Just wanted to make sure that folks knew you couldn't answer commercial questions here..:wink:

13 Feb 2010, 4:28 AM
#1150
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 knew that..:smile: Just wanted to make sure that folks knew you couldn't answer commercial questions here..:wink:

Reading over things again that seems clear now.. must be a bit too late for me here I think!

Thanks for the help/comments as usual DivaVocals!

All the best..

Conor
ceon

13 Feb 2010, 4:34 AM
#1151
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:

Hi,

Reading over things again that seems clear now.. must be a bit too late for me here I think!

Thanks for the help/comments as usual DivaVocals!

All the best..

Conor
ceonYou're welcome..:D

14 Feb 2010, 11:11 PM
#1152
chris_t avatar

chris_t

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Guys,

What a great mod this is...

But the queston I have is we have forums and gallerys also on our server.

This mod works a treat but I have not been able to get therewrite rule working so it exludes the forums

We use http://<URL>/forums and http://<URL>/gallerys

When this mod is active, when you go to the forums or gallerys, we just get a page is not found.

Can anyone give me any pointers?

Regards

14 Feb 2010, 11:25 PM
#1153
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Chris,

Chris_T:

What a great mod this is...

I'm glad you like it and find it useful for your site.. I'm starting to see a pattern in that.. :)

Chris_T:

Can anyone give me any pointers?

It appears you haven't read the documentation? You should always take a look at the docs that come with software!

The third entry in the FAQs (Frequently Asked Questions) is:

"The module is blocking access to part of the site (e.g. the site's control panel)!"

which leads to part of the configuration section you should have read:

"Adding exceptions to the rule to prevent particular addresses (e.g. Control Panels etc.) being handled by Zen Cart"

You have to add the following to your htaccess file, before the RewriteRule line:

# Don't rewrite forums/gallerys directories
RewriteCond %{REQUEST_URI} !/^forums.* [NC]
RewriteCond %{REQUEST_URI} !/^gallerys.* [NC]

I have to point out as well that there's no such word as "gallerys".. it's "galleries"! :)

All the best..

Conor
ceon

14 Feb 2010, 11:57 PM
#1154
chris_t avatar

chris_t

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Wow,

Thanks for the quick reply.....

I do apologise in advance for my stupidity, but should the rewrite rulles look like this?

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)

RewriteCond %{REQUEST_URI} !/^forums/.* [NC]
RewriteCond %{REQUEST_URI} !/^gallerys/.* [NC]
RewriteRule (.*) index.php?%{QUERY_STRING} [L]

With the gallerys thing what the customer wants they get :-)

Cheers

15 Feb 2010, 4:19 AM
#1155
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

I made a rather obvious typo there.

The ^ is in the wrong place. It should be:

# Don't rewrite forums/gallerys directories
RewriteCond %{REQUEST_URI} !^/forums.* [NC]
RewriteCond %{REQUEST_URI} !^/gallerys.* [NC]

Once you make that change everything should work fine, your client's .htaccess file is fine.

Chris_T:

With the gallerys thing what the customer wants they get :-)

Just tell them that they'll get no results on google if they spell it wrong and they'll wise up and use "proper" words!

All the best...

Conor
ceon

15 Feb 2010, 8:33 AM
#1156
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:

Just tell them that they'll get no results on google if they spell it wrong and they'll wise up and use "proper" words!Nods in agreement..:yes: Plus customers really judge online store harshly where there is poor grammar and mis-spellings

17 Feb 2010, 3:04 PM
#1157
websightdesign avatar

websightdesign

New Zenner

Join Date:
Mar 2006
Posts:
72
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

Just to add to this, in my experience, some of these fly-out menus use javascript to drive the menu behavior.. If this is the case for you perhaps a CSS only menu might help.. Not sure what horizontal menu you are using now, but here's some links you might be interested in.

I LOVE this site:
http://www.cssplay.co.uk/
This guy has all kinds of CSS only solutions.. VERY cool stuff..

I am using this horizontal menu contrib with Ceon URI with no lag issues whatsoever.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=479

I have this menu working but i'm generating around 60 links between 6 different categories on the drop down menu, do you think this couldbe the problem.

Thanks
Brad

17 Feb 2010, 4:00 PM
#1158
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)

websightdesign:

I have this menu working but i'm generating around 60 links between 6 different categories on the drop down menu, do you think this couldbe the problem.

Thanks
BradThis question would be better posed on the support thread for the menu contribution.. The mod author can answer your question better than I could..

18 Feb 2010, 2:40 PM
#1159
fita1440 avatar

fita1440

New Zenner

Join Date:
Feb 2010
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi
Just downloaded an install URI Mapping but seem to be getting a extra /

"www.myshop.co.uk//specials"

any ideas

18 Feb 2010, 2:59 PM
#1160
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

[quote=fita1440;845184Just downloaded an install URI Mapping but seem to be getting a extra /[/quote]

Check your DIR_WS_CATALOG setting in includes/configure.php (it should be a single slash). Otherwise quite simply you must be entering two slashes when adding the URIs manually to the database.

All the best...

Conor
ceon