WordPress.org

Ready to get started?Download WordPress

Forums

Where is the .htaccess file? (7 posts)

  1. amsgator
    Member
    Posted 1 year ago #

    I downloaded v3.5.1 and ran into some issues installing it. My webhost advised me that the .htaccess file was missing. I do not see it anywhere in the zip file, can someone please help?

  2. It doesn't come with the zip file or even exist until you modify your permalinks.

    http://your-wordpress-URL-here/wp-admin/options-permalink.php

    Until that there is no need for a .htaccess file. Or you can create one yourself.

  3. amsgator
    Member
    Posted 1 year ago #

    All of the scripts in my theme are crashing, and they said it's because of the .htaccess file not being there. they created it for me and it fixed it? I dunno...I'm new to this.

  4. they said it's because of the .htaccess file not being there.

    That doesn't sound right. The .htaccess file is optional.

    they created it for me and it fixed it?

    That's good, fixing it is better. ;)

    They may have put something in your .htaccess file to force your WordPress install to use a specific version of PHP. That happens sometimes but today most hosts just work with WordPress without a .htaccess file.

  5. amsgator
    Member
    Posted 1 year ago #

    I just reinstalled WordPress and the theme and it didn't work until I manually created the .htaccess file. Strangest thing...maybe because it's in a subfolder?

    This is what they put in it:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>
    # END WordPress

  6. Link? It may be your theme that's odd or your setup may not be an everyday setup. Or more likely maybe the file permissions weren't permitting the file to be automatically created.

    Either way as long as it's working it's all good. But if I were you I would email that .htaccess file to yourself for safe keeping.

  7. amsgator
    Member
    Posted 1 year ago #

    I deleted the htaccess that was manually created and then enabled permalinks. It created it by itself.

    The theme has it's own administrative panel, so I'm wondering if that panel doesn't require the htaccess file for some reason. But I got it to work and got it to create it by enabling permalinks. Thanks for your help :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.