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
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.
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
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.
Yes permalinks is activated. And privately can I give you access to my admin panel & give you blog URL?
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.