Support » Plugin: WP Subdomains » Error For Subdomain



    Warning: readfile( [function.readfile]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/infinitedreams/ on line 9

    This is what happens when I access the subdomain, permission of folder and index.php for the subdomain is 755, permalink structure is set correctly, index.php in the subdomain folder contains the code of the readme for categories, which is
    $SubdomainName=basename(getcwd()) . ‘.’;
    $HomepageLink= ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’;
    $HomepageLinkWithoutSubdomainName=str_replace($SubdomainName, ”, $HomepageLink);
    $HomepageLinkFULL=$HomepageLinkWithoutSubdomainName . ‘category/’ . $foldername;
    readfile($HomepageLinkFULL); ?>


    Is there anything I am missing?

    Love and light

  • The topic ‘Error For Subdomain’ is closed to new replies.