Forums

Default web.config syntax (6 posts)

  1. Tales of the Grape
    Member
    Posted 2 years ago #

    What should the syntax be for the default web.config file?

    I made some edits and I want to restore the old settings, but I cannot find the old file that I backed up.

    I'm using the default permalink setting, nothing fancy.

    Is the .htaccess file necessary anymore?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    If you mean the wp-config.php file, try downloading a fresh copy of WP and extracting the wp-config-sample.php file

  3. Tales of the Grape
    Member
    Posted 2 years ago #

    Just the web.config file. I didn't mess with the .php file.

    Come to think of it, is it even neccessary?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    There is no web.config file in WordPress. All of your site options are stored in your database.

  5. ClaytonJames
    Member
    Posted 2 years ago #

    Is a web.config file an IIS server issue? I only ask because of this:

    "Is the .htaccess file necessary anymore? "

    Should we assume you recently moved to (or have been using) a windows server?

  6. Tales of the Grape
    Member
    Posted 2 years ago #

    Thanks for the help. I just started the blog (hosted with godaddy)and tried using permalinks, but began having all types of performance problems. When I changed the permalinks originally, I was given several lines of code to add the the web.config file. When I changed it back (to default) I didn't have the orignal syntax.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags