WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Subdomain problem (6 posts)

  1. Zoorken
    Member
    Posted 2 years ago #

    The Question is can i change something so it would be like this:
    http://www.mydomain.com/subdomain insteed of
    http://www.subdomain.mydomain.com
    And still use the same database?

    I installed Multisite yesterday. And created some to se if it workt. I could create new sites. But the problem is whit the subdomain. When i try to go to my new site i get Internal Server Error.
    I readed in this thred(http://tinyurl.com/ctxrvpz) that i could fix it in cPanel But the problem is that One.com Dosent have cPanel.

  2. Yep :)

    http://codex.wordpress.org/Multisite_Network_Administration#Switching_network_types

    If you don't have any subsites, it's really just that easy, too!

  3. Zoorken
    Member
    Posted 2 years ago #

    ahh thx, it kinda worked, now i got a new problem.
    When i try to visit the site its just blank and i cant open wp-admin for the subsite.

    I checkt the sourcecode for the site and it was empty. and i did not get a 404 page either.

    The head site is
    the sub site is

    i changed to in wp-config
    define( 'SUBDOMAIN_INSTALL', false );
    this did work cause now the urls i created was http://www.xoorki.com/sub

    I also changed code in .htaccess

    to this;

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    thxs for the help sofar! :)

  4. A blank white page is a PHP error usually.

    it's 'good' that you're getting that. Have you any plugins active?

  5. Zoorken
    Member
    Posted 2 years ago #

    i dont really now what happen over the night when i sleept but what dit happen was great. Now the sub page is working and also the headsite. The things i did today was uptade to 2.3 and also uptated every plugin. But the site was blank, so i changed the theme to one of my own and catching the site was working. ( no plugin was activated). Random. I can't say that my question is solved but it now work but i don't now why.

    Thx Ipstenu for the help and i also hope that this thred can help someone else!

  6. Update to ... 2.3? You mean 3.4?

Topic Closed

This topic has been closed to new replies.

About this Topic