homepage Welcome to WebmasterWorld Guest from 54.235.227.60
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

    
wordpress running "part" of a site
disgust




msg:3998636
 4:30 pm on Sep 30, 2009 (gmt 0)

I want to launch a new website.

the front page would be the blog, which I would want run by wordpress.

the rest of the site however [the non blog posts] I'd like to run outside of wordpress to avoid the overhead and have more control. I'd still like to use the same layout used from the main page.

Is this possible? Is it a bad idea for any reason? how would i go about that in the most efficient manner?

 

ergophobe




msg:3998658
 4:53 pm on Sep 30, 2009 (gmt 0)

If you're using the same layout, I'd cut down on the overhead by using some caching (wp supercache for example).

If you wanted your home page static and WP in a /blog directory, that would make more sense, but once WP is running the home page, I don't see much advantage to not use it elsewhere.

You can always build additional page templates that you assign to non blog pages, so you have a fair bit of control in that respect. It only really gets touchy if you have forms and AJAX and highly interactive stuff on particular pages.

>>bad idea for any reason?

- Two templates to maintain will make it that much harder every time you want to tweak your layout.

- You'll have to keep manually integrating site navigation every time you change that.

disgust




msg:3998677
 5:19 pm on Sep 30, 2009 (gmt 0)

couldn't the pages run by wordpress simply include the static layout for the rest of the site, so they wouldn't need to be maintained separately?

is there any easier solution I'm looking over to run news on the main site without filtering all of our content through whatever blog/cms uses that?

ergophobe




msg:3998743
 6:48 pm on Sep 30, 2009 (gmt 0)

Just takes me back to maintaining a static site and becoming a regex master for propagating changes.

I didn't care for it, but I've done a hybrid solution where you don't have any truly static pages, but you generate them using simple PHP includes for the templating. At least that way you only have to make changes in two places.

Of course, you can reuse the same CSS files, so any CSS changes propagate through both sets of pages. But when you have to change the HTML, you need to change your WP templates and your non-WP templates.

BradleyT




msg:3999413
 6:05 pm on Oct 1, 2009 (gmt 0)

I too would go for the /blog/ approach - just have your homepage 301 redirect there if you want it to be your homepage.

I "inherited" a site where everything was thrown into / and it's a huge mess trying to figure out what script owns what file. And having /img /image /images /uploadimages is fun too.

In the future if you want to "dump" wordpress all you have to do is get rid of the /blog/ directory and not worry about what files off of root are needed by other programs.

ergophobe




msg:3999445
 7:10 pm on Oct 1, 2009 (gmt 0)

I "inherited" a site where everything was thrown into / and it's a huge mess trying to figure out what script owns what file. And having /img /image /images /uploadimages is fun too.

Ha! Me too. Presumably disgust plans on better organization than that and I think he plans to segment out the non-WP parts in their own subfolders, so it's not that hard to maintain.

disgust




msg:4000092
 6:23 pm on Oct 2, 2009 (gmt 0)

I think what I'm going to end up doing is have everything located on /blog/ but have the main page pull the latest posts from mysql so it looks as if the entries from the blog are shown there, if that makes sense.

any problems with that approach I should look out for?

lorax




msg:4004665
 4:34 am on Oct 10, 2009 (gmt 0)

Put the site into WordPress and if you're diligent you'll finally realize you've tasted Nirvana. Use WP Super Cache as suggested and you'll realize a nice bonus. Stop being so damn timid or worrying about the details - do it! *said in a nice way of course* WP with the right theme can boost your productivity 200% or more.

ergophobe




msg:4005237
 7:02 pm on Oct 11, 2009 (gmt 0)

While I don't share lorax's spiritual connection to WP, I do have to say again, if you're running WP anyway, and the other pages are just HTML, I would put everything under WP.

If you have custom apps and such running the other pages, that's the only reason I wouldn't have it all under one system.

Finally, even if you do that, I would still have the front page running under WP.

Problems to look out for with the approach you mention? The ones that I mentioned previously: maintaining your site will involve extra steps and will increase the effort required to maintain a consistent look and feel as your site evolves. And you'll give up being able to leverage WP throughout the site (say, "related pages" or site search plugins).

Other than that, no technical problem with what you suggest and lots of people *do* indeed do it that way. I just don't and lorax doesn't, but we're just two guys who like to keep our lives simple (I was going to say lazy, but didn't want to speak for lorax).

[edited by: ergophobe at 1:26 am (utc) on Oct. 12, 2009]

lorax




msg:4005310
 10:14 pm on Oct 11, 2009 (gmt 0)

>> While I don't share lorax's spiritual connection to WP

:)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved