Omeka installed on IIS 8. Admin area works 100% public only works on main page.

I can access everything in admin and upload files and such. I can access the main page for public but I can't click any links.

All the links click to "Page cannot be found". We have the omeka directory in a sub directory of a IIS 8 wordpress install. I have tweaked out the web.config file every which way for re-writes.

I can reach any of the public pages if i type them in manually (index.php/collections/browse).

I'm at a loss. Any help would be greatly appreciated.

I'd have to imagine it's a rewrite problem. That's the only thing consistent with being able to reach things at their "index.php" versions but not the normal ones.

Is the "page not found" a Wordpress-type 404 page? That would indicate that you're being caught up in your Wordpress rewrites first.

I don't have any personal IIS experience so I'd only be able to offer general ideas.

Yes it certainly is. Maybe I can look at a multi tiered rewrite for the web.config


my web.config

<?xml version="1.0" encoding="UTF-8"?>
	  		<clear />
			<rule name="SubWordpressFolder" stopProcessing="true">
				<match url=".*" />
						<add input="{HTTP_HOST}" pattern="^(www.)?" />
						<add input="{PATH_INFO}" pattern="^/" negate="true" />
				<action type="Rewrite" url="\your\sub\domain\directory\path\{R:0}" />

			<rule name="SubWordpressFolder-wp" patternSyntax="Wildcard">
				<match url="*"/>
						<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
						<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
				<action type="Rewrite" url="index.php"/>

Thanks for sharing the results; could be useful for other people trying to use IIS.