Forums

[resolved] Unable to find web.config file to edit per instructions within wordpress (7 posts)

  1. mtnwestps
    Member
    Posted 1 year ago #

    I have a hosting account with godaddy and I installed wordpress through their application manager and attempted to follow the instructions on how to set up a multi-site I was able to succesfully change the WP-config.php file per the instructions in wordpress. Step 3 says to edit my web.config file and replace the existing wordpress rules within it. Unfortunately there is not web.config file to edit and when I create a web.config file with just the wordpress rules nothing works, I get a server 500 error. Without the web.config file I am able to acces my mainsite and the network dashboard but when I attempt to access any of my subsites I get a 404 file not found error.

    Is there a way to find a web.config file that I can edit or what do I need to add to the wordpress rules to get it to work? Any other suggestions?

  2. seahawknationblog
    Member
    Posted 1 year ago #

    If your on GoDaddy, you put your wordpress rules within .htaccess file, if you dont have one in the root create one via ftp. PLACE THE LINE BELOW WITH YOUR WORDPRESS RULES IN BETWEEN BEGIN WORDPRESS AND END WORDPRESS.

    # Protect the .htaccess file
    <Files .htaccess>
    Order Allow,Deny
    Deny from all
    </Files>

    # BEGIN WordPress

      PUT YOUR RULES HERE

    # END WordPress

  3. Andrea_r
    team pirate
    Posted 1 year ago #

    @seahawk - you missed the part where the OP is on a windows server and cannot use htaccess rules in WEB.config.

  4. seahawknationblog
    Member
    Posted 1 year ago #

    OOps damn i did miss that part, must be all these damn long hours in front of the puter?

  5. Samuel B
    moderator
    Posted 1 year ago #

    I would seriously suggest you move from godaddy's crappy windows servers to a linux server in the hosting control panel - it's free and will save you a lot of grief - especially with multisite

  6. mtnwestps
    Member
    Posted 1 year ago #

    After reading the above comments and talking with another experienced developer who uses godaddy I have given up on trying to use multisite on godaddy. For those of you who may be reading this and are making a decision on who to use for hosting I would not recommend using godaddy unless you are an expert with whatever applications you want to use and have a large bottle of asprin. Godaddy does not and will not support the application they claim are compatible with their hosting plans.

  7. Andrea_r
    team pirate
    Posted 1 year ago #

    It;s becasue you;re on a Windows box. the web.config file is a server file which they would never let you have access to anyway.

Topic Closed

This topic has been closed to new replies.

About this Topic