Am I right in thinking your site is hosted on an MS server, rather than Linux?
Not sure. How do I tell?
Are you running IIS or Apache? (headers seem to indicate IIS)
and if that is the case, here is a how to
I only want to redirect one page, not the whole site.
Try the steps towards the bottom of this page. Seems you go into Content View
So it is the same steps, you are simply being more specific.
Is there a way I can do this with HTML? I don’t have that Server Manager interface.
You can create/edit a
web.config file, it’s the IIS equivalent of htaccess, but the syntax is totally different, it’s XML.
I need to use Dreamweaver to do this. What is the correct code to use?
Here is an example that may help
I think it will be something like
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="WorkForceProductivitySolutions" stopProcessing="true"> <match url="/workForce_Productivity_Solutions.htm" /> <action type="Permanent" url="/SupplyChainSolutions.html" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Thanks for that, but unfortunately, I am not a developer so I don’t know what any of that solution means. Can someone tell me the exact code and where to place it?
I updated my post above with what I think you must put in your web.config and then you simply upload it.
Where would I upload it? Does it need to go in the
Put that code into any text editor (notepad or similar) save it as “web.config” with UTF-8 encoding, upload to the root directory of the website.
Following on what @SamA74 said, you upload it as a separate file, it does not go into any of your existing files.
Actually, first check if there is already an web.config file, if there is, edit that rather than overwriting.
If not, then create a new one as described.
I wonder how many times we can go back and forth fixing each other to be politically correct.
And if there is an existing one, then you will want to examine it instead of overwriting it with what I posted, as you may need to only copy the
<rule>...</rule> part into an existing
<rules> section, or you may have to copy the entire
<rewrite> section and paste it in an existing
There is a web.config file. This is what it says…
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/handle404.html" responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration>
OK, try copy the code in the
<rewrite> tags from earlier and paste it within the
<system.webServer> tags of the existing file.
Keep a backup of the original, just in case it does not work.
After uploading the modified file, test it.