2012-08-24 17 views

cevap

0

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.

6

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%/

+0

web.config –

+1

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