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

Ceon URI Mapping (SEO)

Locked

Views: 472,325

Results 1,941 to 1,960 of 2,913
This thread is locked. New replies are disabled.
22 Sep 2010, 3:06 PM
#1941
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Ceon URI Mapping (SEO)

One other question/issue related to the issue above...

I also installed the Static RSS News Sidebox add-on (http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1161) before installing CEON. It was working fine, but it now pulls in the latest blog headlines only "sometimes". Any idea on a fix for that issue? Is it actually related to CEON, or do you think it is an issue with the RSS add-on?

22 Sep 2010, 4:04 PM
#1942
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

hockey2112:

So I added an entry for the /blog directory and one for the /forum directory and it worked!

That's not the best way to do things.. if you were simply trying to exclude the /blog and /forum directories from being handled by Ceon URI Mapping, you just add an exclusion to the Ceon URI Mapping rewrite rule (as it says in the FAQS ;) I didn't realise this is all you wanted to do or would have pointed you to that information sooner).

# Don't rewrite other directories                     
RewriteCond %{REQUEST_URI} !^/blog[NC]                     
RewriteCond %{REQUEST_URI} !^/forum [NC]

Just add that after the "admin" exclusion rule and get rid of the code you added above and things will work fine.

All the best..

Conor
ceon

22 Sep 2010, 4:09 PM
#1943
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

hockey2112:

One other question/issue related to the issue above...

I also installed the Static RSS News Sidebox add-on

Check the configuration info/FAQs for information about excluding URIs and files from being mapped. I'm afraid that we don't give free support for finding problems in third party modules such as the one you've posted about. I hope you get this sorted soon!

All the best..

Conor
ceon

22 Sep 2010, 4:29 PM
#1944
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Check the configuration info/FAQs for information about excluding URIs and files from being mapped. I'm afraid that we don't give free support for finding problems in third party modules such as the one you've posted about. I hope you get this sorted soon!

All the best..

Conor
ceon

I gave that a shot, but it did not fix the issue. I will continue to try to find a solution. Thanks!

23 Sep 2010, 9:48 AM
#1945
photaust avatar

photaust

New Zenner

Join Date:
Jan 2009
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Well I'm a bit baffled. I seem to have the same problem that has been posted here but can't seem to find a solution that works for me.

Essentially I have all my files in the public_html directory.

I require my landing page to be "index.html"
however when URl Mapping is activated, the index.html file is not visible.

Everything else appears to be great!
I am using version 3-6-3 of URl Mapping CEO
Here is the Rewrite that I have placed into the directory that also has my "index.php" file :


RewriteEngine On

RewriteBase /

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

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

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/artstyle [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)

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


Any suggestions would be sincerely appreciated.

Cheers

23 Sep 2010, 10:02 AM
#1946
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

photaust:

Well I'm a bit baffled. I seem to have the same problem that has been posted here but can't seem to find a solution that works for me.

I don't know what you are talking about. There is no such problem, so you can't have the "same" problem!

photaust:

I require my landing page to be "index.html"
however when URl Mapping is activated, the index.html file is not visible.

The standard rewrite rule already lets index.html through, it is not mapped by Ceon URI Mapping:

# [B]Don't rewrite any files ending with[/B] .[xxxxx]
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$

However, in your code you've gone and **made **Ceon URI Mapping responsible for .html files:

photaust:

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

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

You've done the opposite of what you wanted! (Simply misread the documentation I see).

Remove the modifications you made and just use the normal rewrite rule and things will work as you desire.

You should also upgrade to 3.8.0, it won't make a difference in this case but always best to use the latest version.

I'll upload a version of 3.8.0 to the downloads area shortly, for the minute you can get it from the Ceon website.

All the best..

Conor
ceon

23 Sep 2010, 2:06 PM
#1947
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

I don't know what you are talking about. There is no such problem, so you can't have the "same" problem!

The standard rewrite rule already lets index.html through, it is not mapped by Ceon URI Mapping:

[B]Don't rewrite any files ending with[/B] .[xxxxx]

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

> 
> However, in your code you've gone and **made **Ceon URI Mapping responsible for .html files:
> 
> 
> 
> You've done the opposite of what you wanted! (Simply misread the documentation I see).
> 
> Remove the modifications you made and just use the normal rewrite rule and things will work as you desire.
> 
> You should also upgrade to 3.8.0, it won't make a difference in this case but always best to use the latest version.
> 
> I'll upload a version of 3.8.0 to the downloads area shortly, for the minute you can get it from the Ceon website.
> 
> All the best..
> 
> Conor
> [ceon](http://dev.ceon.net)



Actually, I have the same thing happen to me. I usually put up an index.html "coming soon" page while the ZC website is still in progress, and that page is passed over in favor of index.php after I install CEON with its pre-packaged settings, thus "activating" the website whether i want it live or not.
23 Sep 2010, 3:20 PM
#1948
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

hockey2112:

Actually, I have the same thing happen to me. I usually put up an index.html "coming soon" page while the ZC website is still in progress, and that page is passed over in favor of index.php after I install CEON with its pre-packaged settings, thus "activating" the website whether i want it live or not.

Actually, that's not true. What is happening is that after you install Ceon URI Mapping, it becomes responsible for

/

/index.php

/index.php?main_page=

etc.

It is never responsible for /index.html

However, most people will see the root of a site as / so unless they come directly to /index.html Ceon URI Mapping will indeed take over.

Obviously to avoid that you need to add the following exclusion to your rewrite rule:

RewriteCond %{REQUEST_URI} !^/$

However, this means that you can't simply remove index.html to "switch the site live" as "/" would give a 404. You'd have to both remove the index.html file and remove the above exclusion.

Hope that clears things up!

All the best..

Conor
ceon

23 Sep 2010, 4:06 PM
#1949
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Actually, that's not true. What is happening is that after you install Ceon URI Mapping, it becomes responsible for

/

/index.php

/index.php?main_page=

etc.

It is never responsible for /index.html

However, most people will see the root of a site as / so unless they come directly to /index.html Ceon URI Mapping will indeed take over.

Obviously to avoid that you need to add the following exclusion to your rewrite rule:

RewriteCond %{REQUEST_URI} !^/$

> 
> However, this means that you can't simply remove index.html to "switch the site live" as "/" would give a 404. You'd have to both remove the index.html file and remove the above exclusion. 
> 
> Hope that clears things up!  
> 
> All the best..  
> 
> Conor
> [ceon](http://dev.ceon.net)


Thanks for the insight, Conor. This will help immensely!
27 Sep 2010, 5:15 PM
#1950
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Google Adwords doesn't like my Ceon URI Link!

I tried to put this link in a campagne:
http://www.feingut.ch/dufte_spa/atherische_ole

Google refused it saying that the URL doesn't work? I do not have any problems to call this page. So, what could be the problem?

I too can see, that google indexed the old pages with URLs like this: http://www.feingut.ch/index.php?main_page=index&cPath=35_3. But the new Ceon URLs are not indexed.

Any hints?

27 Sep 2010, 7:21 PM
#1951
ethan_kolasinski avatar

ethan_kolasinski

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello. I had been using Ceon URI mapping very happily on Zen Cart version 1.3.8 for quite some time, and have recently upgraded to Zen Cart Version 1.3.9f. Ceon URI Mapping was not working properly after the upgrade, and I realized at that point my version of URI mapping was not current, so I upgraded to version 3.8.0. I backed up my database and affected files prior to upgrading. Everything seemed to be working fine (rewriting was successful), with the exception of the fact that none of the usernames nor passwords worked any longer on login attempts. I have reversed the process of installing Ceon URI mapping (replacing affected files with old back-up files and also deleting all ceon prefixed files, as well as restoring different databases that were saved prior to upgrading Ceon URI mapping. The login problem still persists. My customers and I are not able to log into our accounts anymore! It's as thought the info is gone.

Is there a place in this sea of discussion pages here that addresses this issue? If so, please direct me there.

Please help! Thanks!

27 Sep 2010, 9:52 PM
#1952
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Ethan,

Ethan Kolasinski:

The login problem still persists. My customers and I are not able to log into our accounts anymore! It's as thought the info is gone.

Is there a place in this sea of discussion pages here that addresses this issue? If so, please direct me there.

I've replied to you private e-mail to me. Just to reiterate here, this is nothing to do with Ceon URI Mapping, it does not interact with any login functionality of Zen Cart. This must unfortunately be a mistake you made when upgrading from 1.3.8 to 1.3.9f. Hopefully you can find the right answers/support or another thread.

All the best...

Conor
ceon

27 Sep 2010, 9:58 PM
#1953
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Pink:

Google Adwords doesn't like my Ceon URI Link!

I tried to put this link in a campagne:
http://www.feingut.ch/dufte_spa/atherische_ole

Google refused it saying that the URL doesn't work? I do not have any problems to call this page. So, what could be the problem?

I too can see, that google indexed the old pages with URLs like this: http://www.feingut.ch/index.php?main_page=index&cPath=35_3. But the new Ceon URLs are not indexed.

Any hints?

Ah, there is a 404 in the access_log:

66.249.66.3 - - [27/Sep/2010:20:33:23 +0200] "GET /dufte_spa/atherische_ole/citronella_kba_5ml HTTP/1.1" 404 41969 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

But strange, the Link itself works: http://feingut.ch/dufte_spa/atherische_ole/citronella_kba_5ml

Hints?

27 Sep 2010, 9:59 PM
#1954
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

Pink:

Google Adwords doesn't like my Ceon URI Link!

I'm not surprised: Although the link you posted has a page with content, your site is sending a 404 header for this page:

HTTP/1.1 404 Not Found

So Google is treating it as if it doesn't exist.

You need to fix the headers on your site! Make sure you have a proper, working rewrite rule. If that's not it, install the Ceon URI Mapping 3.8.0 module again from scratch (you don't need to delete the database tables, just reinstall the files). If that's not it, then look to see why your server is sending out a 404 header yet Zen Cart is actually loading the expected page!

All the best...

Conor
ceon

28 Sep 2010, 12:26 PM
#1955
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

conor:

HTTP/1.1 404 Not Found

Just thought it worth pointing out that the only time I saw this before was when someone had a .shtml file responsible for handling 404s.

As they hadn't set up their rewrite rule(s) properly, the URI mapping (say /dufte_spa/atherische_ole) was causing a 404.

The 404 was loading 404.shtml but their Ceon URI Mapping rewrite rule didn't exclude .shtml files as it used the old example condition of

RewriteCond %{REQUEST_URI} !\.[a-z]{2,4}$ [NC]
```instead of 

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


Ceon URI Mapping was then able to run, look at the "[/dufte\_spa/atherische\_ole](http://www.feingut.ch/dufte_spa/atherische_ole)" URI and map it to the appropriate Zen Cart page.

However, the error was still resulting in the page having a 404 header, even though the content of the page was what was expected.

To fix this you MUST make sure you are using the LATEST example rewrite rule, and that it is working. On your server it is not working as you are redirecting people to a 404, handled by Zen Cart.

All the best...

Conor
[ceon](http://dev.ceon.net)
28 Sep 2010, 5:56 PM
#1956
ethan_kolasinski avatar

ethan_kolasinski

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi Ethan,

I've replied to you private e-mail to me. Just to reiterate here, this is nothing to do with Ceon URI Mapping, it does not interact with any login functionality of Zen Cart. This must unfortunately be a mistake you made when upgrading from 1.3.8 to 1.3.9f. Hopefully you can find the right answers/support or another thread.

All the best...

Conor
ceon

Conor, you are right, I am wrong. I bet you've heard that a lot. Anyway, thank you Sir. An explanation of my idiocy will be PM'ed to you, in addition to your well deserved "cups o' coffee".

Thanks!

29 Sep 2010, 7:59 PM
#1957
libertym avatar

libertym

New Zenner

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

Re: Ceon URI Mapping (SEO)

I feel I've tried it all and still getting a 404 error. Please help.

My shop is here. And just so you know that I can follow directions ;-p here is all the relevant info requested. LOL

I'm running 1.3.9, recently rebuilt from 1.3.8. I imported the database over from the old shop.

I have installed amazon checkout, column grid layout, mailchimp, wishlist, image handler, lightbox, menu footer, rss feed, and another column layout for the new products type pages. All installed during the rebuild about 2 weeks ago.

I ftp'd all the files up (did not use winmerge as I'm on a mac - but my next plan is to uninstall and reinstall on a windows box.) I ran the URI mapping config. Added the rewrite code to the htaccess file - trying it as if the index page is on the main or in another folder method. I've made sure the URI mapping is set to true, ticked the little box in the category file...what did I forget? I'm sure its right in front of me but I'm going a little crazy trying to figure this out and its just not working. Thank you so much for any help.:smile:

29 Sep 2010, 10:15 PM
#1958
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

Libertym:

I feel I've tried it all and still getting a 404 error. Please help.

My shop is here. And just so you know that I can follow directions ;-p here is all the relevant info requested. LOL

I don't know what you've been reading but I don't even know exactly what problem you are having as you haven't given enough information?!

First please follow the installation from scratch once again as I'd imagine you've missed something.

If you are still having problems, please describe the problem you are having.

I'm running 1.3.9, recently rebuilt from 1.3.8. I imported the database over from the old shop.

Libertym:

did not use winmerge as I'm on a mac - but my next plan is to uninstall and reinstall on a windows box.

The computer used is irrelevant.. instead of using WinMerge or Beyond Compare on Windoze, simply use a "Diff"/"Merge" program on the Mac.

Do make sure you use one tho.. if you have other modules which are overwriting core files the Ceon URI Mapping file uses you may well have simply wiped out the URI Mapping functionality added to those files.

Hope that helps!

All the best..

Conor
ceon

2 Oct 2010, 2:27 PM
#1959
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: Ceon URI Mapping (SEO)

Hi zenners,

How this can happen ? :

how this

-> https://www.mysite.com/for-men <-

to become ->

-> www.mysite.com/за-мъже <- ("for-men" to be on my language )

My language is Bulgarian.

Тhanks in advance.

Note
When you write in URI Mapping window in bulgarian it hapпens something like this -> https://www.mysite.com/za-majhie.

3 Oct 2010, 2:38 AM
#1960
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

perfumbg:

When you write in URI Mapping window in bulgarian it hapпens something like this -> www.mysite.com/za-majhie.

Yes, that's right, the software "transliterates" the name from another character set into that use on the internet in general.

As the internet goes in general,

www.mysite.com/за-мъже

isn't a valid URI as it uses characters which aren't supported by the WWW protocols.

The software changes it into www.mysite.com/za-majhie as that's the transliterated equivalent to the above, wrongly specified URI.

Hope that helps!

All the best...

Conor
ceon