[Resolved] "Preview Changes" button cannot work

Home Forums Support [Resolved] "Preview Changes" button cannot work

Home Forums Support "Preview Changes" button cannot work

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #179823
    Tom
    Lead Developer
    Lead Developer

    You may need to use the plugin then if you can’t change one of the names.

    #181417
    Lim Siong Boon

    I have found the solution to the problem of display of directory listing over the permalink.
    I wanted a permalink to be displayed but because I have a physical folder structure same as my permalink, the wordpress display my directory structure instead of my permalink.

    The solution is to set a security in the file “.htaccess” under the website root directory.
    Add in the following lines,

    #Prevent wordpress from listing the directory’s files.
    Options All -Indexes

    Wordpress will not list out the files under the directory even if index.html is not available.
    This is a security measures to prevent hackers from navigating your website’s directories.
    With this in place, WordPress will load my permalink instead of the directory now.

    #181453
    Tom
    Lead Developer
    Lead Developer

    Awesome! Thanks for sharing the solution! 🙂

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.