BobNolin
Member
Posted 1 year ago #
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 -
BobNolin
Member
Posted 1 year ago #
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! : )