Yes, if you do not already have a .htaccess file, create one in WP’s root directory and then copy and paste all the rules WP gives you into that file.
To create a htaccess:
Open a plaintext editor.
Press the space bar once.
Save the file as ‘htaccess.txt’
Upload it to the same place as wp’s index.php
Using your ftp program, rename it to ‘.htaccess’
It will now disappear from view.
If you are using a popular free ftp program, how to see hidden files may be covered here: http://www.mfr.f2s.com/ftp/
Then when you need to add to what is a blank .htaccess, just download it, edit, and upload.
Do say if anyhing else would be helpful.
Thread Starter
elena
(@elena)
It now seems obvious. Thanks for the help π
Please help!
I created a .htaccess file to modify the permalink structure. But now I have problems getting into my wordpress at all – whenever I start it I get the error message 403 “Forbidden : You don’t have permission to access … on this server.”
It would seem there was a .htaccess file and I replaced it. How can I get the old one back??
Thanks for any help!
May I ask where I can find the rules WP gives you?
My webhost has advised that if I’m using MS Frontpage it will alter the .htaccess file everytime I update the website. Most of my blogs are not attached to websites with Frontpage but one is. Has anyone got experience of this?
My experience of FP is that you’re best not using it. I would guess that the .htaccess in wp is one of the LEAST things it alters to no good purpose.
Unfortunately the website I manage I don’t have much choice about with respect to FP. So I really do need to know if I can add the permalink code without FP upsetting it. It has this in it:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName http://www.vadirectory.net
AuthUserFile /home/mthomas/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mthomas/public_html/_vti_pvt/service.grp
RedirectMatch temp ^/webservices/index.htm$ http://acswebservices.com
And I note there are a number of htaccess files with numbers after them. Am I correct in thinking that it’s telling FP not to alter the .htaccess file but creates new ones with every update? And if so, would I be able to add the permalink code underneath it and it would be fine?
Bunch of stuff on working with FP extensions and Permalinks on the Permalinks page.
Thanks, I’ll go check that out.
Hey. I think adding a .htaccess file fixed my problem of my wp-admin not showing up.