Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 58
  1. #21
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Numinix Blog Embedding Issues/Questions

    I have, and it seems to work fine.

  2. #22
    Join Date
    Nov 2009
    Location
    Sydney Australia
    Posts
    84
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    Mark,

    Yes, we installed the Wordpress mod from Numinix and definitely think it is worth the investment. Have had no glitches so far. There was some miscommunication during the installation (we paid Numinix to do the install, which was a fairly modest cost), but I think we just caught them at a busy time. I would certainly work with Numinix again. Also purchased other mods from them and have used some of their free mods and all have been excellent.

    Cheers, Sean
    Sean M - Sydney, Australia

  3. #23
    Join Date
    Mar 2011
    Location
    United Kingdom
    Posts
    9
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    Hi Guys,

    I've followed the steps as per Numinix blog post. My blogs homepage is working fine however when posts, categories etc are clicked I get redirected to our stores homepage. This happens only when Permalink Settings in Wordpress are set to anything other than default.

    Blog is installed at mystore.com/wpblog/
    WordPress Address (URL) in settings set to http://mystore.com/wpblog
    Site Address (URL) in settings set to http://beautystore4u.co.uk/blog

    /index.php?main_page=blog is rewritten to /blog/ by CEON URI

    Could I ask someone to have a look at my blog and give advise -> http://goo.gl/OBO7q

    I think the problem is in .htaccess file. Wordpress advises to put the code below in .htaccess but it crashes my site:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    Kind Regards Damian K.
    Big Thanks to DEVELOPERS for such a great free Shopping Cart

  4. #24
    Join Date
    Mar 2011
    Location
    United Kingdom
    Posts
    9
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    I know that it's sad that I'm replying to my own post but I have to say that I've managed to finally work this out.

    I've removed tha rewrite from CEON URI and used the rewrite from NUMINIX post, but I placed it on the top of .htacces file, above CEON URI rules:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

    If anyone is struggling with this setup I'm more than happy to help.

    Kind Regards
    Damian K.
    Big Thanks to DEVELOPERS for such a great free Shopping Cart

  5. #25
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Ceon URI Mapping and WP Zencart Integration

    zc 1.3.9h
    relevant mods installed: Ceon URI Mapping, WP Zencart Integration Package (Numinix)
    blog viewable at http://www.adamantbarbell.com/blog/
    WP directory is www.adamantbarbell.com/blog-backend/

    I'm having trouble with a final piece of the integration of WP into zc. I followed the instructions at the link below.

    https://www.numinix.com/blog/2009/09...n-cart-1-3-8a/

    The problem is when I click any links on my blog page, whether to view a single post, view by category, view by tag, etc, I get the zc 404 (not found) page.

    I added a line to htaccess to tell Ceon URI Mapping to not redirect requests for the /blog-backend directory so I can access the WP admin. Below is my htaccess, edited only to remove a few things totally unrelated to URL rewriting.

    Code:
    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 admin directory
    RewriteCond %{REQUEST_URI} !^/myadmindir [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]
    
    # Don't rewrite WordPress directory
    RewriteCond %{REQUEST_URI} !^/blog-backend/ [NC]
    
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule .* index.php?%{QUERY_STRING} [L]
    
    # Redirect all requests for all non-canonical domains to same page in www.example.com
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^www\.adamantbarbell\.com$
    RewriteRule (.*) http://www.adamantbarbell.com/$1 [R=301,L]
    If I add the below line, I lose my WP css formatting. I donj't know why. Perhaps there is a problem with the RewriteRule given that WP is at /blog-admin , the first part of which may be causing a match to /blog ? I can access the WP admin subdirectory in /blog-backend fine. Note that I do have a blank html page at www.adamantbarbell.com/blog-backend because I don't want the blog to be viewable there.

    Code:
    # wordpress integration
    RewriteRule ^blog(.*)$ /index.php?main_page=blog$1 [L]
    Last edited by fakeDecoy; 16 Sep 2013 at 06:41 PM.

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

    Default Re: Ceon URI Mapping and WP Zencart Integration

    Quote Originally Posted by fakeDecoy View Post
    Note that I do have a blank html page at www.adamantbarbell.com/blog-backend because I don't want the blog to be viewable there.
    One of the biggest reasons why module installs fail is that the install instructions are not followed.. That said if you followed Step 4 of the instructions, then adding an index.html is not necessary and probably a BIG part of your issue.. Remove that file.. follow the instructions for adding the correct directive for Ceon URI and let me know if that works..
    Step 4:

    1. Open http://www.domain.com/path_to_wordpress/wp-admin/ and go to SETTINGS
    2. Change WordPress address (URL) to http://www.domain.com/folder_name_of_your_choice (WordPress will be physically installed here)
    3. Change Blog address (URL) http://www.domain.com/blog

    Note: these two paths must not match. If WordPress is located in “/wordpress/”, then the blog will be publicly accessible through an alternate URL (i.e. /blog/). You can name either whatever you like, but the blog must physically exist at the WordPress Address. The Blog address will be used as a rewrite for the Zen Cart page we will be building later on. If you’d like to use a different name other than /blog/ in the URL, you’ll need to modify the htaccess rewrite provided in the Zen Cart installation instructions below.
    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.

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

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by damiankrzyz View Post
    I know that it's sad that I'm replying to my own post but I have to say that I've managed to finally work this out.

    I've removed tha rewrite from CEON URI and used the rewrite from NUMINIX post, but I placed it on the top of .htacces file, above CEON URI rules:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

    If anyone is struggling with this setup I'm more than happy to help.

    Kind Regards
    Damian K.
    This will likely NOT work and could either break Ceon URI or prevent you from accessing your WordPress admin..

    Quote Originally Posted by fakeDecoy View Post
    I added a line to htaccess to tell Ceon URI Mapping to not redirect requests for the /blog-backend directory so I can access the WP admin. Below is my htaccess, edited only to remove a few things totally unrelated to URL rewriting.

    Code:
    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 admin directory
    RewriteCond %{REQUEST_URI} !^/myadmindir [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]
    
    # Don't rewrite WordPress directory
    RewriteCond %{REQUEST_URI} !^/blog-backend/ [NC]
    
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule .* index.php?%{QUERY_STRING} [L]
    
    # Redirect all requests for all non-canonical domains to same page in www.example.com
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^www\.adamantbarbell\.com$
    RewriteRule (.*) http://www.adamantbarbell.com/$1 [R=301,L]
    If I add the below line, I lose my WP css formatting. I donj't know why. Perhaps there is a problem with the RewriteRule given that WP is at /blog-admin , the first part of which may be causing a match to /blog ? I can access the WP admin subdirectory in /blog-backend fine. Note that I do have a blank html page at www.adamantbarbell.com/blog-backend because I don't want the blog to be viewable there.

    Code:
    # wordpress integration
    RewriteRule ^blog(.*)$ /index.php?main_page=blog$1 [L]
    It's been a while since I used the blog embedding solution. My previously posted advice is WRONG.. (my bad!)

    Step 2:

    First, you will need to disable access to your current blog by uploading a blank file named index.html to your WordPress root directory. You may also want to rename your index.php file in case your server settings automatically load this file before any html files (this will differ from server to server).
    Your issue is your .htaccess file settings.. let's see if this helps..

    I posted this a LONG time ago on the Numinix post, but here it is again..

    Step 6 of the Numinix instructions reads:
    In your domain root, open .htaccess and add the following:
    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^blog(.*)$ /catalog/index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]
    If you are using Ceon URI you need to use the following directives in your .htaccess file instead:
    Code:
    # Don’t rewrite blog directory
    RewriteCond %{REQUEST_URI} !^/blog.* [NC]
    RewriteCond %{REQUEST_URI} !^/wordpress.* [NC]
    
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) /index.php?%{QUERY_STRING} [L]
    
    # Do rewrite blog directory
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]
    Doing this not only excludes the “blog” directory from being re-written, but it also excludes the actual directory where the WordPress files are physically located otherwise you will find yourself unable to access your WordPress admin.
    ie: http://www.yoursite.com/wordpress/wp-admin
    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.

  8. #28
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    DivaVocals, thank you for the replies!

    So if I understand right I should go by your last post rather than the previous one?


    I made the changes in htaccess and now have this:

    Code:
    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 admin directory
    RewriteCond %{REQUEST_URI} !^/sysop [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]
    
    # Don't rewrite blog directory
    RewriteCond %{REQUEST_URI} !^/blog.* [NC]
    RewriteCond %{REQUEST_URI} !^/blog-backend.* [NC]
    
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule .* index.php?%{QUERY_STRING} [L]
    
    # Do rewrite blog directory
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

    http://www.adamantbarbell.com/blog is now rewritten in my browser as http://www.adamantbarbell.com/blog?%2F=/

    And the WP styling has been lost, so the WP stylesheet is apparently now not being imported after the above htaccess change. I view the page source of the above and there is the below line.

    Code:
    <link rel="stylesheet" type="text/css" href="includes/templates/mistik/css/blog.css" />
    blog.css includes the below line

    @import url('/blog-backend/wp-content/themes/zencart/style.css');

    For troubleshooting, when I tried accessing http://www.adamantbarbell.com/blog-b...cart/style.css in a browser I got a Forbidden error.

    As far as step 4 you quoted in your first reply, I already had changed those settings as directed during the process and checked them again. I tried removing the blank index.html file I had created in the WP directory, and putting index.php back, but it doesn't appear to have affected the problem.

    I could try the WP process of renaming my WP directory from /blog-backend to /wp if that might be causing some trouble with the rewrite matching?

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

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by fakeDecoy View Post
    DivaVocals, thank you for the replies!

    So if I understand right I should go by your last post rather than the previous one?


    I made the changes in htaccess and now have this:

    Code:
    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 admin directory
    RewriteCond %{REQUEST_URI} !^/sysop [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]
    
    # Don't rewrite blog directory
    RewriteCond %{REQUEST_URI} !^/blog.* [NC]
    RewriteCond %{REQUEST_URI} !^/blog-backend.* [NC]
    
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule .* index.php?%{QUERY_STRING} [L]
    
    # Do rewrite blog directory
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

    http://www.adamantbarbell.com/blog is now rewritten in my browser as http://www.adamantbarbell.com/blog?%2F=/

    And the WP styling has been lost, so the WP stylesheet is apparently now not being imported after the above htaccess change. I view the page source of the above and there is the below line.

    Code:
    <link rel="stylesheet" type="text/css" href="includes/templates/mistik/css/blog.css" />
    blog.css includes the below line

    @import url('/blog-backend/wp-content/themes/zencart/style.css');

    For troubleshooting, when I tried accessing http://www.adamantbarbell.com/blog-b...cart/style.css in a browser I got a Forbidden error.

    As far as step 4 you quoted in your first reply, I already had changed those settings as directed during the process and checked them again. I tried removing the blank index.html file I had created in the WP directory, and putting index.php back, but it doesn't appear to have affected the problem.

    I could try the WP process of renaming my WP directory from /blog-backend to /wp if that might be causing some trouble with the rewrite matching?
    I HATE the "throw everything against the wall" method of troubleshooting.. So let's stick to following the Numinix instructions and using the .htaccess changes I posted if you are using Ceon URI.. That import statement you in your stylesheet have needs to be removed as does ANYTHING else you've done which does NOT explicitly follow the Numinix instructions and the .htaccess changes I posted..

    That means follow the Numinix instructions and COPY your theme’s style.css file into the includes/templates/mistik/css/blog.css file.
    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.

  10. #30
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    The import statement in the blog.css stylesheet is a result of the Numinix instructions. Numinix links to instructions saying to create a WP child theme and create a new style.css file in that theme's folder with the following content.


    /blog-backend/wp-content/themes/zencart/style.css
    Code:
    /*
     Theme Name:     Twenty Thirteen Child
     Theme URI:      http://example.com/twenty-thirteen-child/
     Description:    Twenty Thirteen Child Theme
     Author:         John Doe
     Author URI:     http://example.com
     Template:       twentythirteen
     Version:        1.0.0
    */
    
    /* =Imports styles from the parent theme
    -------------------------------------------------------------- */
    @import url('../twentythirteen/style.css');
    
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */
    And then make a copy of the child theme style.css to blog.css, edit it to change any image URL paths (I didn't make edits for that because I didn't see any such thing), then copy it to my zencart template's css folder.

    That wasn't working well for me because of the vast number of unneeded styles it was importing from the 'twentythirteen' theme that were screwing up the display of the blog page within zencart, like the way it changed the default table style and all kinds of other tags. So I removed the @import line of /blog-backend/wp-content/themes/zencart/style.css and instead just copied most of the styles from /blog-backend/wp-content/themes/twentythirteen/style.css that didn't seem to screw things up, and changed some the styles to look more uniform in my site. So my /blog-backend/wp-content/themes/zencart/style.css file is still pretty large, and I could post it if needed, but I assume the styles content isn't important as far as my problem goes.

    I don't understand why it didn't just have me copy a file with all the WP styles I want into the .css file in the zc template directory. That would fix this wacky importing problem at least, although it wouldn't fix the broken links problem.
    Last edited by fakeDecoy; 16 Sep 2013 at 11:06 PM.

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Intergrating WordPress Blog onto site - issues with Permanlinks
    By hakatours in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Apr 2010, 03:46 AM
  2. Embedding ZC In a Blog Page??
    By gabstero in forum General Questions
    Replies: 7
    Last Post: 16 Apr 2009, 06:17 PM
  3. Style Issues - 2 Questions
    By traciboyle in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jan 2008, 03:26 PM
  4. PayPal eCheck Issues & Questions
    By fepb in forum Addon Payment Modules
    Replies: 14
    Last Post: 3 Apr 2007, 06:24 AM

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