# Rewrite URL

## Contents
Overview Configuration

## Overview
You can use the Rewrite URL filter to specify the path on the remote machine to send the request to. This filter normally used in conjunction with a Static Router filter, whose role is to supply the host and port of the remote service. For more details, see the Static Router topic. Depending on how the Enterprise Gateway is perceived by the client, different combinations of routing filters can be used. For an introduction to using the various filters in the Routing category, see the topic on Getting Started with Routing Configuration.
## Configuration
Configure the following fields on the Rewrite URL filter configuration screen: Name: Enter an appropriate name for the filter in the Name field. URL: Enter the relative path of the Web Service in the URL field. The Enterprise Gateway combine the specified path with the host and port number specified in the Static Router filter to build up the complete URL to route to. Alternatively, you can perform simple URL rewrites by specifying a fully qualified URL into the URL field. You can then use a Dynamic Router to route the message to the specified URL.