WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating a normal index page that will link to multisite WP (14 posts)

  1. brisus
    Member
    Posted 3 years ago #

    Hi all,
    I'm sorta new to WordPress and have been teaching myself how to use it for clients who want an easy user-friendly back-end adn want to maintain websites themselves.

    I currently have a client who operates 4-5 locations and wanted the index.php page to have 5 pictures of each location and when you click on one of them, it'll go to http://www.mysite.com/Location1 and have a full website or go to http://www.mysite.com/Location2 and have a full website and so on.

    How would I install WP to have this sort of layout? I am under the gun and could use an answer quickly. :P I'm assuming I'd have a normal index.php page and then have the WP installed in a subdirectory?

  2. Samuel B
    moderator
    Posted 3 years ago #

    I'm assuming I'd have a normal index.php page and then have the WP installed in a subdirectory?

    looks like a winning plan
    http://codex.wordpress.org/Installing_Multiple_Blogs

  3. brisus
    Member
    Posted 3 years ago #

    Okay, so I would have my index page (and anything I need there for the main page) in the root directory.

    So, if I install WordPress in a subdirectory, can I turn on multisites and use one database for all 5 locations? Each one will have its own page and menu.

    Or, do I have to install each location WP page as a separate one and have to have a separate db for each one?

  4. Samuel B
    moderator
    Posted 3 years ago #

    if you read the link, you can have one database for multiple installs

    you could certainly use multisite - you would still have to work with each site independently

  5. brisus
    Member
    Posted 3 years ago #

    Long as I can use one database and create five separate subdirectory wp websites, that I think I'm good. I'm just not sure if multi-site or actually creating a separate one would be better?

  6. Tim Moore
    Moderator
    Posted 3 years ago #

    You could use MultiSite to do it all. Simply set up WordPress MultiSite in the root directory of your host, then have the main blog have a static home page that you've designed as the client requested. Each sub-blog could then be a location, as you laid out in your first post.

    It would be a lot easier to let MultiSite handle it all, in my opinion. Less chance of needing to do workarounds.

  7. brisus
    Member
    Posted 3 years ago #

    Okay, so if I have my own index.php page--do I have to adjust the index page for the wordpress root? Or just leave it as is and the rest will still work?

  8. Tim Moore
    Moderator
    Posted 3 years ago #

    What's in your index.php?

    I'd recommend not using your own index.php and convert everything to WordPress, but that could depend on what you are trying to do.

  9. brisus
    Member
    Posted 3 years ago #

    Well, she wants five images on the main page that will link to each location and has specified a specific layout for that. I wanted to have my own index design page and then have it link to the subpages (www.mysite.com/Location1, http://www.mysite.com/Location2, etc.) using the wordPress templates.

    Does that make sense?

  10. Tim Moore
    Moderator
    Posted 3 years ago #

    Yes, it makes sense. I would recommend you convert your index.php design into a WordPress theme, which you'd then activate on only the main MultiSite blog. That would take care of everything through WordPress.

    My concern with using your own index.php is it might make working with WordPress MultiSite more difficult for you. You could always look at the index.php that comes with WordPress and try to integrate it with yours, but again, doing things through WordPress would potentially save some headaches in the future.

  11. brisus
    Member
    Posted 3 years ago #

    Hmm. This could be an issue b/c she only wants the five images to be clickable with nothing else. I guess I could do my best to try to fix that.

    Thanks!

  12. This could be an issue b/c she only wants the five images to be clickable with nothing else.

    Then make a page template with your code in it and apply that to the front page of the main site.

    . You could always look at the index.php that comes with WordPress and try to integrate it with yours,

    Not the way to go here... the index.php in the root is used to serve the other blogs.

    This is an easy multisite driven project. Be creative with the theme used on the main site.

  13. corradoizzo
    Member
    Posted 2 years ago #

    Hi

    Lets say i would want to create a static landing page on a WordPress Multisite that behaves like a regular html site, i want to create an index page very much like wordpress.com that gives and introduction to the content of posts and blogs in the network.

    Would i have to just follow this guide here ?

    this guide is for a single blog

    is it the same guide for a wordpress multisite that i would have to follow ?

    all the best and thank you for your help

  14. corradoizzo - Basically yes. But the details of how to get the content of posts from your network is a bit more complicated, so please make a NEW topic for yourself about this :)

Topic Closed

This topic has been closed to new replies.

About this Topic