Hi guys!
I have a problem with my wordpress blog. I had my permalinks like this:
http://mysite.com/wordpress/year/month/day/name-post/
But I decided to put it like this:
The first step was change the directory to put wordpress in the root of my website. I followed this guide:
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
It worked well. Later, the second step was to install the "Permalink Moved Permanently" plugin, because I didn't want to loss my trackbacks/pingbacks. It works well.
When I went to http://mysite.com/wordpress/ I got a 404 error. So, I create a .htaccess file to redirect http://mysite.com/wordpress/ to http://mysite.com/.
It worked well... BUT, when I want to go to http://mysite.com/wordpress/wp-admin/, I got a 404 error. I tried to do for 4 hours, but I couldn't. Could you help me?
The unique thing I need is when I open http://mysite.com/wordpress/wp-admin/ the other rule doesn't work.
This is my .htaccess that I have in mysite.com/wordpress/ folder:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^casidiablo.net\/wordpress\/wp-admin$ [OR]
RewriteCond %{HTTP_HOST} ^www.casidiablo.net\/wordpress\/wp-admin$
RewriteRule (.*) http://www.casidiablo.net/wordpress/wp-admin [R=301,L]
RewriteCond %{HTTP_HOST} ^casidiablo.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.casidiablo.net$
RewriteRule . ../index.php [L]
Thank you so much!
And excuse me for my mistakes writing in English.