Page 187 of 245 FirstFirst ... 87137177185186187188189197237 ... LastLast
Results 1,861 to 1,870 of 2445
  1. #1861
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by raunharman View Post
    I merged the two codes, deleted the lines that seemed repetitive, but still got an Internal Server Error. ...
    Please supply the filesystem layout of the FTP and WEB server. Some examples of common server layouts:
    Code:
    -+- ROOT (FTP root / private)
     |
     +- public_html (WEB root / public / domain 1) - Zen Cart install
     |
     +- domain2 (FTP root / private / domain 2)
     |      |
     |      +- public_html (WEB root / public / domain 2) - Zen Cart install
     
    OR
    
    -+- ROOT (FTP root / private)
     |
     +- public_html (WEB root / public / domain 1) - Zen Cart install
     |      |
     |      +- domain2 (WEB root / public / domain 2) - Zen Cart install
    
    OR
    
    -+- public_html (FTP & WEB root / public / domain 1) - Zen Cart install
     |      |
     |      +- domain2 (WEB root / public / domain 2) - Zen Cart install
    
    OR
    
    -+- public_html (FTP & WEB root / public)
     |      |
     |      +- domain1 (WEB root / public / domain 1) - Zen Cart install
     |      |
     |      +- domain2 (WEB root / public / domain 2) - Zen Cart install
    Also provide the full contents of EACH .htaccess file (in each Zen Cart installation root and any parent folders). Change any "admin folder" references to "admin" to obscure. When supplying the contents of the .htaccess file please use code tags around the content (click the # in the editor to add these). This will make reading them easier.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #1862
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Angel is right about setting up the wholesale site as a sub-domain. You can then redirect traffic from the "Old" URLs to the "New" sub-domain URL using a rewrite rule. I'm on a mobile device so I don't have the exact rule off the top of my head.. but I'm sure others here can help with that..

    In the meantime we can't help solve your current issue without seeing the contents of your .htaccess file for the wholesale site..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #1863
    Join Date
    Dec 2005
    Posts
    166
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by lhungil View Post
    Please supply the filesystem layout of the FTP and WEB server. Some examples of common server layouts:
    Code:
    -+- ROOT (FTP root / private)
     |
     +- public_html (WEB root / public / domain 1) - Zen Cart install
     |
     +- domain2 (FTP root / private / domain 2)
     |      |
     |      +- public_html (WEB root / public / domain 2) - Zen Cart install
     
    OR
    
    -+- ROOT (FTP root / private)
     |
     +- public_html (WEB root / public / domain 1) - Zen Cart install
     |      |
     |      +- domain2 (WEB root / public / domain 2) - Zen Cart install
    
    OR
    
    -+- public_html (FTP & WEB root / public / domain 1) - Zen Cart install
     |      |
     |      +- domain2 (WEB root / public / domain 2) - Zen Cart install
    
    OR
    
    -+- public_html (FTP & WEB root / public)
     |      |
     |      +- domain1 (WEB root / public / domain 1) - Zen Cart install
     |      |
     |      +- domain2 (WEB root / public / domain 2) - Zen Cart install
    Also provide the full contents of EACH .htaccess file (in each Zen Cart installation root and any parent folders). Change any "admin folder" references to "admin" to obscure. When supplying the contents of the .htaccess file please use code tags around the content (click the # in the editor to add these). This will make reading them easier.


    Thanks for your elaborate answer.

    Actually it goes like this:
    public_html (FTP & WEB root / public / domain 1) - Zen Cart install
    public_html (FTP & WEB root / public / domain 1/folder) - Zen Cart install

    The wholesale site does not have a separate domain name yet. it is in a folder by the name wedding_prom_dresses

    The htaccess for domain1 is as follows:
    ## 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} !^/admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite scarves directory
    RewriteCond %{REQUEST_URI} !^/scarves/ [NC]
    # Don't rewrite wedding_prom_dresses directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/ [NC]
    # Don't rewrite cron directory
    RewriteCond %{REQUEST_URI} !^/cron/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
    # Don't rewrite twitter directory
    RewriteCond %{REQUEST_URI} !^/twitter/ [NC]
    # Don't rewrite jewelry directory
    RewriteCond %{REQUEST_URI} !^/jewelry/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite min directory
    RewriteCond %{REQUEST_URI} !^/min/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE



    and the htaccess for the wholesale site is:

    ## BEGIN CEON URI MAPPING REWRITE RULE

    RewriteEngine On

    # ONLY rewrite URIs beginning with /wedding_prom_dresses/
    RewriteCond %{REQUEST_URI} ^/wedding_prom_dresses/ [NC]
    # 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} !^/wedding_prom_dresses/admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/editors/ [NC]
    # Don't rewrite cron directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/cron/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/bmz_cache/ [NC]
    # Don't rewrite twitter directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/twitter/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/logs/ [NC]
    # Don't rewrite min directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/min/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* wedding_prom_dresses/index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE


    Thanks for your time.
    http://www.raunharman.com
    http://www.raunharman.net
    Website Development, E-Book Solutions & Handicraft Exports

  4. #1864
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by raunharman View Post
    Thanks for your elaborate answer.

    Actually it goes like this:
    public_html (FTP & WEB root / public / domain 1) - Zen Cart install
    public_html (FTP & WEB root / public / domain 1/folder) - Zen Cart install

    The wholesale site does not have a separate domain name yet. it is in a folder by the name wedding_prom_dresses

    The htaccess for domain1 is as follows:
    ## 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} !^/admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite scarves directory
    RewriteCond %{REQUEST_URI} !^/scarves/ [NC]
    # Don't rewrite wedding_prom_dresses directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/ [NC]

    # Don't rewrite cron directory
    RewriteCond %{REQUEST_URI} !^/cron/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
    # Don't rewrite twitter directory
    RewriteCond %{REQUEST_URI} !^/twitter/ [NC]
    # Don't rewrite jewelry directory
    RewriteCond %{REQUEST_URI} !^/jewelry/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite min directory
    RewriteCond %{REQUEST_URI} !^/min/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE



    and the htaccess for the wholesale site is:

    ## BEGIN CEON URI MAPPING REWRITE RULE

    RewriteEngine On

    # ONLY rewrite URIs beginning with /wedding_prom_dresses/
    RewriteCond %{REQUEST_URI} ^/wedding_prom_dresses/ [NC]
    # 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} !^/wedding_prom_dresses/admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/editors/ [NC]
    # Don't rewrite cron directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/cron/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/bmz_cache/ [NC]
    # Don't rewrite twitter directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/twitter/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/logs/ [NC]
    # Don't rewrite min directory
    RewriteCond %{REQUEST_URI} !^/wedding_prom_dresses/min/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* wedding_prom_dresses/index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE


    Thanks for your time.
    It would appear that the issue is that your wholesale site is in a sub-directory of the main site, and you have a re-write rule for your main domain to NOT re-write that same directory.. I STRONGLY suggest that you create a subdomain for the wholesale site, and if your host allows it put it in a folder OUTSIDE your public_html folder.. I have my subdomains on my dev host setup as follows: subdomains/public_html/NAME-OF-MY-SUB-DOMAIN-FOLDER
    This way you can correct the main domain .htaccess, and the sub-domain and main domain will no longer step on each others toes.. You will just need to include a re-write rule to re-direct traffic from your wholesale site's old URL base to the new sub-domain base.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #1865
    Join Date
    Apr 2015
    Location
    brooklyn
    Posts
    8
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    So the centrl issue (and one reason suggested to post your configure.php file though if you do be sure to obscure your DB_PASSWORD) is that the directories (DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG) need to be the same under http as well as https. To accomplish this if so desired with a shared SSL (though also suggest obtaining a dedicated one) is to incorporate the ~ portion into the HTTP_SERVER and HTTPS_SERVER as applicable.

    The .htaccess may also need revision to support this setup, but there are a number of ways to accomplish that.

    I got it to work using the new ssl domain, but howcome it adds (ex: /category/product-name?cPath=37_11&) to the end of every product url?

  6. #1866
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by merica View Post
    I got it to work using the new ssl domain, but howcome it adds (ex: /category/product-name?cPath=37_11&) to the end of every product url?
    If I may suggest reviewing the instructions. This is a result of the product being linked and is normal. The additional content ensures a few things are displayed correctly including the breadcrumbs at the top of the screen.

    Otherwise, congrats on getting it. To work. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #1867
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by raunharman View Post
    ... it goes like this:
    public_html (FTP & WEB root / public / domain 1) - Zen Cart install
    public_html (FTP & WEB root / public / domain 1/folder) - Zen Cart install

    ...

    The htaccess for domain1 is as follows:
    ...
    and the htaccess for the wholesale site is:
    ...
    Do you also have a .htaccess file at either "/.htaccess" or "/public/.htaccess"? Not only are the .htaccess files in the current path run, but also any in a parent path... This is why I typically ask for ALL .htaccess files when trying to help people troubleshoot.

    If you are receiving a "HTTP 500 / Internal Server Error", this usually indicates something is wrong in the .htaccess file (or the server does not like something in the .htaccess file). The WEB SERVER error logs (if enabled by your hosting provider) should indicate the cause of the Internal Server Error.

    Based on the above, it sounds like you have one .htaccess file at "/public/domain1/.htaccess" and another at "/public/domain1/folder/.htaccess"? If so this could be the cause... The rules you list as being in the second .htaccess will not be correct when added at "/public/domain1/folder/.htaccess" (should be added to the START of "/public/domain1/.htaccess" instead).

    Quote Originally Posted by DivaVocals View Post
    ... I STRONGLY suggest that you create a subdomain for the wholesale site, and if your host allows it put it in a folder OUTSIDE your public_html folder.. I have my subdomains on my dev host setup as follows: subdomains/public_html/NAME-OF-MY-SUB-DOMAIN-FOLDER
    This way you can correct the main domain .htaccess, and the sub-domain and main domain will no longer step on each others toes.. You will just need to include a re-write rule to re-direct traffic from your wholesale site's old URL base to the new sub-domain base.
    Great advice! I typically do things as follows when configuring add-on domains and subdomains via cPanel:
    Code:
    -+- ROOT (FTP root / private)
     |      |
     |      +- public_html (core cPanel WEB Root / public)
     |      |
     |      +- additional (private)
     |      |      |
     |      |      +- www.primarydomain (primary domain FTP root / private)
     |      |      |      |
     |      |      |      +- public_html (primary domain WEB root / public)
     |      |      |
     |      |      +- domainname (add-on domain FTP root / private)
     |      |      |      |
     |      |      |      +- public_html (add-on domain WEB root / public)
     |      |      |
     |      |      +- host.domainname (subdomain FTP root / private)
     |      |      |      |
     |      |      |      +- public_html (subdomain domain WEB root / public)
     |      |      |
     |
     +- other_folders
     |
    As noted by DivaVocals, this separates out each domain (and provides each with a private place to store data). This helps reduce the number of potential conflicts when crafting mod_rewrite directives (or other Apache directives). By creating individual FTP users for each domain (and restricting the users to a specific domain's FTP root), when accessing the site remotely for maintenance each site is kept separate. IMHO, this makes synchronizing files (and creating manual backups) far easier because the FTP client will open by default directly to the domain's FTP root.

    Basically a win-win (if your hosting provider allows something similiar to the above).

    Another useful side effect is one can grant third parties FTP access specifically to a single domain (instead of needing to provide the MASTER FTP account). Because one has specific accounts for FTP, the cPanel account no longer needs to be used for FTP (and really should not be used for FTP ever IMHO). One of the many reasons Zen Cart recommends NOT using FTP (and using SFTP or FTPS) instead, is FTP essentially sends passwords in plaintext.

    While adding "www.primarydomain" is not required, I personally do this so I can more easily work with the content in the primary domain (separating it from . I then rewrite or redirect (depending upon the request) from the core cPanel WEB Root to "www.primarydomain". On some hosting providers one can also customize the version of PHP (and PHP settings) for each domain (advanced topic way beyond the scope of this thread).

    Keep in mind server side code (such as PHP) will still be able to transverse all of the domains (and subdomains), so you still need to trust those adding code to your sites (and beware of security holes / PCI compliance issues raised by software installed on any of the domains in the same hosting account)...


    Okay I'm getting a bit off topic... Basically just restating, emphasizing, and providing other reasons for not testing Zen Cart (or modules such as CEON URI Mapping) in a folder (when the final destination will not be in a folder)... Always best to test mimicking the final resting place as closely as possible.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  8. #1868
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    152
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Our site just stopped working. Not sure why. No matter what you click, you get the main page. Been using CEON URI Mapping for years.

    www.fantasycostume.net
    17 Years and still just a "Follower." :P

  9. #1869
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by masterrusty View Post
    Our site just stopped working. Not sure why. No matter what you click, you get the main page. Been using CEON URI Mapping for years.

    www.fantasycostume.net
    Then wouldn't mind identifying things such as ZC version, PHP version, CEON URI Mapping version, etc...? Went to the site though and did not see any issue. What was done to correct it?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #1870
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by masterrusty View Post
    Our site just stopped working. Not sure why. No matter what you click, you get the main page. Been using CEON URI Mapping for years.

    www.fantasycostume.net
    Two things...

    Define what you mean by "stopped working"
    What makes you think the cause is THIS module??

    and then as mc12345678 suggests.. post some site details..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR