WordPress.org

Ready to get started?Download WordPress

Forums

GoDaddy, IIS and Removing index.php in url (22 posts)

  1. jasuess
    Member
    Posted 4 years ago #

    I have Windows hosting through GoDaddy and setup WordPress with their Hosting Connection stuff. I am trying to get index.php removed from the URL for my pages but its not working. Whenever I add a web.config all I get is Error 500 pages.

    Site: jamessuess.com
    Page: jamessuess.com/index.php/resume (which I want to be just jamessuess.com/resume)

    Im under the impression that with the recommended web.config file and getting Error 500's with that means the Rewrite Module just isnt enabled. GoDaddy has basically told me that I need to enable it myself but I cant figure it out. Has anyone gotten this to work on Windows GoDaddy hosting? Any help is appreciated.

  2. jasuess
    Member
    Posted 4 years ago #

    Update: I have a web.config file in the root folder and its working fine but once I add

    <rewrite>
    <rules>
    <rule name="Main Rule" stopProcessing="true">
    <match url=".*" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    </conditions>
    <action type="Rewrite" url="index.php" />
    </rule>
    </rules>
    </rewrite>

    All it does is toss up Error 500.

  3. douglaseberger
    Member
    Posted 4 years ago #

    Just alter your permalinks. Just paste /%postname%/ into your custom structure option. Remove the second slash if you want it without the slash ...

  4. jasuess
    Member
    Posted 4 years ago #

    Even if I just have /%postname%/ in the permalink settings it still requires index.php/ to be before the post or page name for it to work. Otherwise it 404 errors.

  5. BYurick
    Member
    Posted 4 years ago #

    Why are you running Windows?

  6. SexyEnyce
    Member
    Posted 4 years ago #

    I am using godaddy with linux and my home comes up with just my URL name example http://www.domain.com no index.html.

    I was using the the first permalink setting /?category=123 then after that I selected the custom field and put have /%postname% and everything works fine again.

  7. keeperbay
    Member
    Posted 4 years ago #

    Do you mean you logged into GoDaddy, went to Free Products and allowed GoDaddy to install WordPress for you?

    If you use linux or windows it doesn't matter the GoDaddy installed WordPress does not work because of the bazaar configuration of the GoDaddy servers and the fact that GoDaddy has changd the configuration/coding whatever you want to call it.

    I wanted to let you know before you went any further. Give me a few minutes to type up the rest of this answer. I'll get back with you soon.
    ~e

  8. keeperbay
    Member
    Posted 4 years ago #

    If you have allowed GoDaddy to create the database and install WordPress for you, the basic WordPress setup will work. The problem comes when you try to add templates, edit WordPress code, change permalink, add widgets and such.

    There are many posts on many WordPress blogs/forums on how to solve many of the GoDaddy/WordPress problems, however if you ever upgrade your WordPress you just upgrade new problems. The same is true with their Zen Cart and several of their photo storage programs. They have edited the code so getting help on a forum is almost impossible because the “techies” on forum sites have no way of knowing which files and coding was changed by GoDaddy.

    I’ve been with GoDaddy for 5 years, I love them, but I know them.

    The best solution for all GoDaddy installed programs is to delete both the program and the database which GoDaddy has installed. In the case of this WordPress program, download the WordPress program from here. Upload the program yourself using a NON-GoDaddy FTP. Create the database within your GoDaddy hosting account > databases.
    Then install WordPress yourself.

    If you understood nothing of what I just said, contact me, I’ll try to walk you through it. If worst comes to worst I’ll just do it for you.

    ~eDee

  9. jasuess
    Member
    Posted 4 years ago #

    @BYurick, I am running Windows because I am primarily an ASP.NET/C# developer more than I am a PHP/CGI developer. Windows allows me to work in both ASP.NET and PHP as I feel.

    @keeperbay/eDee, Thanks for the insight. I wasnt sure that GoDaddy's install would have been the problem. Ill go get started on getting my own install working on their servers.

  10. jasuess
    Member
    Posted 4 years ago #

    @keeperbay/eDee, I used FileZilla to upload the WordPress files and all I got were Error 500's. Any ideas?

  11. jasuess
    Member
    Posted 4 years ago #

    Hrm. Apparently using FileZilla was the problem. I used WinSCP and now its working like a charm. Lets see if I can get my problem solved now! Thanks for the help.

  12. keeperbay
    Member
    Posted 4 years ago #

    FileZilla doesn't always upload all the files to a server, and FileZilla doesn't always tell you that it has skipped the files. I use an old old old FTP called FTP commander. If there are any issues FTP Commander drops the connection and tells you there was a problem and it disconnected.

    I have your site up now on another tap and I see "Page Not Found"
    I'll be on until late tonight. (do have to take a shower, but the kids are in bed LOL) I'll check back here every 1/2 hour or so.

    Are you on facebook or have Yahoo messenger? I haven't found away to send someone an email through this forum yet and I'd hate to leave my email address here and not be able to remove it later.

    On FaceBook I'm eDee2.0 (we could text from there) and on Yahoo I'm barefootmarket. Feel free to contact me. I'll open Yahoo now.

  13. jasuess
    Member
    Posted 4 years ago #

    Yeah, Ive been a little busy on my server today. I added BlogEngine.NET, Joomla, My own WP install, Host Connection WP install, and TandemServer. What I plan to do is offer web design/development services using primary any CMS available as well as hosting my portfolio. They all have their own folders now. My self install of WP is on http://jamessuess.com/wp/ and I just got off the phone with GoDaddy. They have their server admins looking into the issue and they believe its just an error with the Microsoft URL Rewrite Module. They should be sending an email soon after they finish looking into my issue. Ill do a full write up of my experience once I get this problem solved. GoDaddy does have decent support once you repeatidly (attempt #3 [2nd email about the issue] and #4 [second phone call about the issue])try to get a problem solved through their tech support.

  14. keeperbay
    Member
    Posted 4 years ago #

    Just to warn you, the GoDaddy install of Joomla has the same problem as GoDaddy's install of WP - been there, suffered through that! I love GoDaddy's tech support, it's why I stay. When I started programming they were the best tutors. Glad to see you got it up and running.

  15. evadwolrab
    Member
    Posted 4 years ago #

    Is there any way of backing up my content before I delete everything and do a manual install of WP?

    I've never done a manual install before because I used to be on Bluehost, and although the server was slow their automatic installer was much quicker and easier.

  16. Codeslinger
    Member
    Posted 4 years ago #

    @jasuess,

    Are you using legacy windows hosting or the new grid windows hosting? I was told by GD support today that Microsoft URL Rewrite only worked on legacy so permalinks therefore only worked on legacy and not the new grid hosting for windows. Can someone verify this one way or the other? I also need windows for other reasons so would like to get a good WP install on Windows. Thanks, Dave

  17. Codeslinger
    Member
    Posted 4 years ago #

    Anyone have any recent experience with this at GoDaddy? It does not seem they support MSFT URL Rewrite on their new hosting stuff. Can anyone at GD verify or offer a reason why they would not support this? Thanks.

  18. Codeslinger
    Member
    Posted 4 years ago #

    I got permalinks working on GoDaddy WIMP with their new grid hosting where they do not have Microsoft URLRewrite installed, thanks to an article by John Sessford. I have posted a reference to John's article, code and my GoDaddy tailored instructions at my new WP site located at http://www.49thlatitude.com/wordpress/wordpress/permalinks-on-godaddy-wimp which nicely uses the new permalinks ability. - Dave

  19. TzingChu
    Member
    Posted 4 years ago #

    I had the same problem, and I have just sovled it.
    I created web.config with VS 2008, when I upload the web.config file, a 500 error turned out.
    After I deleted [encoding="UTF-8"] in the web.config file, it works great! You can see my blog http://www.tzingchu.com on GoDaddy's win shared hosting.

  20. TeamKaeru
    Member
    Posted 4 years ago #

    I never use the Godaddy auto-install for wordpress - I've also experienced on several occasions where this seems to screw things up later!

    That aside, I use Windows hosting and so do a number of clients so there's not much choice in the matter. This particular solution worked nice and neatly on the Godaddy IIS7 Windows shared server space. (As of April 2010)

    Added web.config file to the root folder (where the WP install is) containing

    <?xml version="1.0"?>
    <configuration>
       <system.webServer>
          <rewrite>
             <rules>
                <rule name="Main Rule" stopProcessing="true">
                   <match url=".*" />
                   <conditions logicalGrouping="MatchAll">
                     <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                     <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                   </conditions>
                   <action type="Rewrite" url="index.php" />
                </rule>
             </rules>
          </rewrite>
       </system.webServer>
    </configuration>

    Then you can adjust your permalinks to your custom setup in the admin panel.

    Note that if for some reason your images aren't pathed starting with / in front of them (starting at root), it'll throw off the graphics on your site!

  21. egoldnews1
    Member
    Posted 4 years ago #

    The essential step, I think, is making sure your hostname is correct. Linux lets you use localhost. Windows requires a full host path:
    http://help.godaddy.com/article/5110

  22. Daniel Tsang
    Member
    Posted 3 years ago #

    I suffered from the same problem with the /index.php removal.

    However, I used Codeslinger's instruction in order to remove the /index.php.

    http://www.49thlatitude.com/wordpress/wordpress/permalinks-on-godaddy-wimp

    And this works!

    The culprit was due to my plan at GoDaddy with its "Windows Grid Hosting" and the absence of the custom 404 page.

    Thank you very much, Codeslinger!

    Cheers,
    Daniel,
    Editor-in-Chief,
    Airways Aviation News.
    http://www.airwaysaviationnews.com

Topic Closed

This topic has been closed to new replies.

About this Topic