Other [Paid] url redirection from phpbb2 to xf


I want to change the software from phpbb2 to XF1.4.4. The old URL should be redirect to the new XF-URL.

At the moment i am still using an redirection within phpbb2 (.htaccess):

=> http://www.domain.com.de/ftopic41423.html
=> http://www.domain.com/ftopic41723-0-asc-15.html (second page)
=> http://www.domain.com/ftopic41723-0-asc-30.html (third page)

=> http://www.domain.com/forum5.html

But i have also urls like this in the google index (phpbb2 standard):
topic: http://www.domain.com/viewtopic.php?t=41777&sid=3bba51ec3a28786d750f9b1a82ad617a
post: http://www.domain.com/viewtopic.php?p=507033&sid=4c1455696577f78c82fdda2dafeda02f

my current .htaccess:
RewriteEngine on

<files archive>
ForceType application/x-httpd-php
# AcceptPathInfo On # uncomment this if you have apache2

RewriteCond %{REQUEST_FILENAME} forums.html
RewriteRule (.*) index.php [L]

RewriteCond %{REQUEST_FILENAME} viewforum([0-9]*)-([0-9]*)-([0-9]*).html
RewriteRule (.*) viewforum.php?f=%1&topicdays=%2&start=%3 [L]

RewriteCond %{REQUEST_FILENAME} forum([0-9]*).html
RewriteRule (.*) viewforum.php?f=%1 [L]

RewriteCond %{REQUEST_FILENAME} ptopic([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%1&view=previous [L]

RewriteCond %{REQUEST_FILENAME} ntopic([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%1&view=next [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%1&postdays=%2&postorder=%3&start=%4 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*)-([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%1&start=%2 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%1 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%1&start=%2&postdays=%3&postorder=%4&highlight=%5 [L]

RewriteEngine On

RewriteCond %{QUERY_STRING} (.*)=http(.*) [NC]
RewriteRule ^(.*) - [F]

if possible i want to redirect most of the urls which are used in the forum and in the google index at the moment. can anyone do this for me and how much does cost it?


Well-known member
Already sent the redirect files :) Waiting for him to confirm if its working or not as expected. (free ofc)