|
I´m in the process of transferring my pages from html to php.
For SEO, I would like to move all the pages ending with -en.php to a subdirectory /English/ and all those ending with -fr.php to /French/.
I would also need to redirect the old html pages to the new ones.
I tried RewriteRule ^English/(.*?)-en.php$ /home-en.php and the pages seem to be located under /English/ but all the pages are there, not just the ones ending with -en.php.
I can´t work out what the code should be like.
|