• Hi,

    I have a website and want to install WordPress under a “Blog” sub-directory. The installation is working fine, but I’m having an issue with case sensitivity.

    If I go to: https://wp.canopy29.com/blog, I get an error page.
    If I go to: https://wp.canopy29.com/Blog, it works just fine.

    I’m running on Windows Server 2008 and IIS7.

    I’ve looked around and can’t seem to figure out what the issue is. I also have a web.config file under the sub-directory to allow for URL re-writing. The web.config code looks like:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    	<system.webServer>
    		<rewrite>
    			<rules>
    				<rule name="Main Rule" stopProcessing="true">
    					<match url=".*"/>
    					<conditions logicalGrouping="MatchAll">
    						<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
    						<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
    					</conditions>
    					<action type="Rewrite" url="index.php"/>
    				</rule>
    				<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>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Log in admin panel change the urls to https://wp.canopy29.com/blog

    using ftp rename Blog to blog

    You having this problem as files and folders are case sensitive
    and you have use then as you named them else you get error.

    Thread Starter jondomanus

    (@jondomanus)

    Hi govpatel…. Thanks for your response. Is there anyway that I can set it up to ignore the case-sensitivity?? With all of my other websites that are .NET C# based, it doesn’t matter if a file has an upper-case or a lower-case. It seems odd that wordpress (or PHP) for that matter wouldn’t allow a work around so that it wouldn’t matter was the case was.

    Maybe it’s a different setting in PHP?? Please let me know.

    Thanks!

    As far as I know and I have always worked on linux server and php scripts it gives errors if you do not use as named.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress in Sub Directory Case Issue’ is closed to new replies.