Hello, I have something like this => RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/resource-directory.* RewriteRule ^resource-directory/(.*)\.(.*) /index.php?page_id=14&category=$1 [L] => This is the code under what i've made but this is from wordpress. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress But this is not working. It's working with [R=301,L] but my url is then like www.mysite.com/index.php?page_id=14&category=arts-and-humanities this and i want something like this www.mysite.com/resource-directory/arts-and-humanities.html It's my own linkdirectory that i want to add into my wordpress via a phpexec plugin. Can someone help me ?