NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
michelefaccini
Oct 04, 2011Aspirant
Where is the .htaccess file locate ?
Hi,I did something wrong adding a page to Wordpress (I didn't modify the .htaccess)....how can I find this file from the putty shell ? I can't Login anymore in Wordpress...Thanks....
sphardy1
Oct 05, 2011Apprentice
Unless you really need it, I would recommend refraining from making any changes that require the use of .htaccess.
While it can be done, the way in which Netgear has setup the Apache Web Server on their NAS means that .htaccess files do not work by default, and getting around this requires some significant changes to your Apache setup. Given the problems you have already had, this would perhaps be better to try at a later stage.
As far as I am aware, the only builtin feature of Wordpress that requires .htaccess files is if you wish to change your permalink structure - a nice to have feature, but by no means necessary. (The multi-blog network installation of Wordpress also requires .htaccess files, but I suspect you are not heading that route)
As for the file location - it will be in the root of your Wordpress installation and so you can easily copy it via standard share access. Note that once you have wordpress and mysql properly running, there is very little you should ever have to do from the SSH commandline
While it can be done, the way in which Netgear has setup the Apache Web Server on their NAS means that .htaccess files do not work by default, and getting around this requires some significant changes to your Apache setup. Given the problems you have already had, this would perhaps be better to try at a later stage.
As far as I am aware, the only builtin feature of Wordpress that requires .htaccess files is if you wish to change your permalink structure - a nice to have feature, but by no means necessary. (The multi-blog network installation of Wordpress also requires .htaccess files, but I suspect you are not heading that route)
As for the file location - it will be in the root of your Wordpress installation and so you can easily copy it via standard share access. Note that once you have wordpress and mysql properly running, there is very little you should ever have to do from the SSH commandline
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!