Hi again,
I think I made the corrections for my portal, its working.
My new problem is with extensions.
I made following changes for my news files on page_header :
Code:
"'(?<!/)news_viewnews.php'",
"'(?<!/)news_viewnews.php\?news_id=([0-9]*)&start=([0-9]*)'",
"newsposts.html",
"newsposts\\1-\\2.html",
Then on htaccess:
Code:
RewriteRule ^newsposts.html news_viewnews.php [L,NC]
RewriteRule ^newsposts([0-9]*)-([0-9]*).html news_viewnews.php?news_id=$1&start=$2 [L,NC]
But I still have a link like this :
Code:http://www.email-x.net/newsposts.html?news_id=0&start=5
I have a link on overall_header with the file name 'news_viewnews.php'. It looks like an html file. But the one with news_id still have the same extension after 'html' : 'newsposts.html?news_id=0&start=5'
How can I use both of the codes?
Sorry for my englisj, hope you can understand...