Welcome to Centmin Mod Community
Register Now

Wordpress Problems after changed name of wp-content directory

Discussion in 'Blogs & CMS usage' started by 78win, Oct 17, 2021.

  1. 78win

    78win New Member

    2
    0
    1
    Oct 17, 2021
    78Win #78Win
    Ratings:
    +0
    Local Time:
    9:19 PM
    1.2
    10.3
    Dear suport
    i have changed name of wp-content directory to another name and then all page became 404
    i have defined a new path of directory in wpconfig.
    How to fix it?
    Thanks

     
  2. eva2000

    eva2000 Administrator Staff Member

    49,301
    11,296
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,576
    Local Time:
    12:19 AM
    Nginx 1.21.x
    MariaDB 10.x
    Why change the name ? Did you install Wordpress via centmin.sh menu option 22's Wordpress installer ? As the installer would rely on certain Wordpress paths being where they are AFAIK. How was Wordpress installed.
     
  3. Jon Snow

    Jon Snow Active Member

    662
    129
    43
    Jun 30, 2017
    Ratings:
    +190
    Local Time:
    11:19 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    Maybe they want to hide wp-content from image URLs.