In my website I'm trying to implement friendly URLs. I have an
index.php file and a
.htaccess file in my hosting's public folder. I'm using the following code in the
DirectoryIndex index.php RewriteEngine On RewriteRule ^article/([0-9]+)/$ ../Feed/Article.php?id=$1
Therefore, if anyone enters
www.example.com/article/15/, it loads the
Article.php passing the
15 value through GET.
But the problem is that the
Article.php file is outside the public folder (hence the
../) and Apache doesn't find it.
Can anyone help me?
Note: I don't have access to the