Cambiar permalinks sin perder indexación en Google

  • Autor Autor choloxinzo
  • Fecha de inicio Fecha de inicio
C

choloxinzo

Gamma
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola!

Pues queria cambiar mis permalinks ya que son del tipo /2014/01/titulodelpost a /titulodelpost . El caso es que si lo hago directamente desde WP no me redirecionba por 301, por lo que al entrar desde Google lanza "Página no encontrada".

He probado un plugion Advanced Permalinks creo, pero el problema es que al insrtalarlo las categorías luego lanzan el error 404....

¿Que me recomendais? No me gustaría esperar a que reindexee Google por si pierdo posiciones...
 
Voy a probarlo y te cuento, muchas gracias Lopezito

---------- Post agregado el 31-ene-2014 hora: 12:39 ----------

Tampoco me funciona... He añadido al .htcaccess lo que comenta en el post y no me las redirige 🙁
 
Voy a probarlo y te cuento, muchas gracias Lopezito

---------- Post agregado el 31-ene-2014 hora: 12:39 ----------

Tampoco me funciona... He añadido al .htcaccess lo que comenta en el post y no me las redirige 🙁

Pasa el contenido de .htaccess(con lo que te pase) si podes :encouragement:
 
Coloca esto en tu htaceess

DirectoryIndex index.php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
 
Eso ya lo tengo 🙁
Coloca esto en tu htaceess

DirectoryIndex index.php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Este es el .htaccess en el directorio www de mi servidor.

Insertar CODE, HTML o PHP:
#Redirigir postlinks
RedirectMatch 301 /([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ http://www.miweb.com/$4
#Redirigir postlinks fin
# BEGIN All In One WP Security
#AIOWPS_BASIC_HTACCESS_RULES_START
<files .htaccess>
order allow,deny
deny from all
</files>
ServerSignature Off
LimitRequestBody 10240000
<files wp-config.php>
order allow,deny
deny from all
</files>
#AIOWPS_BASIC_HTACCESS_RULES_END
# END All In One WP Security

# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cache

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
# BEGIN GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
# END GZIP
 
Interesante.. me gustaria ver como hacerlo tambien.
 
A ver si algún experto en WP sabe...
 
Atrás
Arriba