If the article title in URL is written in full English, then everything is displayed correctly. However if the title is written in Greek, I get a 404 page. Without using the htaccess rewrite rule, it displays the page.
My question is how can I make it work with the htaccess?
htaccess error when dealing with RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^article/([a-zA-Z0-9]+)/?$ article.php?title=$1 [NC,QSA,L]
RewriteRule ^([^\.]+)$ $1.php [NC,L]
3 scenarios:
First (english chars):
title: hello
url: example.com/article/hello
OPENS THE PAGE
Second (greek chars):
title: γειά
url: example.com/article/γειά
The requested URL article/γειά.php was not found on this server.
Third (without using the htaccess):
/article.php?title=γειά
OPENS THE PAGE