WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Set multisite homepage (19 posts)

  1. yourlive
    Member
    Posted 1 year ago #

    Hi everyone,

    I'm developing a WP multisite for a client. This client organizes events, every event has it's own subsite. She wants to be able to set the subsite for the most recent event as the multisite homepage, so visitors that type in the url automaticly get redirected to that subsite. Is that possible (without editing .htaccess)?

    Thanks in advance,

    YourLiVe online
    Marcel

  2. Curtiss Grymala
    Member
    Posted 1 year ago #

    There isn't a simple way to do this programatically, but you can easily redirect the home page of the main site in the following manner:

    1. Install and activate the PageLinksTo plugin on the root site (you can network-activate it)
    2. Create a blank placeholder page on the root site
    3. Go to Settings->Reading and set the front page to a static page, choosing the blank placeholder page you created
    4. Edit the blank placeholder page, scroll to the bottom of the editor page and choose "An alternate URL" in the "Page Links To" box
    5. Paste in the URL of the event to which you want to redirect

    Then, each time a new event is created, you simply need to edit the placeholder page you created in the root site, and change the URL to which it redirects.

  3. yourlive
    Member
    Posted 1 year ago #

    Thanks for your respons. Doest this work the same as <meta http-equiv="refresh" content="0; url=new-url"> Because I read that no good for SEO.

  4. Curtiss Grymala
    Member
    Posted 1 year ago #

    No, this does not work the same as a meta refresh. The Page Links To sets up a proper 301 redirect using PHP, which is fine for SEO and also much more desirable to users (i.e., it doesn't break the "back" button).

  5. yourlive
    Member
    Posted 1 year ago #

    Allright, this one works as well. Thanks again!

  6. csweths
    Member
    Posted 1 year ago #

    I am trying something similar to what you are doing for your client. I want the home page to have tabs/dropdowns categories so that when the visitor to the site clicks on the dropdown/tabs of his interest he will be lead to that sub-site. But I have no clue on how to add a tab/dropdown which can link directly to the sub-site. Any clues?

  7. yourlive
    Member
    Posted 1 year ago #

    If you use a custom menu, you can just insert any hyperlink into the menu (so you can just insert the hyperlink to the subsite as a menu item). Is that what you mean?

    Some reading material : http://codex.wordpress.org/Navigation_Menus

  8. csweths
    Member
    Posted 1 year ago #

    Yes very similar to what you just said.

    To help you visualize, I am looking at ehow.com, here each sub-site is added as a menu e.g, mom, home, tech etc on the main site menu ehow.com. When a visitor clikes on menu -> niches he like say for e.g Tech, a sub-site open for tech opens.

    This is helping the site maintain multi-niche site from within ehow. I am looking at creating similar structure.

    Did you also mean the same?

  9. yourlive
    Member
    Posted 1 year ago #

    Yes, you can easily achieve this with a custom menu. You might wanna link to a category page, eg http://www.yoursite.com/category/cat1.

    That way, you can just orden your posts into categories and the category page will only show posts in that category.

  10. csweths
    Member
    Posted 1 year ago #

    Super this is happening. Thanks a lot!

    Will this work for category menus as well? i.e for posts ordered into categories that appear as menus on the home page?

  11. yourlive
    Member
    Posted 1 year ago #

    You can just add categories to a custom menu, so that shouldn't be a problem.

  12. csweths
    Member
    Posted 1 year ago #

    Wonderful just tried this this is working too. Thanks. Was looking for a solution for so now close to a week, I had gone into reading about multi-site feature of WordPress even, that had shown on how to create the multi-site but not how to showcase all sites into a single site like you have. Great ! thanks once again :-).

  13. yourlive
    Member
    Posted 1 year ago #

    Great, glad I could help you ;-) Goodluck with your website!

    PS you don't need a multisite to do this, multisite is way to complicated for such a simple task. A custom menu is all you need.

  14. SEO Company India
    Member
    Posted 1 year ago #

    Yes, It works in my case as well....

  15. csweths
    Member
    Posted 1 year ago #

    Thanks once again.

    To show that the multi site home page is having some activity for SEO purpose, how can one link the new articles being posted on the sub sites automatically when they are posted to the home page or the landing page. I was thinking of say a image slider or just images links being refreshed with the newly posted content. This would boost both the aesthetic of the landing page and show the search engines that there is activity happening on the landing page.

    How to enable this feature?

  16. yourlive
    Member
    Posted 1 year ago #

    You could try this plugin: http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/

    It will automatically post (excerpts of) the posts on your subsites onto your homepage. Is that what you want?

    @SEO Company India, cool, good luck to you!

  17. csweths
    Member
    Posted 1 year ago #

    Yes similar, but along with word tags, would be great if we can tag the images from the new posts in the subsite on the homepage, will do good for the asthetics of the landing page along with telling the search engines that the landing page is being updated on regular basis.

    Something like a image slider of the latest(or last few) articles posted or image with hyperlink to the latest post.

    Will this plugin handle that?

  18. yourlive
    Member
    Posted 1 year ago #

    I dont know, I've never used this plugin myself. But why dont you just try it out and share the results here?

  19. csweths
    Member
    Posted 1 year ago #

    Sure will explore and post my experience :-). Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.