Title: Default web.config syntax
Last modified: August 19, 2016

---

# Default web.config syntax

 *  [tales-of-the-grape](https://wordpress.org/support/users/tales-of-the-grape/)
 * (@tales-of-the-grape)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/)
 * 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?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/#post-1336961)
 * If you mean the wp-config.php file, try downloading a fresh copy of WP and extracting
   the wp-config-sample.php file
 *  Thread Starter [tales-of-the-grape](https://wordpress.org/support/users/tales-of-the-grape/)
 * (@tales-of-the-grape)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/#post-1336964)
 * Just the web.config file. I didn’t mess with the .php file.
 * Come to think of it, is it even neccessary?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/#post-1336967)
 * There is no web.config file in WordPress. All of your site options are stored
   in your database.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/#post-1336976)
 * 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?
 *  Thread Starter [tales-of-the-grape](https://wordpress.org/support/users/tales-of-the-grape/)
 * (@tales-of-the-grape)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/#post-1337004)
 * 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.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Default web.config syntax’ is closed to new replies.

## Tags

 * [web.config](https://wordpress.org/support/topic-tag/web-config/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [tales-of-the-grape](https://wordpress.org/support/users/tales-of-the-grape/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/default-webconfig-syntax/#post-1337004)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
