How to create a mixed static & dynamic setup.
-
After downloading WP I have spent some time looking at index.php to try to figure out if what I want to do can be done, and if so how, and so far I haven’t had much luck figuring out either.
The setup I am looking to do is the following:
*The script needs to be installed in a /Scripts/ subfolder, not in root. I understand that this is doable, although with some complications. However, I believe someone pointed out that it didn’t quite work unless your index.php was under root rather than under another subdirectory? As I note below, I will have blog content in a lot of files in several different directories.
*I want to include the dynamic content within otherwise static files, rather than to have them be completely dynamic. This is the main problem, I guess, since I am not sure what WP files I will end up using with this approach, if it works at all. I presume I’d strip out certain bits from index.php to include on the pages where I want some blog content, but I haven’t quite figured out what bits I need.
*I want to integrate the CSS needed with my current CSS files, rather than having a separate one.
*My index page is not supposed to have any blog content, so there wouldn’t really be an index.php at all, as far as WP is concerned.
*I want to have one page (and a matching RSS feed) which combines the last months posts from all my current blogs. This one would go under root.
*For each individual blog (one for each section of my site), I want to have a separate page (and a matching RSS feed) with the last months post from that blog alone. These pages would go within the subdirectories for the sections they belong to.
*For some of the blogs, I also want to include the last 10 posts from certain categories on specific pages. These would usually be within subdirectories as well.
At the moment, I have no idea whether this is doable. I have started reading up a bit on php, but so far it is a bit of a mystery to me.
I am also wondering how the purely dynamic parts (which I imagine that for example Archives always would be — although I don’t know how Archives would work with the setup I am looking for, with no index.php?) work together with search engines. They can’t really index dynamic content, can they?
In any case, my apologies for the length of this. The whole concept of dynamic pages really has me rather confused, especially when I am trying to get them to work in a way familiar to me. ??
- The topic ‘How to create a mixed static & dynamic setup.’ is closed to new replies.