• thepete

    (@thepete)


    Here’s what I’m trying to do:

    1) I use a straight index.php file as my template. I’d like to have a file called main.php in my root directory that is laid out differently and only displays one category.

    2) I’d also like for the “*.php?p=234” to work on this other page.

    At present, it doesn’t. I can get the page to display one category, but I want users to stick with the same template when they go to an entry page from this new main page.

    Does this make sense?

    I’m also thinking that my permalink structure might stop the “*.php?p=234” thing from working, although it works fine like this: “index.php?p=234” when the index.php is in the root, but when it’s anywhere else or looks like this: “anythingelse.php?p=234” it doesn’t work. If I turned off the permalinks, would this work?

    Thanks in advance for any help/advice!!

    Oh yeah and I was able to do this just fine in 1.2, but I hadn’t messed with my permalink structure at all at that point.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Lorelle

    (@lorelle)

    Thread Starter thepete

    (@thepete)

    Switching templates doesn’t seem to work for me. I think it’s because my template is simply my main index file and not what is in the theme folder. Thanks anyway, though!

    Thread Starter thepete

    (@thepete)

    I’m also thinking there’s something wrong with WP itself or my server since my htaccess file is writable, yet WP says it isn’t. Perhaps that could have something to do with it? I really have no idea.

    Are you sure it’s writeable by WordPress? Make sure the file is owned by the server (usually Apache) and is writeable by it (some Apache servers require files to be world writeable for some odd reason).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘multiple main “index” pages–possible?’ is closed to new replies.