HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/admin/templates/help.rewrite.tpl
<html>
<head>
<link rel="stylesheet" href="styles/styles.css" type="text/css">
<style>
	a {
		font-size: 12px;
		color: blue;
	}

	code {
		padding: 10px;
		margin-top: 10px;
		margin-bottom: 10px;
		border: 1px solid #E9E7D6;
		background-color: #F8F8EF;
		display:block;
		color: #595959;
		line-height: 130%;
	}


</style>
<script type="text/javascript" src="../javascript/jquery.js"></script>

<script type="text/javascript" src="../js.php?f=admin&amp;section=&amp;a=1"></script>

</head>
<body class="popupBody">

<div class="popupContainer">
	<div class="heading1">Troubleshooting: URLs not working</div><br/>
	<b>Problem</b><br />
	It appears your website's URLs are not working. This application uses "rewrite rules" to create search engine friendly URLs. It mimics the existance of .html files with keywords in their file names. No .html files are ever generated, it is just made to look like they are. {if $isApache}<br /><br />We've detected that you're running on an Apache webserver. This means that rewrite rules on your website are controlled by the ".htaccess" file located in the root folder of this application. This file will most likely need to be modified to fix this problem.{/if}<br /><br />
	
	<b>Solution</b><br />
	{if $isApache}
		Different server configurations require diffferent settings, so the following will guide you through several possible solutions.<br /><br />
		
		The most common problem for URL rewriting not working is the 'RewriteBase' value needs to be set. Your .htaccess file has the following line in it:

		<code># RewriteBase /websitepublisher/</code>

		The # at the beginning of the line means it is 'commented out' and is completely ignored by the web server. 
		
		{if $config.appPath != '' && $config.appPath != '/'}
		
			<br /><br />First, try replacing that whole line with:

			<code>RewriteBase {$config.appPath}</code><i>(Notice the lack of a # this time!)</i><br />
			<br />
			<a href="{$config.siteURL}/iwp-rewrite-check.html" target="_blank">Click here to check if the change has worked.</a> If you see a message "rewriting works" then the change has been successful and the URLs on your website are working. If you see any other page, URL rewriting is not working.
			<br /><br />
			If the above hasn't worked, try replacing that whole line with:
		{else}
			<br /><br />First, try replacing that whole line with:
		{/if}

			<code>RewriteBase /</code><i>(Notice the lack of a # this time!)</i><br />

			<br />
			<a href="{$config.siteURL}/iwp-rewrite-check.html" target="_blank">Click here to check if the change has worked.</a> If you see a message "rewriting works" then the change has been successful and the URLs on your website are working. If you see any other page, URL rewriting is not working.<br /><br />
			If the changes above have not worked and you see an '<b>Internal Server Error</b>' page, see this knowledge base entry <a href="javascript:LaunchHelp(855);">Internal Server Error or 500 Error</a><br /><br />
			If none of the the solutions mentioned have helped you to fix the problem, please contact your support representative.
	{elseif $isIIS}
		As you are running Microsoft IIS, you'll need to contact your <b>web host</b> to ensure they have ISAPI Rewrite 3 or greater installed. If it is already installed, you'll need to ask them double check the rewrite rules in the ".htaccess" file located in the root of this application are valid.
	{else}
		You are currently running an unsupported web server. This application is supported and guaranteed to work on Apache or Microsoft IIS web servers. Please contact your <b>web host</b> to resolve any issue you are experiencing.
	{/if}
</div>

 </body>
</html>