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

Ceon URI Mapping v4.x

Views: 452,151

Results 1,101 to 1,120 of 2,454
6 Mar 2013, 9:31 PM
#1101
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Ceon URI Mapping v4.x

GodfatherAntiques:

I have removed all files from site and now i'm having a bit of a problem. My site is showing HTTP 500 Internal Server Error. My site is qualityautowi.com. I can still log into the back admin, but the front of the site is having problem's. Any help would be greatly appreciated.

Did you remove the entries in your .htaccess file that are required for this module to work?? Sounds like the Ceon entries are still in place in your .htaccess file.. Rollback your store to the pre-install state, and you should be good to go..

Going forward you ALWAYS want to back up your store and the database before installing modules.. This way you have a fallback position when you have issues or want to uninstall.. Never install another module before fully testing that the module you have installed is installed correctly and is working completely as it should..

6 Mar 2013, 9:31 PM
#1102
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I'm not getting any information in my cache folder. It shouldn't give me any errors at all. Also I did remove the .htaccess file that was required for this module. Don't know why this would be a problem.

6 Mar 2013, 9:36 PM
#1103
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

GodfatherAntiques:

I have removed all files from site and now i'm having a bit of a problem. My site is showing HTTP 500 Internal Server Error. My site is qualityautowi.com. I can still log into the back admin, but the front of the site is having problem's. Any help would be greatly appreciated.

Did you uninstall the way the read me files tell you too, or did you just go and delete files. I use the paid for version of Ceon URI Mappings and Ceon Mappings Manager and it works perfectly. It takes a while to install as you HAVE TO use a program like WinMerge to compare code as some files have changes in them - you cannot just overwrite your files. You also have to follow the instructions very carefully regarding your .htaccess file - the module in admin actually gives you the code to put in there.

The module is great, works well and Conar did a fantastic job with the installation instructions, so my guess is you are just missing a step somewhere.

Have a look in your cache folder now and see if there are any log files in there - these would help pinpoint errors too.

6 Mar 2013, 9:37 PM
#1104
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

GodfatherAntiques:

I'm not getting any information in my cache folder. It shouldn't give me any errors at all. Also I did remove the .htaccess file that was required for this module. Don't know why this would be a problem.Error logs for v1.5.1 are in the LOGS folder..

You do not remove the .htaccess file only the changes you made to it to support this module..

I am going to suggest again that you simply restore your site and the database to the state it was BEFORE you installed this module..

gandalfsmith:

Did you uninstall the way the read me files tell you too, or did you just go and delete files. I use the paid for version of Ceon URI Mappings and Ceon Mappings Manager and it works perfectly. It takes a while to install as you HAVE TO use a program like WinMerge to compare code as some files have changes in them - you cannot just overwrite your files. You also have to follow the instructions very carefully regarding your .htaccess file - the module in admin actually gives you the code to put in there.

The module is great, works well and Conar did a fantastic job with the installation instructions, so my guess is you are just missing a step somewhere.

Have a look in your cache folder now and see if there are any log files in there - these would help pinpoint errors too.
nods in agreement :yes:

6 Mar 2013, 9:38 PM
#1105
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

GodfatherAntiques:

I'm not getting any information in my cache folder. It shouldn't give me any errors at all. Also I did remove the .htaccess file that was required for this module. Don't know why this would be a problem.

You should not remove your entire .htaccess file-only the code part that relates to this module. Hopefully you have a backup of your .htaccess file - there may have been rules written in there that apply to your site but are not specific to the module.

6 Mar 2013, 9:40 PM
#1106
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I fixed it I guess it didn't overide some of the files. I hate when that happens. Thanks for your help.

6 Mar 2013, 9:53 PM
#1107
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

GodfatherAntiques:

I fixed it I guess it didn't overide some of the files. I hate when that happens. Thanks for your help.
Glad to hear this..:smile:

want to reiterate some points both gandalfsmith and I made for any future module installs

DivaVocals:

Going forward you ALWAYS want to back up your store and the database before installing modules.. This way you have a fallback position when you have issues or want to uninstall.. Never install another module before fully testing that the module you have installed is installed correctly and is working completely as it should..

gandalfsmith:

you HAVE TO use a program like WinMerge to compare code as some files have changes in them - you cannot just overwrite your files. You also have to follow the instructions very carefully'

Have a look in your cache folder now and see if there are any log files in there - these would help pinpoint errors too.[DivaVocals Edit:applies to v1.3.9 and v1.5.. in v1.5.1 error logs are in the LOGS folder not the cache folder]

6 Mar 2013, 10:25 PM
#1108
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Ok I completely backup site to previous version and reinstalled the add on again, but I'm not getting anywhere. Still the under configuration it is showing the same thing. I have installed this on my localhost and that page is showing. So im completely lost here. I don't know what i'm missing. I've never had this kind of a problem with other add ons. Anybody with better information of why this is not working will be greatly appreciated. This is the 3rd time trying to reinstall this and getting nowhere. Thank you Also I always backup the site everyweek and I am using WinMerge for all modified core files.

7 Mar 2013, 4:30 AM
#1109
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

GodfatherAntiques:

Ok I completely backup site to previous version and reinstalled the add on again, but I'm not getting anywhere. Still the under configuration it is showing the same thing. I have installed this on my localhost and that page is showing. So im completely lost here. I don't know what i'm missing. I've never had this kind of a problem with other add ons. Anybody with better information of why this is not working will be greatly appreciated. This is the 3rd time trying to reinstall this and getting nowhere. Thank you Also I always backup the site everyweek and I am using WinMerge for all modified core files.Did you restore the site files AND the database?? The issue with your install seems to indicate that the admin page registration got fouled up. Those entries are in the database, and there are files to support this as well. So either the database entries are incorrect or the definition pages that go along with those entries are missing from your installation.. You should restore the whole site including your DB, and try installing again.. If you still are having issues you may want to consider finding a professional resource and paying them to help you straighten out your install..

7 Mar 2013, 7:27 AM
#1110
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Ceon URI Mapping v4.x

GodfatherAntiques:

I really appreciate your information schoolboy....I will look into your information you provided. The only reason I was trying to get this to work is for seo ranking. So I'm guessing it's not worth fixing this problem. Well with that being said I'm going to remove this from my site. Thank you for your help.

Glad to have put you on the right track.

Regardless of other commentary on the "usefulness" of these modules, they are ALL extremely fragile and the potential for doing damage to your site's visibility and discoverability is far greater than any "perceived" advantages of having "nice url's". Conor was indeed a genius, and you are pretty safe with most of his stuff - but I did discover a couple of flaws in his SagePay module a few years back (which I pointed out to him) and he happily corrected them. So all of us are fallible.

As far as "ignorant masses" is concerned. This is not to cause offence. Being ignorant of something is no crime. MOST people still believe that these "nice url's" positively influence page rank on search engines. This is a result of ignorance. I am simply putting the facts straight, and pointing people to what really matters with seo.

7 Mar 2013, 2:11 PM
#1111
lagcher_r avatar

lagcher_r

New Zenner

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

Re: Ceon URI Mapping v4.x

Hello guys, I have a problem.

Zen cart v1.39h
ceon uri mapping v4.0.8

I have a zen cart website: will call it https://www.mysite1.com
I want to create a second zen cart website on the same webhost account.
I have uploaded a folder with the zen cart install files to public_html/mysite2.com
Every time i typ in my website adress https://www.mysite2.com it gets redirected to https://www.mysite1.com.
I think the .htaccess file is the problem,i had contact with my webshost support and they confirmed that the htaccess is the problem.
They gave me advice how to fix it but it didn't help. I used the example htaccess fom the ceon uri mapping module.
I don't know what to change in the htaccess file to make it work.

here's my htaccess

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} !^/ZCadmin_RAY [NC]

Don't rewrite editors directory

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

Don't rewrite ext directory

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

Don't rewrite sitemap directory

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

Don't rewrite webstats directory

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

Don't rewrite min directory

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

Don't rewrite bmz_cache directory

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

Don't rewrite mail directory

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

Don't rewrite cgi-bin directory

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

Don't rewrite fonts directory

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

Don't rewrite mysite2 directory

RewriteCond %{REQUEST_URI} !^/mysite2.com/ [NC]

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

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

Thanks.

7 Mar 2013, 2:23 PM
#1112
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

[QUOTE=schoolboy;1191100]Glad to have put you on the right track.

schoolboy:

Regardless of other commentary on the "usefulness" of these modules, they are ALL extremely fragile and the potential for doing damage to your site's visibility and discoverability is far greater than any "perceived" advantages of having "nice url's". Conor was indeed a genius, and you are pretty safe with most of his stuff - but I did discover a couple of flaws in his SagePay module a few years back (which I pointed out to him) and he happily corrected them. So all of us are fallible.
As for the fragility of this module, and it's potential to "doing damage to your site's visibility and discoverability", the same can be said of ANY module which causes a site to behave as it shouldn't.. I am working on a site now for a client where the product pages are not displaying as they should because he incorrectly installed a discount module and then improperly attempted to remove the module after incorrectly installing it. This is now preventing the product pages from rendering correctly. This example certainly is a situation where a module is "doing damage to your site's visibility and discoverability". Let me be clear that there's NOTHING wrong with the discount module. The issue has EVERYTHING to do with the fact that the shopowner installed this module incorrectly and after not being able to correct the installation issue, he "removed" it hence causing the product pages to stop rendering properly..

Yes Conor was fallible.. he was after all human.:smile: But the general QUALITY of his modules, and the fact that releasing quality code was important to him IMHO makes this and other modules written written by him safe to use.

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.

However, that is not unique to this module or even Zen Cart.. Even in frameworks which build in features to support generating "pretty URLs" there can be issues created by the siteowner improperly configuring things. In WordPress for example incorrectly configuring one's permalinks can lead to similar issues, the same is true of PrestaCart and other frameworks as well.

Fortunately Conor did a pretty good job of trying to make this module as "bulletproof" as he possibly could. The very detailed and well written readme document, installation checker function, and the re-write rule assistant all are there to help ensure that a shopowner can install this module with minimal issues.

I agree that the perceived SEO benefit of pretty URLs is NOT a reason to install this module.. Pretty URLs are not a substitute for what REALLY matters with regards to SEO, and to Conor's credit he has said the same multiple times.. However there are plenty of other valid business reasons to want to have "pretty" URLs and this module when properly installed will do that.

schoolboy:

As far as "ignorant masses" is concerned. This is not to cause offence. Being ignorant of something is no crime. MOST people still believe that these "nice url's" positively influence page rank on search engines. This is a result of ignorance. I am simply putting the facts straight, and pointing people to what really matters with seo.And that's awesome, but this entire line of discussion is still very much off topic in a support thread in response to a request for installation/configuration assistance. Conor was very good about NOT using this support thread for such a discussion because he recognized that it is off topic. There are a TON of threads which discuss this topic. I don't think that this support thread is the proper place to start or continue this line of discussion.

7 Mar 2013, 2:35 PM
#1113
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

I wonder if there isn't another possible issue.. If you cloned "Site2" from the files for "Site1", check that your configure.php file for "Site2" does NOT contain references to "Site1"

lagcher.r:

Hello guys, I have a problem.

Zen cart v1.39h
ceon uri mapping v4.0.8

I have a zen cart website: will call it www.mysite1.com
I want to create a second zen cart website on the same webhost account.
I have uploaded a folder with the zen cart install files to public_html/mysite2.com
Every time i typ in my website adress www.mysite2.com it gets redirected to www.mysite1.com.
I think the .htaccess file is the problem,i had contact with my webshost support and they confirmed that the htaccess is the problem.
They gave me advice how to fix it but it didn't help. I used the example htaccess fom the ceon uri mapping module.
I don't know what to change in the htaccess file to make it work.

here's my htaccess

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} !^/ZCadmin_RAY [NC]

Don't rewrite editors directory

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

Don't rewrite ext directory

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

Don't rewrite sitemap directory

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

Don't rewrite webstats directory

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

Don't rewrite min directory

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

Don't rewrite bmz_cache directory

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

Don't rewrite mail directory

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

Don't rewrite cgi-bin directory

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

Don't rewrite fonts directory

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

Don't rewrite mysite2 directory

RewriteCond %{REQUEST_URI} !^/mysite2.com/ [NC]

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

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

Thanks.

7 Mar 2013, 2:38 PM
#1114
lagcher_r avatar

lagcher_r

New Zenner

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

Re: Ceon URI Mapping v4.x

I did not clone my site1. It is a fresh zen cart install. My first site is a v1.39h and the other zen cart v1.51.

7 Mar 2013, 2:56 PM
#1115
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

lagcher.r:

I did not clone my site1. It is a fresh zen cart install. My first site is a v1.39h and the other zen cart v1.51.

Well there's NOTHING in your .htaccess file I see that would cause a site to redirect one from one domain to a different domain.. (Hopefully someone more knowledge than I can confirm this) so let's go back to your original post

lagcher.r:

Zen cart v1.39h
ceon uri mapping v4.0.8

I have a zen cart website: will call it www.mysite1.com
I want to create a second zen cart website on the same webhost account.
I have uploaded a folder with the zen cart install files to public_html/mysite2.com
Every time i typ in my website adress www.mysite2.com it gets redirected to www.mysite1.com.
I think the .htaccess file is the problem,i had contact with my webshost support and they confirmed that the htaccess is the problem.
They gave me advice how to fix it but it didn't help. I used the example htaccess fom the ceon uri mapping module.
I don't know what to change in the htaccess file to make it work.
You state that your host confirmed that the issue is the .htaccess file and gave you advice on how to fix it.

So how did they come to this conclusion??

Exactly what did they suggest to "fix" it??

7 Mar 2013, 2:58 PM
#1116
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Ceon URI Mapping v4.x

DivaVocals:

but this entire line of discussion is still very much off topic in a support thread in response to a request for installation/configuration assistance. I don't think that this support thread is the proper place to start or continue this line of discussion.

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.

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

PS... As I often say, if your site competes with any of mine, then PLEASE install a SEO URL module... :yes: It means we have one less site to worry about in the SERP stakes.

7 Mar 2013, 3:12 PM
#1117
lagcher_r avatar

lagcher_r

New Zenner

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

Re: Ceon URI Mapping v4.x

DivaVocals:

Well there's NOTHING in your .htaccess file I see that would cause a site to redirect one from one domain to a different domain.. (Hopefully someone more knowledge than I can confirm this) so let's go back to your original post

You state that your host confirmed that the issue is the .htaccess file and gave you advice on how to fix it.

So how did they come to this conclusion??

Exactly what did they suggest to "fix" it??

In my cpanel you have an option to point the folder containing the files to the new domain name(mysite2).
The htaccess generated from this should fix this problem.

Here's the htaccess provided by webhost controlpanel.

####CUSTOM_HEADER####
#NL: Place your custom rules here
#EN: Plaats je eigen regels hier

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} !^/ZC_xxx [NC]

Don't rewrite editors directory

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

Don't rewrite ext directory

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

Don't rewrite sitemap directory

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

Don't rewrite webstats directory

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

Don't rewrite min directory

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

Don't rewrite bmz_cache directory

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

Don't rewrite mail directory

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

Don't rewrite cgi-bin directory

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

Don't rewrite fonts directory

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

Don't rewrite mysite2 directory

RewriteCond %{REQUEST_URI} !^/mysite2.com/ [NC]

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

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

####CUSTOM_TAILER####

####ERROR_HEADER####
####ERROR_TAILER####

####SUBDOMAINS_HEADER####
RewriteEngine on
#RULE:www,mysite2.com,/mysite2.com
#RULE:,mysite2.com,/mysite2.com
RewriteCond %{HTTP_HOST} ^www.mysite2.com$
RewriteCond %{REQUEST_URI} !^/mysite2.com/
RewriteRule (.) /mysite2.com/$1 [last]
RewriteCond %{HTTP_HOST} ^mysite2.com$
RewriteCond %{REQUEST_URI} !^/mysite2.com/
RewriteRule (.
) /mysite2.com/$1 [last]
####SUBDOMAINS_TAILER####

they also suggested to move the lines:

RewriteEngine on
#RULE:www,mysite2.com,/mysite2.com
#RULE:,mysite2.com,/mysite2.com
RewriteCond %{HTTP_HOST} ^www.mysite2.com$
RewriteCond %{REQUEST_URI} !^/mysite2.com/
RewriteRule (.) /mysite2.com/$1 [last]
RewriteCond %{HTTP_HOST} ^mysite2.com$
RewriteCond %{REQUEST_URI} !^/mysite2.com/
RewriteRule (.
) /mysite2.com/$1 [last]

under the ####CUSTOM_HEADER#### line.

7 Mar 2013, 4:57 PM
#1118
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:

Hello guys, I have a problem.

Zen cart v1.39h
ceon uri mapping v4.0.8

I have a zen cart website: will call it https://www.mysite1.com
I want to create a second zen cart website on the same webhost account.
I have uploaded a folder with the zen cart install files to public_html/mysite2.com
Every time i typ in my website adress https://www.mysite2.com it gets redirected to https://www.mysite1.com.
I think the .htaccess file is the problem,i had contact with my webshost support and they confirmed that the htaccess is the problem.
This sounds like an issue with the way your hosting company (or you via cPanel) configured the new domain. You need to define separate public_html folders for each domain (cPanel calls them "document root"). This eliminates the need for complicated .htaccess rules in each folder to handle redirections caused by two domains sharing a document root.

If your hosting provider has your site structured with "/username/public_html"... You can configure separate document root folders using cPanel for the second domain. This MUST be done when the domain is added. If it was not you would need to remove and re-add the domain. Under cPanel go to "Domains" > "Add-On domains". You should see the option to remove existing domains and also the option to add a new domain. One of the fields when adding a domain is "document root". This would then become "/username/domain2/public_html". Why the extra folder in the middle? So your new domain has somewhere to place sensitive files such as "cache", "logs", and other data if needed.

If your hosting provider does not give you write access to a folder below the "public_html" (document root) folder, you may want to look at a different provider. Having a place to store sensitive data is a good idea, and lets you setup multiple domains with less hassle.

I have a few clients who have multiple domains hosted with companies using cPanel and this method works well.

Alternatively you can add an exclusion to the .htaccess rules added by CEON URI Mapping to exclude requests made for domain2.com. But you will have to make a number of changes in domain2.com for domain2.com's .htaccess rules to work with CEON URI Mapping... It will be easier and better in the long run to just configure both domains on the server (via cPanel) with separate "public_html" (document root) folders.

7 Mar 2013, 6:21 PM
#1119
lagcher_r avatar

lagcher_r

New Zenner

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

Re: Ceon URI Mapping v4.x

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?

7 Mar 2013, 6:23 PM
#1120
lagcher_r avatar

lagcher_r

New Zenner

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

Re: Ceon URI Mapping v4.x

lhungil:

This sounds like an issue with the way your hosting company (or you via cPanel) configured the new domain. You need to define separate public_html folders for each domain (cPanel calls them "document root"). This eliminates the need for complicated .htaccess rules in each folder to handle redirections caused by two domains sharing a document root.

If your hosting provider has your site structured with "/username/public_html"... You can configure separate document root folders using cPanel for the second domain. This MUST be done when the domain is added. If it was not you would need to remove and re-add the domain. Under cPanel go to "Domains" > "Add-On domains". You should see the option to remove existing domains and also the option to add a new domain. One of the fields when adding a domain is "document root". This would then become "/username/domain2/public_html". Why the extra folder in the middle? So your new domain has somewhere to place sensitive files such as "cache", "logs", and other data if needed.

If your hosting provider does not give you write access to a folder below the "public_html" (document root) folder, you may want to look at a different provider. Having a place to store sensitive data is a good idea, and lets you setup multiple domains with less hassle.

I have a few clients who have multiple domains hosted with companies using cPanel and this method works well.

Alternatively you can add an exclusion to the .htaccess rules added by CEON URI Mapping to exclude requests made for domain2.com. But you will have to make a number of changes in domain2.com for domain2.com's .htaccess rules to work with CEON URI Mapping... It will be easier and better in the long run to just configure both domains on the server (via cPanel) with separate "public_html" (document root) folders.

Can this also be done with an ftp client?