Forums

Subdomain for static page (5 posts)

  1. thomask
    Member
    Posted 4 years ago #

    I need one particular static page (?p=7) to use not http://www.example.com/parent-page/page-name as all my other pages, but to use
    page-name.example.com

    I got all vhost setting setup, so everyting.example.com points to (www.)example.com but I'm unable to force wordpress rewrite rules to show me this static page on that subdomain.

    The best would be, if I could even use page-name.example.com/child-pages for all child pages of that my page. I'm probably able to write a plugin, which would rewrite all addresses in posts and other functions.

    Any help would be very appreciated.

  2. elDeuce
    Member
    Posted 4 years ago #

    Maybe have your host forward
    subdomain.domain.com to http://www.domain.com/parent/subdomain

  3. S.K
    Member
    Posted 4 years ago #

    Yes elDeuce.

    I use a similar arrangement, albeit for a different purpose.

    http://blog.cyberbrahma.com/ gets forwarded to http://cyberbrahma.com/weblog/

    Very useful.

    S.K

  4. thomask
    Member
    Posted 4 years ago #

    this is not a sollution, wordpress will rewrite it to http://www.domain.com/parent/subdoma instead of showing the subdomain address

  5. S.K
    Member
    Posted 4 years ago #

    Thomask,

    That is why elDeuce used the term "make your host forward" etc.

    Don't use WP for that.

    S.K

Topic Closed

This topic has been closed to new replies.

About this Topic