regenerate .htaccess file in WordPress

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Rex Maughan
    Senior Member
    • Mar 2022
    • 219

    regenerate .htaccess file in WordPress

    VPS Hosting
    I deleted my .htaccess for some reason, when Wordpress regenerate it?
  • Christian J
    Senior Member
    • Sep 2022
    • 171

    #2
    WordPress will automatically regenerate the .htaccess file but you can also do it by yourself.

    Access your WordPress dashboard, then go to Settings >> Permalinks, and click "Save Changes."

    It will regenerate the .htaccess file with the correct default rules.

    Comment

    • Annie_P
      Senior Member
      • Aug 2022
      • 199

      #3
      I deleted my .htaccess for some reason, when Wordpress regenerate it? >> If you deleted your .htaccess file and you have set up some redirects, deleting it will cause those redirects to stop working.

      Comment

      Working...
      X