# cfforward

Leads the request to a different page. This tag acts like the tag cflocation except that the relocation is done directly on the server.




### Syntax

```
<cfforward template="page.cfm"> 
```



#### Script Syntax

```
cfforward( "page.cfm" );
```





## Attribute Reference

| Name | Type | Required | Default | Description | Values |
| --- | --- | --- | --- | --- | --- |
| template | string | Yes |  | A logical path to a CFML page. |  |





## CFML Engine Support

The cfforward tag is supported on the following CFML engines:

| Engine | Minimum Version | Notes |
| --- | --- | --- |
| Lucee |  |  |




## Examples


### Script Syntax



```

cfforward( "mypage.cfm" );
```



### Tag Syntax



```
<cfforward template="mypage.cfm">
```






## Related Tags and Functions

[cflocation](https://cfdocs.org/cflocation.md)




The human version of this document can be found here: [https://cfdocs.org/cfforward](https://cfdocs.org/cfforward) which is part of the cfdocs.org repository. Project created by [Pete Freitag](https://www.petefreitag.com) and sponsored by [Foundeo Inc.](https://foundeo.com/)
