Forum Moderators: phranque
i am using php to serve content
Here is my .htaccess files content
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^articles/([^_]+).*_([0-9]*).html$ viewarticle.php?id=$2
here is the php code which i use to print the permalink
<p>Permalink : <a href="
<?php echo 'articles'.'/'.$aNAME.'_'.$aid.'.html'?>">Link</a></p>
articles/name-of-article_18.html works
but on that page the permalink is printed as
articles/articles/name-of-article_18.html
if i click this then this also works
dunno whats wrong
seriously puzzled