url'den word.php dosyasını kaldırmak istiyorum, wordpress ve iis7 kullanıyorum. nasıl seni Windows Azure web sitelerini kullanan web sitenize giriş yapıp sadece bir web.config dosyası as this article pointed out oluşturmak için Microsoft WebMatrix
kullanmaktır bir durumda, buiis7'deki wordpress URL'lerinden index.php'i kaldır
cevap
Başka oldukça hızlı bir çözüm yapabilirsiniz. Bu çözer. URL Rewrite extension
ya da kendiniz gibi bir şey yüklemenize gerek yoktur. MS Webmatrix sorunu kolayca çözüyor görünüyor.
kullanın bu web.config
(web.config apache websunucularda dosyayı .htaccess IIS eşdeğerdir. Bu kök klasöründe bulunabilir. Hiçbiri yoksa, bir tane oluşturmanız gerekir.) kalıcı bağlantılar sayfasında Sonra
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<!-- Set the default document -->
<files>
<remove value="index.php" />
<add value="index.php" />
</files>
</defaultDocument>
<httpErrors errorMode="Detailed"/>
<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>
, "Özel Yapısı" olarak ayarlayın ve bu cevapların Herhangi sorununuzu çözdü /%postname%/
web.config –
web.config dosyası, apache webservers uygulamasında .htaccess dosyasına IIS eşdeğeridir. Kök klasörde bulunabilir. Hiçbiri yoksa, bir tane oluşturmanız gerekir. – Binod
değer vermek? –