Ben dostu URL'ler uygulamak için en iyi yolu ne olurdu sizin recommandations arıyorum.
What I currently do is redirect all 404 requests to folders or files that do not exist to index.php. index.php reads the query string and makes a database call to see if the url is in the page_urls table then based on the page type fetches content etc etc.
.
: Htaccess aşağıdaki satırları içeren
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L]
Lütfen bunu yapmanın daha "akıllı" bir yolu var mı? Teşekkür ederim.
Teşekkür ederim.