Quote Originally Posted by 350125 View Post
I'm working on a site that's kind of a blog with a shop attached, rather than the other way around. The site owner wants the index page to be the blog itself, and the shop secondary.

Right now I have Zen Cart installed in the main directory and Wordpress installed in /blog. Everything's working fine, but I can't figure out a good way of making the blog the main page. A 301 redirect on index.php makes every page on the site redirect in an infinite loop. Is there a file that's a template for the blog, that I could just copy to the index?

Any help or suggestions would be appreciated!
Depends on what the owner means by " kind of a blog with a shop attached"


  • Is it important for the blog content to be incorporated (embeded) into the store? OR could the blog be styled like but have a separate URL than the store/site?
    ie:
    http://www.mysite.com (store/site)
    http://www.mysite.com/blog (Blog)
  • Are you interested in Zen Cart as the e-commerce solution because you've compared it to the WP e-commerce plugins?

There are a TON of options to achieve what you want, and it depends on what you want as an outcome. For example you can do any of the following:

  • ZenCart as your main site/store with a seperate blog linked to your site via WordPress content sideboxes (Zen Cart sideboxes which pull in WordPress post content/links)
  • ZenCart as your main site/store with WordPress content integrated (embedded).
  • WordPress as you main site with one of the WordPress e-commerce plugins for your store. (there are pretty decent ones)


You can even use the WordPress Loop codex code on the Zen Cart main define page to bring in page or post content on the front page of your Zen Cart site/store (I've used a simple example of this here:
http:// clients . overthehillweb . com /testsite
For this example, here's the post which details what I did to display WP posts on the main page:
http://www.zen-cart.com/forum/showpo...postcount=1255

Here's some links regarding the WordPress Loop:
http://codex.wordpress.org/The_Loop
http://codex.wordpress.org/Template_Tags
http://codex.wordpress.org/The_Loop_in_Action
http://perishablepress.com/press/200...oop-templates/
http://perishablepress.com/press/200...mber-of-posts/
http://weblogtoolscollection.com/arc...ordpress-loop/