Hey all, maybe someone can help me here. I screwed the pooch doing an .htacess within the WP admin panel — and did it wrong. I now do not have access to that panel to change it back (error 500). Anyone know how I can access the .htacess in within the template area (WP Includes, AP Admin, etc). Thanks, bigtime, for any help.
Yeah, I have access to all the of the files. In fact, and thankfully, this happened on my local host (I use for testing). So, worst case scenario is that I reinstall apache and mysql. That, however I'd rather not do since I have so many things going on. Plus, I'd like to learn how to fix this in case this happens in the real world (err, I mean Intraworld).
you can do it in the terminal or use the script .. just cd to the directory where the file exists and issue the command .. as long as it's rm -f .htaccess, it won't delete anything but the .htaccess. promise :)
is there a way to get to .htacess without deleting the code? Basically, just to revise the code to what it should be. I am a bit uncertain as to where "exactly" the file is. According to the Codex it's hidden in UNIX.
check out Onyx besides having half a trillion useful features, there's an option under Appearance->Finder that allows you to display hidden system files (including .htaccess) .. that'll make your seach a bit less tedious.
oh yeah, forgot: then when you find it, you can open it and edit it with text edit/bbedit, whatever..
I found the location (in my wordpress folder according to the directory used in Onyx). And that's where I figured it was. But, there is no .htacess file there. I've scanned through all the included php files and can't find it. Can I open it with Onyx. Sorry for all the database noob ?s, but hopefully others are paying attention.