Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 452,152

Results 1,121 to 1,140 of 2,454
7 Mar 2013, 6:25 PM
#1121
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Ceon URI Mapping v4.x

lagcher.r:

My site1 zen cart is in public_html and my site2 is in public_html/mysite2. Ik can reach the zen cart site2 install trough https://www.mysite1.com/mysite2.
I haven't completed the zen cart instal yet. Maybe this the problem?

As lhungil has said, you need to set up ADD-ON DOMAINS on your hosting account. In order to do this, the domain(s) you intend to ADD have to be registered domains and must be resolvable.

SOME hosts do not permit ADD-ON domains, and some do.

You should speak to your host about this, and if you can add more domains to your hosting space, then do this the proper way through C-Panel.

If you do not know how to do it, then provide the additional domain names to your host, and ask them to set up the ADD-ON domains for you.#

It takes less than a minute to configure an ADD-ON domain, so don't let them tell you it is a complex and expensive job. It isn't.

7 Mar 2013, 6:44 PM
#1122
lagcher_r avatar

lagcher_r

New Zenner

Join Date:
Sep 2011
Posts:
11
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Ok thanks for all the help. I have to study al of this a bit and I'm sure I can get this to work.

7 Mar 2013, 8:23 PM
#1123
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

lagcher.r:

Ok thanks for all the help. I have to study al of this a bit and I'm sure I can get this to work.
No problem, and make sure the document root folders are not nested. They should look something like:

/username/ --+
             |
             +--public_html/
             |
             +--domain2/public_html/
             |
             +--domain3/public_html/
7 Mar 2013, 8:23 PM
#1124
lagcher_r avatar

lagcher_r

New Zenner

Join Date:
Sep 2011
Posts:
11
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I just realized, my current web host does not use cpanel. The host I used in the past had cpanel.(hostgator).
No other option now than to contact webhost support again, or do you have any other ideas?
Hate webhost support because 9 out of 10 times they couldn't help me and I had to figure out problems myself.

7 Mar 2013, 9:47 PM
#1125
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

lagcher.r:

I just realized, my current web host does not use cpanel. The host I used in the past had cpanel.(hostgator).
No other option now than to contact webhost support again, or do you have any other ideas?
Hate webhost support because 9 out of 10 times they couldn't help me and I had to figure out problems myself.

If you intend to run eCommerce then a critical part of your business operation is a proper, reliable and knowledgeable host. It seems like you have gone with a "cheap and nasty" crowd in an effort to save yourself a couple of dollars. In fact, you have gone down a very expensive road... How long have you been spending on this problem of add-on domains? Setting up two or three add-on domains will take no more than four minutes if you are hosting with a good host. By now, you could have had three or four eCommerce sites set up and working well. Instead, you have made no progress at all.

You have puzzled over this for several DAYS, and you are no closer to resolving your issue.

Do yourself a big favour... spend a dollar or two more, and get with a good host.

7 Mar 2013, 9:53 PM
#1126
lagcher_r avatar

lagcher_r

New Zenner

Join Date:
Sep 2011
Posts:
11
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

This is a respectable and well known host in the netherlands. I did not choose this webhosting because it was"cheap" I chose it because it had been recommended by many statisfied users. The only thing is their support that could be better.

7 Mar 2013, 9:58 PM
#1127
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Are you able to configure add-on domains by yourself? Or do you rely on "support" which looks like it takes some time to respond.

A GOOD host will permit their users significant levels of server management - particularly when eCommerce is involved.

Again... you need a host that HELPS you run your business. If this one is not up to being your "partner", then go find one that is. It matters not if they came "highly recommended"... if you cannot get the level of management and service you require, they are a hindrance to your business.

7 Mar 2013, 10:15 PM
#1128
lagcher_r avatar

lagcher_r

New Zenner

Join Date:
Sep 2011
Posts:
11
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Your right, i'm going to contact them tommorow. If they can't help me I will be looking for a better hosting
company.

8 Mar 2013, 3:26 PM
#1129
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 v4.x

schoolboy:

I beg to differ... the person who I assisted installed this under the "ignorant" pretext that it helped SEO... I have helped his see the "error of his ways" and pointed him to a topic that is far more relevant. As his goal is for better SEO, then it is essential that we steer him away from these URL re-writers. and briefly explain why.But you didn't know that BEFORE you posted -- what amounts to an off-topic response.. Your initial responses purpose was not to provide assistance with module support (which IS the purpose of THIS support thread). You only found out his "SEO intent" after he responded back. You say, "I have helped his see the "error of his ways" and pointed him to a topic that is far more relevant." except you are continuing this line of discussion in this support thread despite the fact that it's no longer ON -TOPIC. The continued discussion of the merits or non-merits of this module really should be a discussion continued elsewhere, and NOT in this support thread..

As I said I get your POV with regards to these kinds of modules and SEO, but no disrespect, this SUPPORT thread is not the place to continually express it.. This is a support thread for the Ceon URI module. How is your post on-topic for a module support thread?? If you want to inform someone you assume is "under the "ignorant" pretext that it helped SEO", then why not PM the person if it's so important to educate them. Why the off topic posts here in this support thread? I find it curious that until Conor's passing, you never made any appearances in this SUPPORT thread to help those "under the "ignorant" pretext that it helped SEO".

schoolboy:

You just need to look at the number of "views" that threads relating to "SEO URL's" have generated over the years... collectively more than three quarters of a million - and that suggests to me that:-

  1. Large swathes of zencart humanity have significant problems with these nonsensical, pointless add-ons.
  2. A substantial percentage remains "ignorant" about their value (which is zero).

:D

ANY incorrectly installed module can affect the store's visibility and functionality.. With regards to the "Large swathes of zencart humanity have significant problems with these nonsensical, pointless add-ons" and THIS add-on, it is EASY to look through this support thread and see that issues can be traced back to the points I made previously.

DivaVocals:

Based on the posts in this support thread, the issues related to installation of this module have everything to do with shopowners not fully understanding how to troubleshoot installation issues when they occur. The common issues reported here (unlike the SSU module which is flat out BROKEN) usually revolve around some common themes:

  • not uploading ALL the required files
  • not understanding how to merge the core file changes
  • a lack of understanding on how to configure the re-write rules

These can all lead to issues and a less than satisfactory result.

These kinds of installation issues are NOT unique to this module by any stretch of the imagination.. These are the very same kind of issues which causes folks to foul up all kinds of module installs.

8 Mar 2013, 3:40 PM
#1130
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 v4.x

schoolboy:

As lhungil has said, you need to set up ADD-ON DOMAINS on your hosting account. In order to do this, the domain(s) you intend to ADD have to be registered domains and must be resolvable.

SOME hosts do not permit ADD-ON domains, and some do.

You should speak to your host about this, and if you can add more domains to your hosting space, then do this the proper way through C-Panel.

If you do not know how to do it, then provide the additional domain names to your host, and ask them to set up the ADD-ON domains for you.#

It takes less than a minute to configure an ADD-ON domain, so don't let them tell you it is a complex and expensive job. It isn't.

lhungil:

No problem, and make sure the document root folders are not nested. They should look something like:

/username/ --+
|
+--public_html/
|
+--domain2/public_html/
|
+--domain3/public_html/


> **schoolboy:**
>
> If you intend to run eCommerce then a critical part of your business operation is a proper, reliable and knowledgeable host. It seems like you have gone with a "cheap and nasty" crowd in an effort to save yourself a couple of dollars. In fact, you have gone down a very expensive road... How long have you been spending on this problem of add-on domains? Setting up two or three add-on domains will take no more than four minutes if you are hosting with a good host. By now, you could have had three or four eCommerce sites set up and working well. Instead, you have made no progress at all.
> 
> You have puzzled over this for several DAYS, and you are no closer to resolving your issue.
> 
> Do yourself a big favour... spend a dollar or two more, and get with a good host.

> **schoolboy:**
>
> Are you able to configure add-on domains by yourself? Or do you rely on  "support" which looks like it takes some time to respond.
> 
> A GOOD host will permit their users significant levels of server management - particularly when eCommerce is involved.
> 
> Again... you need a host that HELPS you run your business. If this one  is not up to being your "partner", then go find one that is. It matters  not if they came "highly recommended"... if you cannot get the level of  management and service **you** require, they are a hindrance to your business.
nods in agreement with ALL of this!!! :yes:

> **lagcher.r:**
>
> This is a respectable and well known host in  the netherlands. I did not choose this webhosting because it was"cheap" I  chose it because it had been recommended by many statisfied users. The  only thing is their support that could be better.
I have to agree with EVERYTHING lhungil and schoolboy have said.. and wanted to only add this.. You said a MOUTHFUL when you said "*The only thing is their support that could be better*" 

That my friend is your CLUE/HINT/BURNING BUSH, what have you that you NEED a new host for your website.. Schoolboy is right.. All the time you spent trying to figure this out, could have been avoided with the RIGHT hosting company.. You need one that is a HELP not a hindrance to your site and schoolboy rightly pointed out..
10 Mar 2013, 9:49 PM
#1131
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 v4.x

Following lhungil's example, I thought that it would be good to add this post to this support thread..

On another note:

This thread's purpose is to support "Ceon URI Mapping". It provides a place for people new to the module as well as experienced users of the module to interact and help each other install, upgrade, and use this module. It also provides a place for people to report any potential bugs they may have found (as well as fixes).

I would ask everyone who reads (or posts) to this thread keep the above stated purpose of this thread in mind. Kindly keep the posts in this thread relevant to the above stated purpose. I encourage people to discuss other topics, but please discuss them in a different thread in a relevant section of the forums.

For those asking for help: keep in mind the people on the Zen Cart forums are not here 24x7 and for the most part give freely of their personal time to help. It may take a couple days for someone to read your message. So be patient when asking for help. I would also re-iterate reading the "Posting Tips" (scroll up when posting / replying) is a good idea. Answering the questions found in the "Posting Tips" will help save time and helps give those reading your post a better picture of what might be causing the problem you are experiencing.

Thank You

13 Mar 2013, 3:25 AM
#1132
mikebr avatar

mikebr

Zen Follower

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

Re: Ceon URI Mapping v4.x

ZC 1.5

I'm trying to determine what code should be placed in the .httaccess file to prevent certain URI's containing certain character strings from rewriting.

The code I have is for character string x45poty:

# Don't rewrite URI if contains "x45poty" string 

RewriteCond %{REQUEST_URI} !^/x45poty [NC]

This doesn't work.
Any suggestions would be greatly appreciated.

20 Mar 2013, 5:35 PM
#1133
joepixel avatar

joepixel

New Zenner

Join Date:
May 2008
Location:
orlando, florida
Posts:
28
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Has anyone had issues with CEON not playing well with Captcha? The Captcha field does not appear on the contact or create account page when the URI is set. I changed the URI for the contact page to /index.phpmain_pagecontact_us and the Captcha now appears. But, the login page does not show the Captcha and then errors out when a new account is created, showing that Captcha was not entered. I tried changing the URI mapping on both the login and create account pages with no luck. So, I had to disable Captcha on create account.

20 Mar 2013, 6:00 PM
#1134
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 v4.x

joepixel:

Has anyone had issues with CEON not playing well with Captcha? The Captcha field does not appear on the contact or create account page when the URI is set. I changed the URI for the contact page to /index.phpmain_pagecontact_us and the Captcha now appears. But, the login page does not show the Captcha and then errors out when a new account is created, showing that Captcha was not entered. I tried changing the URI mapping on both the login and create account pages with no luck. So, I had to disable Captcha on create account.
Did you try a thread search to search this thread for CAPTCHA? If this has been an reported issue you ahould find the info that way..

27 Mar 2013, 9:48 PM
#1135
petleyj avatar

petleyj

Zen Follower

Join Date:
Jul 2009
Location:
Norwich, UK
Posts:
122
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Guys, installed the plugin, added the code for .htaccess - I have an issue. If i have yourdomain.co.uk/blog ect and it's now showing the page not found.

Any ideas on what to do, or could someone include a fresh .htaccess file?

Thanks.

James

27 Mar 2013, 11:14 PM
#1136
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 v4.x

PetleyJ:

Hi Guys, installed the plugin, added the code for .htaccess - I have an issue. If i have yourdomain.co.uk/blog ect and it's now showing the page not found.

Any ideas on what to do, or could someone include a fresh .htaccess file?

Thanks.

James

What would be REALLY helpful is to post the .htaccess file.. (will keep folks from guessing a bit..) Also a link to the site would also help.. Are you sure the issue isn't with your blog's .htaccess file???

28 Mar 2013, 10:10 AM
#1137
petleyj avatar

petleyj

Zen Follower

Join Date:
Jul 2009
Location:
Norwich, UK
Posts:
122
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Diva,

the link is: --- WARNING!! ADULT SITE! NSFW! http://naughtynightsuk.co.uk

If you try /competitions or /community ect you will see it comes up with the ZC sitemap.

I can confirm the directories are there.

Here's what's in the .htaccess file in the root.

BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On

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

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

Don't rewrite any URIs for some, popular specific file format extensions,

which are not covered by main file extension condition above

RewriteCond %{REQUEST_URI} !.(mp3|mp4|h264)$ [NC]

Don't rewrite any URIs for some specific file format extensions,

which are not covered by main file extension condition above

Uncomment the following line to apply this condition! (Remove the # at the start of the next line)

#RewriteCond %{REQUEST_URI} !.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/administration [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors/ [NC]

Don't rewrite bellsconfectionary directory

RewriteCond %{REQUEST_URI} !^/bellsconfectionary/ [NC]

Don't rewrite logs directory

RewriteCond %{REQUEST_URI} !^/logs/ [NC]

Don't rewrite blog directory

RewriteCond %{REQUEST_URI} !^/blog/ [NC]

Don't rewrite wpimages directory

RewriteCond %{REQUEST_URI} !^/wpimages/ [NC]

Don't rewrite tempEP directory

RewriteCond %{REQUEST_URI} !^/tempEP/ [NC]

Don't rewrite bells directory

RewriteCond %{REQUEST_URI} !^/bells/ [NC]

Don't rewrite adultshoppingdirect directory

RewriteCond %{REQUEST_URI} !^/adultshoppingdirect/ [NC]

Don't rewrite toycleaner.co.uk directory

RewriteCond %{REQUEST_URI} !^/toycleaner.co.uk/ [NC]

Don't rewrite waste directory

RewriteCond %{REQUEST_URI} !^/waste/ [NC]

Don't rewrite shop directory

RewriteCond %{REQUEST_URI} !^/shop/ [NC]

Don't rewrite cuminajiffy.co.uk directory

RewriteCond %{REQUEST_URI} !^/cuminajiffy.co.uk/ [NC]

Don't rewrite parties directory

RewriteCond %{REQUEST_URI} !^/parties/ [NC]

Don't rewrite te-amouk directory

RewriteCond %{REQUEST_URI} !^/te-amouk/ [NC]

Don't rewrite classes directory

RewriteCond %{REQUEST_URI} !^/classes/ [NC]

Don't rewrite optional arrows directory

RewriteCond %{REQUEST_URI} !^/optional\ arrows/ [NC]

Don't rewrite community directory

RewriteCond %{REQUEST_URI} !^/community/ [NC]

Don't rewrite hub directory

RewriteCond %{REQUEST_URI} !^/hub/ [NC]

Don't rewrite competitions directory

RewriteCond %{REQUEST_URI} !^/competitions/ [NC]

Don't rewrite modules directory

RewriteCond %{REQUEST_URI} !^/modules/ [NC]

Don't rewrite cgi-bin directory

RewriteCond %{REQUEST_URI} !^/cgi-bin/ [NC]

Don't rewrite 50shadesgrey.co.uk directory

RewriteCond %{REQUEST_URI} !^/50shadesgrey.co.uk/ [NC]

Don't rewrite question directory

RewriteCond %{REQUEST_URI} !^/question/ [NC]

Don't rewrite myfiles directory

RewriteCond %{REQUEST_URI} !^/myfiles/ [NC]

Don't rewrite wpscripts directory

RewriteCond %{REQUEST_URI} !^/wpscripts/ [NC]

Don't rewrite anglia-courier-services.co.uk directory

RewriteCond %{REQUEST_URI} !^/anglia-courier-services.co.uk/ [NC]

Don't rewrite wp-content directory

RewriteCond %{REQUEST_URI} !^/wp-content/ [NC]

Don't rewrite affiliates directory

RewriteCond %{REQUEST_URI} !^/affiliates/ [NC]

Don't rewrite languages directory

RewriteCond %{REQUEST_URI} !^/languages/ [NC]

Don't rewrite kmlcommerce.co.uk directory

RewriteCond %{REQUEST_URI} !^/kmlcommerce.co.uk/ [NC]

Don't rewrite sitemap directory

RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]

Don't rewrite extra_datafiles directory

RewriteCond %{REQUEST_URI} !^/extra_datafiles/ [NC]

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

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

I couldn't upload the file due to invalid extension.

James

28 Mar 2013, 4:03 PM
#1138
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

mikebr:

... I'm trying to determine what code should be placed in the .httaccess file to prevent certain URI's containing certain character strings from rewriting. ...

Don't rewrite URI if contains "x45poty" string 


RewriteCond %{REQUEST_URI} !^/x45poty [NC]
...
If you want to exclude all URIs containing the string "x45poty" (case insensitive) use the following:

# Don't rewrite URI if contains "x45poty" string 

RewriteCond %{REQUEST_URI} !x45poty [NC]

PetleyJ:

Hi Guys, installed the plugin, added the code for .htaccess - I have an issue. If i have yourdomain.co.uk/blog ect and it's now showing the page not found. ... I couldn't upload the file due to invalid extension.
When checking I was able to get into the blog without any issues... Take it you were able to get things sorted? Without seeing the problematic behavior one can only guess what the problem was. Could you post what was needed for future readers of this thread?

Other thoughts:
When uploading I highly recommend using FTPS or SFTP with WinSCP, Filezilla, or similar. They do not care what the file extension is and using a secure version of FTP with an ecommerce site is always a good idea.

As for the matching to exclude the blog... Do you really have images for your blog at /wp-images instead of under /blog/wp-content? The less excludes, the simpler it will be to debug and the faster the request can be processed. If you want to exclude both /blog and /blog/someurl (some incoming links might incorrectly specify /blog instead of /blog/) you can change the RewriteCond for the blog to match the EOL or /.

# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog($|/) [NC]

I also noticed you are running multiple domains using nested Document Roots (public_html). This is not best practice and can lead to some negative situations. You may want to look into (or have your hosting provider) remove the nested Document Roots and provide separate physical paths for each domain. See this post for an example.

28 Mar 2013, 5:56 PM
#1139
petleyj avatar

petleyj

Zen Follower

Join Date:
Jul 2009
Location:
Norwich, UK
Posts:
122
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

lhungil:

If you want to exclude all URIs containing the string "x45poty" (case insensitive) use the following:

Don't rewrite URI if contains "x45poty" string 


RewriteCond %{REQUEST_URI} !x45poty [NC]

> 
> 
> When checking I was able to get into the blog without any issues... Take it you were able to get things sorted? Without seeing the problematic behavior one can only guess what the problem was. Could you post what was needed for future readers of this thread?
> 
> *Other thoughts:*
> When uploading I highly recommend using FTPS or SFTP with WinSCP, Filezilla, or similar. They do not care what the file extension is and using a secure version of FTP with an ecommerce site is always a good idea.
> 
> As for the matching to exclude the blog... Do you really have images for your blog at /wp-images instead of under /blog/wp-content? The less excludes, the simpler it will be to debug and the faster the request can be processed. If you want to exclude both /blog and /blog/someurl (some incoming links might incorrectly specify /blog instead of /blog/) you can change the RewriteCond for the blog to match the EOL or /.
> ```
# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog($|/) [NC]

I also noticed you are running multiple domains using nested Document Roots (public_html). This is not best practice and can lead to some negative situations. You may want to look into (or have your hosting provider) remove the nested Document Roots and provide separate physical paths for each domain. See this post for an example.

Hi.
Thanks for the advice.

The blog seems to run on and off, it's more the /competitions and /community that isn't working.

wp-images is for a different program altogether, not for WordPress.

James

28 Mar 2013, 6:58 PM
#1140
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

PetleyJ:

The blog seems to run on and off, it's more the /competitions and /community that isn't working.
Apply the same fix to the RewriteCond I posted for the blog. I'd actually apply the change to any external directory you want to exclude to handle the case where an incoming link (or hand typed URI) is missing the trailing slash.

# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog($|/) [NC]
# Don't rewrite community directory
RewriteCond %{REQUEST_URI} !^/community($|/) [NC]
# Don't rewrite competitions directory
RewriteCond %{REQUEST_URI} !^/competitions($|/) [NC]

While there are other methods to simplify the RewriteConds (such as excluding all real folders and files from rewriting), I have an inkling of why the original author of this mod may have decided to not go this route.

If you did not obscure your admin folder when you posted your .htaccess file, I would recommend changing the admin folder asap :)