I installed a wordpress on a server and put it under the folder apps/wordpress/.
What I want to do is the make the wordpress available using te url http://mydomain.com/blog instead of the url http://mydomain.com/apps/wordpress
In order to do that I wrote a .htaccess file that I put at the root of my server. Here is the file :
RewriteEngine on
RewriteBase /
RewriteRule ^blog$ blog/ [PT]
RewriteRule ^blog /app/wordpress [PT]
The problem is that instead of giving me the content of apps/wordpress, the browser receive a 301 and then redirect to apps/wordress. What I want to do is to hide the apps/wordpress url behind /blog not doing a redirect.
Any ideas how to do this ?