Recent Discussions Link has backslash in it (index.php?p=/\discussions)

Hi,

I've just upgraded from 2.5.1 to 2.8.1. I followed the instructions regarding the upgrade, files to delete etc.

I have the issue (and this was in place before upgrade I think) where the RecentDiscussions link contains a backslash:

index.php?p=/\discussions

I also, as you can see, still have the issue of using ?p= links. I tried to follow the steps to ensure that pretty URLs are used, but it doesn't seem to have taken effect.

I should note this is hosted in IIS.

Appreciate any assistance that people can give!

Cheers.

Comments

  • hynseyhynsey New
    edited March 16

    OK, so a bit of progress. I added this line to the config.php file (even though the upgrade instructions said to remove if present, which it wasn't):

    $Configuration['Garden']['RewriteUrls'] = true;
    

    No all urls are pretty and nice, except the recent discussions link links to https://discussions . All other links appear fine.

    On IIS, I have this web.config entry for url rewrites:

    <rewrite>
         <rules>		  
          <rule name="Vanilla Rule 1" stopProcessing="true">
           <match url="^(.*)$" ignoreCase="false" />
           <conditions logicalGrouping="MatchAll">
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
           </conditions>
           <action type="Rewrite" url="index.php\?p={R:1}" appendQueryString="true" />
          </rule>
         </rules>
        </rewrite>
    

    Anyone got any ideas? :)

Sign In or Register to comment.