Support » Installing WordPress » Problem with installation of WordPress on an add-on domain

  • Hello everyone,
    I just installed WordPress for the first time on my site. When I attempt to login, I’m getting an HTTP 404 error. The problem seems to have to do with the way that my root directory is being determined. The domain I am using for this blog,, is an add-on domain. The directory structure for NetFirms, my host, is set up so that resolves to a sub-folder (robbinsinternational/) of the root folder for my main domain. I’m not very familiar with the WordPress setup or with the php function that is used to set the root directory for the blog. Can anyone help me with this?
    As an example of what is happening, I checked the database after I installed WordPress, and here is what is being set in the wp_options table for the option_value field corresponding to the option_name field ‘siteurl’:
    This should be , so I need to somehow take out the /robbinsinternational directory that is being included.

    Thanks for any help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • is this cpanel?

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    On the Options page of the Admin screen, set the WordPress Address (URI) to whatever you want that siteurl to be.

    If you can’t get to the admin page, just modify the database directly.

    Chances are a lot of features will not work properly – WP is very “picky” about domain redirects, add-ons and stuff like that.

    I changed the database directly, and it still doesn’t work. I just recently switched to NetFirms, and it looks like it’s doing something strange when it resolves my add-on domain’s root directory. For instance, if I create an index.php file in my ../www/robbinsinternational/ directory (which should be the root directory for, and I put this php code:

    <?php echo $_SERVER[‘PHP_SELF’]; ?>

    the page should show this:


    Instead, it shows this:


    Does anyone know where the $SERVER[‘PHP_SELF’] call is being made in the WordPress code? If I can find that out, I can change the call so that it trims off the excess part where the folder is being added.

    Thanks again.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with installation of WordPress on an add-on domain’ is closed to new replies.