Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/07/2010, 06:07
asantolaya
 
Fecha de Ingreso: septiembre-2006
Mensajes: 2
Antigüedad: 18 años, 2 meses
Puntos: 0
Exclamación IIS7 y Wordpress

Hola a todos, tengo un wordpress montado sobre IIS7 y tengo un problema:

Quiero que las URLs sean amigables, ahora se puede acceder desde diferentes URLS a la misma:

www.videosde.org/?p=608

www.videosde.org/manga

www.videosde.org/manga/

Me gustaría que al escribir cualquiera fuera siempre a www.videosde.org/manga/

Mi web.config es:

Código PHP:
<configuration>
  <
system.webServer>
    <
rewrite>
      <
rules>

    <
rule name="Imported Rule 1" stopProcessing="true">
           <
match url=".*" />
              <
conditions>
                 <
add input="{HTTP_HOST}" pattern="^videosde.org$" />
               </
conditions>   
              <
action type="Redirect" redirectType="Permanent" url="http://www.videosde.org/{R:0}" />
        </
rule>






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



    
         <
rule name="WP Super Cache Index Page" stopProcessing="true">
        <
match url="index.php" ignoreCase="false" />
        <
conditions>
            <
add input="{REQUEST_METHOD}" negate="true" pattern="POST" ignoreCase="false" />
            <
add input="{QUERY_STRING}" negate="true" pattern=".*=.*" ignoreCase="false" />
            <
add input="{QUERY_STRING}" negate="true"
                      
pattern=".*attachment_id=.*" ignoreCase="false" />
            <
add input="{HTTP_COOKIE}" negate="true"
                     
pattern="^.*(comment_author_|wordpress|wp-postpass_).*$" ignoreCase="false" />
            <
add
              input
="{DOCUMENT_ROOT}\wp-content\cache\supercache\{HTTP_HOST}\index.html"
              
matchType="IsFile" />
        </
conditions>
        <
action type="Rewrite" url="wp-content/cache/supercache/{HTTP_HOST}/index.html" />
     </
rule>

      <
rule name="WP Super Cache" stopProcessing="true">
        <
match url="^(\d{4})/(\d{2})/(.+?)/?$" ignoreCase="false" />
        <
conditions>
          <
add input="{REQUEST_METHOD}" negate="true" pattern="POST" ignoreCase="false" />
          <
add input="{QUERY_STRING}" negate="true" pattern=".*=.*" ignoreCase="false" />
          <
add input="{QUERY_STRING}" negate="true"
                    
pattern=".*attachment_id=.*" ignoreCase="false" />
          <
add input="{HTTP_COOKIE}" negate="true"
                   
pattern="^.*(comment_author_|wordpress|wp-postpass_).*$" ignoreCase="false" />
          <
add
            input
="{DOCUMENT_ROOT}\wp-content\cache\supercache\{HTTP_HOST}\{R:1}\{R:2}\{R:3}\index.html"
            
matchType="IsFile" />
        </
conditions>
        <
action type="Rewrite"
             
url="wp-content/cache/supercache/{HTTP_HOST}/{R:1}/{R:2}/{R:3}/index.html" />
      </
rule>
    
    

      </
rules>
    </
rewrite>
        <
httpRedirect enabled="false" destination="HTTP://www.videosde.org" exactDestination="false" httpResponseStatus="Permanent" />
  </
system.webServer>
</
configuration

MUCHISIMAS GRACIAS DE ANTEMANO.

UN ABRAZO.