If this is your first visit, check our documentation. To post, register or login.

Ceon URI Mapping (SEO)

Locked

Started by conor on 14 Jan 2009, 11:25 AM · Views: 473,810

Results 81 to 100 of 2,913
This thread is locked. New replies are disabled.
20 Mar 2009, 10:10 PM
#81
mustang394 avatar

mustang394

Zen Follower

Join Date:
Jun 2008
Location:
Colorado
Posts:
146
Plugin Contributions:
0

Post #81 by mustang394

Got the new version installing it now. what do need for examples if the problem still exisits

20 Mar 2009, 10:40 PM
#83
conor avatar

conor

Passed

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

Post #83 by conor

Hi,

Mustang394:

Installed new version

This works fine

http://afishybusiness.com/wavemakers.pumps/vortech/vortech.battery.backup.mp139

This one I get

http://afishybusiness.com/wavemakers.pumps/vortech/vortech.foam.cover.3.pack

It's the usage of full stops/periods as the whitespace replacement.. they're clashing with your rewrite rule.

The example rewrite rule lets through anything with a 2 to four letter extension at the end of the URI (e.g. .png, .jpeg, .gif, .html, .php) so they aren't rewritten.

.mp139 gets rewritten by the rewrite rule because it has 5 letters after a full stop, .pack doesn't as it only has four.

You can either change the rewrite rule conditions to always rewrite URIs with an extension but only exclude very specific extensions (gif|jpeg|png|pdf|jpg|doc). Obviously you'll have to be very specific about what extensions to allow and disallow.

There should be enough info in the docs (and if necessary, in a search on the net for example rewriteconds) to get this working the way you want.

Alternatively, you can use a different whitespace replacement with the current rewrite rule you have.

Hope that helps!

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

20 Mar 2009, 10:49 PM
#84
mustang394 avatar

mustang394

Zen Follower

Join Date:
Jun 2008
Location:
Colorado
Posts:
146
Plugin Contributions:
0

Post #84 by mustang394

yup that did the trick, just used a different white space for now.

Thank You

23 Mar 2009, 12:18 AM
#85
e_captivate avatar

e_captivate

New Zenner

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

Post #85 by e_captivate

I have spent probably between 15 and 20 hours with this module and I'd really like to keep it installed, but I am experiencing some strange errors that I just cannot get past.

First, I am getting a number of "file not found" messages in my host server log. These are for valid mapped URLs, but not every time (sporadic). Despite these errors, the actual pages are being served correctly to the clients. Weird.

Second, when I check the "Who's Online" feature in the admin, the last page visited shows "main_page=page_not_found" for a lot of the visitors. But again, I am confident that the clients are not receiving error messages. I have verified this by getting both these effects to be logged for my own IP address as I visit the store, but my experience as a user is exactly as it should be.

Finally, I can get the actual page_not_found to show when I type an invalid URL with a 2-4 character extension in the name (as this is excluded from the rewrite rule) but whenever I type in any other gibberish URL, it just serves the index page without an error. I cannot get the "Missing Page Check" to trigger the page_not_found content.

Despite the fact that my testing shows that users (and, thus, I presume, the search engine robots) are getting a seamless experience, I am not comfortable ignoring this constant pile of error messages.

I have emailed Ceon about the issue and they are uncertain what the problem is. (I asked them point blank about whether the custom page_not_found feature is compatible with the mapping module, and they gave me a non-answer.)

So before I uninstall the module and move on ... has anyone else experienced these same issues? If so, were you able to resolve them somehow? Any feedback would be welcome, as I have reached a point of frustration. Thanks.

FYI, the store is https://www.earthenapparel.com, ZC version 1.3.8a, Ceon ver 3.2.0 (latest), and the .htaccess file is pretty straightforward: the exact content of what the instructions call for plus a canonical fix rule and a 404 rule, neither of which affects the behavior I've described.

Michael

23 Mar 2009, 10:05 AM
#86
conor avatar

conor

Passed

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

Post #86 by conor

Hi,

E-Captivate:

I have emailed Ceon about the issue and they are uncertain what the problem is. (I asked them point blank about whether the custom page_not_found feature is compatible with the mapping module, and they gave me a non-answer.)

My reply to you was:

I'm afraid I don't understand what you mean by the customised document_not_found page.

You never replied to explain further.

Posting that I gave you a "non-answer" was simply rude.

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

23 Mar 2009, 3:50 PM
#87
e_captivate avatar

e_captivate

New Zenner

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

Post #87 by e_captivate

Conor - I asked you twice, in two separate emails, whether the module was compatible with the page_not_found feature, and you did not answer the first time and you professed not to understand the second question.

It was obvious from your replies that you were very busy and, seeing as you are not getting paid for this module, I respect that. Instead of bothering you again, I took my issue to the forum to see if anyone else had experienced my same issues and, if so, anyone knew of an explanation or solution.

It was not intended as rude, but if it was taken that way, I apologize. I am only seeking a sound solution for my customer.

So is this module compatible with the page_not_found feature? If not, it would give me some clarity on my issues. Thanks.

23 Mar 2009, 4:38 PM
#88
conor avatar

conor

Passed

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

Post #88 by conor

Hi,

E-Captivate:

It was not intended as rude, but if it was taken that way, I apologize. I am only seeking a sound solution for my customer.

Fair enough. I'd been expecting you to e-mail me back to explain more. I rarely take as long to reply as 4 working days. I'd forgotten about your e-mail as it had arrived on a Saturday and I tend to just "flag" e-mails at weekends for the free distributions. Every so often I check to make sure that I haven't missed replying to any "flagged" e-mails. As I was so busy I hadn't carried out that task yet that week or I would have responded sooner. I did respond straight away to your second mail but I can understand that you wanted a quicker response so you can get your client sorted.

E-Captivate:

So is this module compatible with the page_not_found feature? If not, it would give me some clarity on my issues. Thanks.

I honestly didn't know what you meant by that, I didn't know if you were talking about some Apache 404/error settings or something but I've looked at my own Zen Cart installation and see that there is a "page_not_found" script and a page in the modules/pages folder.

I've never used that before but looking into the problem I can see that Zen Cart automatically loads the index page in init_includes/init_sanitize.php if the main_page variable is not set.

I think it would indeed make more sense for that to go to the page_not_found page so in init_ceon_uri_mapping you should add in a block to set the main_page variable if it isn't set. You can change the following lines (349-350):

        }
    } else if (isset($_GET['main_page']) && isset($_SESSION['ceon_uri_mapping_redirected'])) {
```to 

```php
        } else {
            if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
                $_GET['main_page'] = 'index';
            } elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
                header('HTTP/1.1 404 Not Found');
                $_GET['main_page'] = 'page_not_found';
            }
        }
    } else if (isset($_GET['main_page']) && isset($_SESSION['ceon_uri_mapping_redirected'])) {

That code doesn't redirect the user but simply brings up the page not found page.. which is the same behaviour Zen Cart uses as standard. Should it instead redirect to the page not found page?

Please let me know what you all think about that and I'll make the code part of 3.2.1 because now that I see what is happening, I think some code should be present, either to display the 404 page or redirect to it.

I'm not sure about the who's online issues.. I'm sure it's something to do with the rewrite rule. I'd need admin access to someone's site to see what's going on as I can't replicate the problem here, it's working fine for me.

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

23 Mar 2009, 10:55 PM
#89
e_captivate avatar

e_captivate

New Zenner

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

Post #89 by e_captivate

Thanks, Conor, that did the trick!

And thank you for the assistance in solving the Apache error issue as well. For anyone else experiencing these errors, here was the solution:

I had enabled the favicon.ico code in the header_html.php file. By default, the "link href" lines for the favicon come before the "base href" line. This normally is not an issue, but once an SEO/mapping module was installed, it became problematic. The system was looking for /category/favicon.ico and /category/subcategory/favicon.ico and thus triggering Apache "file not found" errors. By moving the "base href" line to precede the favicon lines, the problem vanished.

24 Mar 2009, 7:35 AM
#90
pseudonym avatar

pseudonym

New Zenner

Join Date:
Mar 2009
Posts:
21
Plugin Contributions:
0

Post #90 by pseudonym

Dear CEON,

I have a big problem.

I add products/categories to my web site using direct DB injection.

There are currently over 19.000 products and over 4.000 categories.

CEON SEO URLs does not automatically attach rewrites to them, so basically i'd have to go over tens of thousands of entries right now in order to give each one SEO URLs.

I think this is a very crazy thing to do.

Any help? :cry:

Thank you very much.

24 Mar 2009, 11:08 AM
#91
conor avatar

conor

Passed

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

Post #91 by conor

Hi,

pseudonym:

CEON SEO URLs does not automatically attach rewrites to them, so basically i'd have to go over tens of thousands of entries right now in order to give each one SEO URLs.

I think this is a very crazy thing to do.

Yes, that would take a long time!

The current version of the module is aimed at new stores and small stores, not massive existing stores like yours.

It's probably not something you should use on your site at this time.

Sorry I can't give you better news than that!

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Mar 2009, 1:51 PM
#92
pseudonym avatar

pseudonym

New Zenner

Join Date:
Mar 2009
Posts:
21
Plugin Contributions:
0

Post #92 by pseudonym

How can I UNINSTALL CEO SEO URLs?

24 Mar 2009, 1:59 PM
#93
conor avatar

conor

Passed

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

Post #93 by conor

Why are you shouting? It's a bit annoying!

Go through the list of files in the Installation documentation, remove all the files from the "new files" list.

Copy fresh copies from a Zen Cart distribution over the modified core files, one by one, using the list of modified files in the installation documentation.

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Mar 2009, 5:03 PM
#94
mickmo68 avatar

mickmo68

Zen Follower

Join Date:
Apr 2008
Location:
Boston
Posts:
129
Plugin Contributions:
0

Post #94 by mickmo68

Not sure where I went wrong?
This is my store display at http://keepsafeco.com :

1054 Unknown column 'um.query_string_parameters' in 'where clause'
in:
[ SELECT um.uri FROM zen_ceon_uri_mappings um WHERE um.main_page = '' AND um.associated_db_id IS NULL AND um.query_string_parameters IS NULL AND um.language_id = '1' AND current_uri = '1';]

I tried reloading all the files a couple times, no change.
V. 1.3.8a

I cut and pasted the .htaccess rules to the bottom of the .htaccess file in public/ , same dir as admin and index.php/.

Any idea where I have gone wrong? Thank you for any help.

24 Mar 2009, 6:50 PM
#96
pseudonym avatar

pseudonym

New Zenner

Join Date:
Mar 2009
Posts:
21
Plugin Contributions:
0

Post #96 by pseudonym

conor:

Why are you shouting? It's a bit annoying!

Go through the list of files in the Installation documentation, remove all the files from the "new files" list.

Copy fresh copies from a Zen Cart distribution over the modified core files, one by one, using the list of modified files in the installation documentation.

All the best...

Conor
Ceon
I did that but I still see CEON SEO URLs stuff all over the place. How can I remove it from the database as well?

I still see it in Configuration->CEON as well...

24 Mar 2009, 6:59 PM
#97
mickmo68 avatar

mickmo68

Zen Follower

Join Date:
Apr 2008
Location:
Boston
Posts:
129
Plugin Contributions:
0

Post #97 by mickmo68

So, So sorry. Simply forgot to go to Modules > URI Mapping Config and create the database tables. At least I'm glad I figured it out before really making a fool of myself. :blush:

WORKS PERFECTLY!! :clap:

Thanks Ceon

Thank you Conor

PS - as soon as this store starts to make a little $$ I will donate, promise. Just don't have it right now.

24 Mar 2009, 7:25 PM
#98
conor avatar

conor

Passed

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

Post #98 by conor

Hi,

Mickmo68:

So, So sorry. Simply forgot to go to Modules > URI Mapping Config and create the database tables.

That's exactly what I was going to say!

Glad you've got it all sorted now! :)

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Mar 2009, 7:26 PM
#99
conor avatar

conor

Passed

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

Post #99 by conor

Hi,

pseudonym:

I did that but I still see CEON SEO URLs stuff all over the place.

Then you haven't gone through all the files properly.

pseudonym:

How can I remove it from the database as well?

I still see it in Configuration->CEON as well...

Use PHPMyAdmin. Delete the tables for the module and search and remove the defines from the configuration table. (Search for LIKE % CEON).

All the best...

Conor
Ceon

NOTE: We are sorry that Conor is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Mar 2009, 10:19 PM
#100
hpg09 avatar

hpg09

New Zenner

Join Date:
Feb 2009
Location:
UK
Posts:
14
Plugin Contributions:
0

Post #100 by hpg09

pseudonym:

How can I UNINSTALL CEO SEO URLs?

Why not just restore the backup you took before installation? :dontgetit