Hi, I'm a longtime customer at Winhost and I would like to know if it'S possible to do what I need. I tried a couple of things but was never able to make it work. I have a regular website at the root using asp.net and IIS 7.5. I have also installed wordpress on the default /wordpress folder. I would like to hide/remove the /wordpress from all the page on the wordpress website. www.ADomaineName.com/wordpress to become www.ADomaineName.com. It is possible and how can I do that ? Thanks Richard
Hi Richard, We have generic information on hosting multiple domains under one site account. It's possible, but I don't have the exact details because I'm not a WordPress expert. I think it pulls from the web.config first before checking the .htaccess file in a Windows environment. WordPress has its own Permalinks structure.
There's no default option in WordPress permalinks settings to remove the home directory from the URL, so you'd have to do what @Elshadriel suggested and check out the code used when hosting domains in subdirectories. That should get you started. This may be of some help too - it's the web.config lines necessary to use "post name" URLs in WordPress on Windows servers. So it's a rewrite, though it doesn't change the path, as you're trying to do: Code: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <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>