SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict savagepriest's Avatar
    Join Date
    Mar 2006
    Location
    India
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy How to enable permalinks for wordpress on windows server

    Hi, I have hosted my website on windows server 2008 but while trying to enable permalinks on wordpress I am getting 404 error, I tried enabling mod_rewrite from httpd.conf file but it doesn't seem to work.
    What could be the issue please guide me.
    Thanks.

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    SP,

    M$ has attempted to duplicate mod_rewrite in at least two versions on IIS servers however I believe you'll need to wait for an M$ expert (like wwb99) for a definitive answer - because my advice would be to use an Apache server.

    In the mean time, you may want to check the file permissions on your .htaccess equivalent file where WP would have attempted to write its code.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Addict savagepriest's Avatar
    Join Date
    Mar 2006
    Location
    India
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have not uploaded any .htaccess file i have just tried to write rewrite rule in web.conf file but it didnt work
    I tried following the tutorial here


  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The IIS url rewrite stuff is just as powerful as mod-rewrite.

    It should work if you are on windows server 2008 if you apply the above linked tutorial. I would be certain I could write to web.config -- that is often not the case between file permissions and UAC settings. The other thing to check into with the host is if they have the url rewrite module enabled for your site.

    That link does work -- we've got half a dozen blogs running on IIS using that same guidance.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •