Support » Plugin: WP Subdomains (Revisited) » "Subdomain Roots as Indexes" option breaks stuff

Viewing 3 replies - 1 through 3 (of 3 total)
  • Either way, I can’t access the children of pages that are subdomains.

    Have you solved this problem?

    I’m dealing with it too 🙁

    Geet Jacobs

    (@geetjacobs)

    I am in the same boat.

    WordPress pages:
    mysubdomain
    mysubpage *childof mysubdomain

    mysubdomain.domain.com = works
    mysubdomain.domain.com/mysubpage = page not found

    My Settings
    Activate Page Subdomains
    Subdomain Roots as Indexes

    mysubdomain Settings
    wps_page_subdomain = true

    Anyway to get sub pages to work?

    Geet Jacobs

    (@geetjacobs)

    I solved this by adding some htaccess redirects, rather avoid that but it seems to be working for sub pages and sub sub pages so here ya go.

    RewriteCond %{HTTP_HOST} !www.domainname.com$ [NC]
    RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+).domainname.com$ [NC]
    RewriteRule (.*) index.php?pagename=%2/$1 [NC,QSA]

    Hopefully this will help someone else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"Subdomain Roots as Indexes" option breaks stuff’ is closed to new replies.