Forums

Adding custom URL... and keeping old one?

Hi,

If I were to add my own URL to my flask site is there any possibility of keeping the old one so it redirects to the new URL, please?

Many thanks, Tom

You'd need two websites set up on PythonAnywhere for that, one for the old hostname and one for the new one. We have a help page on how you could set up a simple Flask app on the old hostname so that it does the redirect for you.