My old website had trouble so I code a new one. But I cant redirect my old URL to new URL. My old URL looks like :
http://sample.com/?m=news&e=view&id=66
It already shared and SEO on google. But I completed remove old source in my host. I want when someone click in that link, it will redirect to my new page:
http://sample.com/en/news/redirect-url-66.html
But idk how to write Rule for htaccess.Can anyone tell me what should I do. This's my htaccess (default CodeIgniter htaccess):
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]