Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter hpm4

    (@hpm4)

    Created a redirect using IIS URL rewrite module and moved it to the the top of the URL rewrite list.

    <rule name="Redirect: Activation link" enabled="true" stopProcessing="true">
                        <match url="^[_0-9a-zA-Z-]+/(wp-activate.*)" />
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Redirect" url="{R:1}" appendQueryString="true" />
                    </rule>

    Worked!

    Thread Starter hpm4

    (@hpm4)

    <rule name="Redirect:Activation" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
                        <match url="^(([_0-9a-zA-Z-]+/)(wp-*.*)" />
                        <action type="Redirect" url="{R:1}{R:3}" appendQueryString="false" />
                    </rule>

    Wrote my redirect rule, it works on development but not on production site.
    Need to take a break and think about what is happening.

    Thread Starter hpm4

    (@hpm4)

    Need a bit of help.

    If I copy the activation and change it from siteurl/networksitename/wp-activate.php?key=### to siteurl/wp-activate.php?key=###, it works.
    Essentially removing the network site name and pointing to the default site.

    I haven’t worked much with IIS URL rewrite module, therefore I would be greatful for a bit of help with the following.

    Thread Starter hpm4

    (@hpm4)

    Production:
    Server 2008
    WordPress deployed using the hosting company one click install feature.
    IIS URL Rewrite module (not sure which version was installed)

    Development
    Windows 7
    Installed all components manually (PHP, MySQL)
    IIS URL Rewrite module 2

    Operating system shouldn’t be a problem as both run the same version of IIS, that is important.

    Plugins are more or less the same, I have even gone as far as disabling all plugins (my clients weren’t too happy about that.)

    Thread Starter hpm4

    (@hpm4)

    Thanks.

    I am losing hair over this, as it works ok in development, but not in production.

    I have mirror the site and I still cannot figure out what is happening.

    Come on, someone out there may know whats happening or has experienced a similar issue.

    Thread Starter hpm4

    (@hpm4)

    Running IIS 7
    plus I have installed the URL Rewrite module.

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