My .htaccess file doesn’t show up under the templates menu at the moment because my blog is actually installed in a different directory vaguely.org/wordpress, to my /blog directory.
I have previously tried putting my .htaccess file in the /blog directory, and in the /wordpress directory, and neither work.
There is a htaccess file in my root directory (ie vaguely.org/.htaccess) which is the empty one I was just talking about. I’ve tried putting the code in there too and that doesn’t work.
Someone previously advised me to put my .htaccess in the /blog directory and delete any other .htaccess files that might be located in any other location, including /wordpress and the root directory, but I can’t delete the one in my root directory, it won’t let me.
This is the code I have at the moment:
RewriteEngine On
RewriteBase /blog/
RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^archives/category/?(.*) /blog/index.php?category_name=$1 [QSA]
RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^archives/author/?(.*) /blog/index.php?author_name=$1 [QSA]
RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /blog/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wordpress/wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.php?feed=$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.php?feed=$1&withcomments=1 [QSA]
(I’ve tried removing the trailing slash).