• Resolved bobnolin

    (@bobnolin)


    Though my permalinks *seem* to be working fine, I am very new to WordPress, and would appreciate it if someone could confirm that it’s okay if my .htaccess file contains only this:

    # BEGIN WordPress

    # END WordPress

    As I said, I *seem* to have pretty permalinks, but I’m not sure. I’m on an Apache server, with Bluehost, and they support mod_rewrite. WP v2.6.

    TIA for help –

Viewing 1 replies (of 1 total)
  • Thread Starter bobnolin

    (@bobnolin)

    Turns out the .htaccess file exists in two places. The one on the public_html level is empty, as shown above. The one on the public_html/blog level has got code in it, which I have to assume is the correct code. It looks like this:

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

    # END WordPress

    So I guess everything is okay. Maybe this will help someone else similarly confused! : )

Viewing 1 replies (of 1 total)
  • The topic ‘Okay for .htaccess to have nothing in it?’ is closed to new replies.