title: drupal 8: how to redirect route with route parameters?
body: <p>I have created dynamic route in drupal8 with parameter. Now i need to redirect to this page based on user action. How can this be achieved?</p>
  
  <p>Page sample router code as below example: </p>
  
  <pre><code>domain_site_settings.config_form:
    path: '/admin/config/domain/domain_site_settings/{domain_id}/edit'
    defaults:
      _form: '\Drupal\domain_site_settings\Form\DomainConfigSettingsForm'
      _title: 'Domain site settings'
    requirements:
      _permission: 'domain site settings'
    options:
      _admin_route: TRUE
  </code></pre>