# Changing web URL for Mautic - what do i have to change?

**URL:** <https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997>\
**Category:** Product Support\
**Created:** [November 20, 2023, 7:15am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997 "2023-11-20T07:15:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [November 20, 2023, 7:15am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/1 "2023-11-20T07:15:28Z")

</div>

**Your software**  
My Mautic version is: 4.4.10  
My PHP version is: 8.0.30  
My Database type and version is: Mariadb 10.6

Hello i moved my Mautic url from [ma.stefan-franz.de](http://ma.stefan-franz.de) to [info.stefan-franz.de](http://info.stefan-franz.de)  
I changed with ssh on the server the

- virtual hosts config
- made a new SSL certifcate

In Mautic i changed it in Mautic

- Configuration / System / Url Website
- and updated the new tracking code in my website
- and the script of the forms code (for working also the in the form the Link to the confirm site of a form had to be short changed and back to update something, other the link did’t work)

Do i anything to do?

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [November 20, 2023, 8:25am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/2 "2023-11-20T08:25:13Z")

</div>

I think you have covered it all.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 21, 2023, 9:01am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/3 "2023-11-21T09:01:03Z")

</div>

+1  
Regenerate assets, so your Mautic creates a new tracking JS:

`bin/console m:a:s`

Regenerate cache as always

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [November 21, 2023, 9:14am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/4 "2023-11-21T09:14:47Z")

</div>

> [@joeyk](#):
>
> bin/console m:a:s

How should i use this command?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [November 21, 2023, 9:30am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/5 "2023-11-21T09:30:52Z")

</div>

SSH to your server where mautic is. Move to the root of mautic installation and run the command Joey gave you.

```auto
php bin/console mautic:assets:generate 

```

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 21, 2023, 9:58am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/6 "2023-11-21T09:58:19Z")

</div>

LOL yes, that’s what I meant, thank you

```auto
m:a:g

```

You just execute in command line.

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [November 21, 2023, 9:58am UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/7 "2023-11-21T09:58:23Z")

</div>

I did it. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [November 22, 2023, 9:58pm UTC](https://forum.mautic.org/t/changing-web-url-for-mautic-what-do-i-have-to-change/29997/8 "2023-11-22T21:58:38Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
