• Hi,

    When creating a teampage in WordPress I use the ‘team function’.

    I changed the slug into the name of the page: ‘our-people/’ (with a slash on the end otherwise the page isn’t visible).

    When I click on a colleague there appears a double slash in the url. (sitename.com/our-people//name/)

    Does anybody know how do delete the double slash?

    Thanks and hope someone can help!

    FYI:
    – Permalink setting: Custom Structure – /%category%/%postname%/
    – Using web.config instead of .htaccess
    Code:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name=”wordpress” 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”/>
    </rule></rules>
    </rewrite>

    </system.webServer>
    </configuration>

  • The topic ‘Double slashes in url’ is closed to new replies.