I have a link that's currently formatted like this:
http://example.com/news/view/1.html
I want to it redirect it to:
http://example.com/خبر/عنوان-الخبر
where خبر
is equal to news
and
عنوان-الخبر
is the title of the news page. I want ro do it using .htaccess, and provide a permanent 301 redirect for the old URLs.
Do I need to edit the PHP source at all to accomplish this?