WordPress.org

Ready to get started?Download WordPress

Forums

Showing category instead home page (under some conditions) (3 posts)

  1. taloweb
    Member
    Posted 10 months ago #

    I've a tricky question for you: under some conditions checked every time home is showed, I would like to show, instead of home page (that is a static page with a template), an archive page or category archive WITHOUT making an explicit redirect (header Location or Js tricks)

    some ideas?
    thanks

  2. Peter_L
    Member
    Posted 10 months ago #

    What kind of conditions?

  3. taloweb
    Member
    Posted 10 months ago #

    If I visit the site through a subdomain I would like to show a subcategory:

    http://red.mysite.com --> http://www.mysite.com/category/red is shown
    http://www.mysite.com --> home page of the site is shown (static page with template)

    but without redirect (header Location or JS script is not a good solution)

Reply

You must log in to post.

About this Topic