Support » Installing WordPress » .htaccess problems during install via Fantastico

  • Hello– I used Fantastico to auto-install 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]

    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!


Viewing 1 replies (of 1 total)
  • Drew Jaynes


    WordPress Core Developer

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess problems during install via Fantastico’ is closed to new replies.