• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

web.config for permalinks, 2 sites running

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › web.config for permalinks, 2 sites running

This topic is: not resolved

Tagged: iis, permalinks, web.config, windows

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 7 months ago by myersbr2.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 14, 2013 at 8:25 am #56290
    myersbr2
    Member

    I have two separate installs of WP 3.5.2 on a Windows 2008 server (sure wish it were Linux). Both sites work, and on the primary site, pretty permalinks works. The web.config of the primary site (http://www.strongwell.com) is as follows:

    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="wordpress" enabled="true" patternSyntax="Wildcard">
    <match url="*" />
    <conditions>
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    </conditions>
    <action type="Rewrite" url="index.php/{R:0}" />
    </rule>
    </rules>
    </rewrite>
    <staticContent>
    <remove fileExtension=".eot" />
    <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
    <remove fileExtension=".ttf" />
    <mimeMap fileExtension=".ttf" mimeType="font/ttf" />
    <remove fileExtension=".otf" />
    <mimeMap fileExtension=".otf" mimeType="font/otf" />
    <remove fileExtension=".woff" />
    <mimeMap fileExtension=".woff" mimeType="font/x-woff" />
    <remove fileExtension=".pdf" />
    <mimeMap fileExtension=".pdf" mimeType="application/pdf" />
    <mimeMap fileExtension=".mp4" mimeType="video/mpeg" />
    </staticContent>
    <tracing>
    <traceFailedRequests>
    <add path="*">
    <traceAreas>
    <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
    <add provider="WWW Server" areas="Rewrite" verbosity="Verbose" />
    </traceAreas>
    <failureDefinitions timeTaken="00:00:03" />
    </add>
    </traceFailedRequests>
    </tracing>
    <security>
    <requestFiltering>
    <requestLimits maxAllowedContentLength="10000000" />
    </requestFiltering>
    </security>
    </system.webServer>
    </configuration>

    The other site is in a subdirectory of the main site called (http://www.strongwell.com/trainingnew) and it works fine but I cannot get pretty permalinks to work. I've tried NUMEROUS web.config options, but don't know if I'm supposed to put a new web.config in that folder or add to the existing one here. Ideally, I want the configuration to be http://www.strongwell.com/trainingnew/%postname%/

    http://www.strongwell.com
    November 17, 2013 at 12:43 pm #73600
    Susan
    Moderator

    I see you posted this a while back, so I hope you got your issue resolved. If not, come back and check in, and I'll escalate it for you...

    November 17, 2013 at 1:36 pm #73691
    myersbr2
    Member

    Still unresolved. I gave up after trying everything I found online. I'd greatly appreciate some help!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble