I am not good in English so consider my grammatical mistake.
I am from Bangladesh so my client wants Bangla URL for SEO friendly. I tried to passing some particulars Unicode word in URL.
Normally everything is ok but when I pass this ‘অর্থনীতি’ types of word browser show object not found. I used url_encode/url_decode, permitted_uri_chars, and more other suggestion too but this browser message is same. can I pass this types of word in the URL?
I attached two picture. one is URL working fine and another is not working well.
**** Solution ****
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /example3/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /example3/index.php [L]
</IfModule>
2
Answers
first of all make sure you enable query string in config.php file
Here you have to change your controller function.
You just need to add this parameter
$news_slug
in your controller functionEdit 1 :
This is my function I tried :
And this is what my output is :
Edit 2 :
Second screenshot as per your provided string