I've tried to rewrite the dynamic URL (below) to a slightly different structure; either does not work or I am not sure if it is correct:
- Old URL (URL#1): index.php?lang=AAA&zone=BBB&city=CCC&str=DDD&search=EEE
- New URL (URL#11): index.php?lang=AAA&country=BBB&place=CCC&street=DDD
*basically changed the names and the "search" string is not important any more
- what I am trying to achieve is redirecting all visitors from (old) dynamic URL#1 to (new) dynamic URL#11
In a second step, after all search engines show the new urls and we finished all test that are easier with non-sef urls, we would like to rewrite URL#11 to URL#2
- New URL (URL#11): index.php?lang=AAA&country=BBB&place=CCC&street=DDD
- Sef URL (URL#2): /AAA/BBB/CCC/DDD
I am not very familiar with apache programming and even when my solution works, we are not sure if it is the right one or if it will generate errors with certain URLs. Any help would be highly appreciated in creating a .htaccess file that does the step 1 redirection and a separate .htaccess file to be used later, for SEF urls. THANK YOU!