WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess problems during install via Fantastico (2 posts)

  1. hyergin
    Member
    Posted 2 years ago #

    Hello-- I used Fantastico to auto-install WP.org. I have been working with the support people for my server and they suggested that I ask this question:

    What can I do to keep WordPress from breaking due to the following:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    # uncomment the following line if using a VirtualDocumentRoot
    RewriteBase /

    RewriteRule ^generator/ - [L]
    RewriteRule ^$ public/ [L]
    RewriteRule (.*) public/$1 [L]
    </IfModule>

    I am adding WP to my addon domain. The only way they can get it to work is to alter the .htaccess file. But, when they do that, my primary domain then won't work.

    Any experience? Any help? Any suggestions?

    Thank you ahead of time!

    Harvey

  2. When you have hosting with an addon-domain, that domain root is actually a sub-folder of the main domain. I'm guessing that WordPress is attempting to rewrite for the root of the addon-domain but is having difficulty discerning between the root of the addon and the root of the primary domain.

    In the case of addon-domains, rewrite rules are used to make it appear as though it is a fully-qualified domain with its own root, but it's not. It lives in a sub-folder of another domain's root and that's the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic