We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Redirect old url to new url with htaccess

  • #3815
    Avatar photo[anonymous]

    Hi! I’ve recently changed my website theme with Editorial and now i have some url to correct. My domain provider doesn’t allow me to redirect and  have to do it with .htaccess.

    I’ve tried to create a file in Tools > File Manager > Add New File – .htaccess

    with the following code:

    Redirect 301 /blog/page-name.html

    But it doesn’t work. Have you any advice on how to do that?

    Avatar photo[anonymous]


    When you publish your site through Publii, you can choose to set it up through Netlify and use the Redirect file to solve this problem. I ran into the same problem and wanted to redirect visitors who visit to Hope this helps!


    Thank you,


    Avatar photo[anonymous]

    Hey Nick! Did you upload the redirect file into Publii’s file manager?