• Do I need a .htaccess file?

    I do not have one listed under FTP for wp-admin or I have checked numerous folders and cannot find it anywhere.

    I don’t know, but after doing some research I think this may be a reason (?)why I am getting HTTP 404 errors.

    mod_security is OFF from server – but how do I check?

    Any help greatly appreciated.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Do you have the filter on in your FTP client that allows you to view “hidden” files like .htaccess? I don’t know about any of the others, but with WS-FTP, the filter is -la

    You can sometimes ask your web host to turn it on for you. Usually they will. Most hosts have it enabled nowadays because everyone’s so crazy about seach engine-friendly URLs.

    Here’s what’s in my .htacess file…

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

    Thread Starter own_wordpress

    (@own_wordpress)

    Ok, I have done a search in my FTP under my blog/ folder and there is NO .htaccess file.

    Do I need one, and where should I put it – if I create one?

    What exactly will this file do?

    Many thanks…

    It should be in your WP root. If you installed WP in your site root, put it there; if it’s in a directory, put the .htaccess file in that directory. ??

    For one thing, it lets you have pretty permalinks as long as your web host has Apache mod_rewrite turned on.

    Thread Starter own_wordpress

    (@own_wordpress)

    Ok, I used your .htaccess file and put it in my /blog directory.

    But can’t see the ‘hidden’ file. I use WS_FTP Professional 2007.

    Read this for instructions on viewing hidden files in WS_FTP.

    Yep, I said that awhile back:

    I don’t know about any of the others, but with WS-FTP, the filter is -la

    Thread Starter own_wordpress

    (@own_wordpress)

    Ok great, many thanks – yes .htaccess is now in my /blog folder

    I thought this may fix my HTTP 404 errors when viewing my blog – but it doesn’t….

    After you uploaded the .htaccess files, did you go into the WP Dashboard under Settings and turn permalinks on?

    And a link to the misbehaving site would be nice.

    Thread Starter own_wordpress

    (@own_wordpress)

    Yes permalinks is activated. And privately can I give you access to my admin panel & give you blog URL?

    Thread Starter own_wordpress

    (@own_wordpress)

    jonimueller – I have viewed your web site and have sent you a e-mail. I hope you can respond and offer some assisatnce….

    Many thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘No .htaccess file’ is closed to new replies.