# $field->permalinksToUrls()

Parses the field value as DOM and replaces any permalinks in href/src attributes with the regular url

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/methods.php#L499>

****

```php
$field->permalinksToUrls(): Kirby\Content\Field
```

## Return type

`Kirby\Content\Field`

This method modifies the existing `$field` object it is applied to and returns it again.


## Warning

<warning>
  This method is still experimental! You can use it to solve potential problems with permalinks already, but it might change in the future.
</warning>