← WordPress

Redirect 301 melhor forma de o fazer

Lida 1885 vezes

Offline

ganha 
Membro
Mensagens 697 Gostos 0
Feedback +1

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Boas tardes,


Estou a pensar em mudar o domínio de um dos meus sites wordpress mas quero fazer o redirect da melhor forma possível ou seja sem perder dados e sem perder nada, ou se perder que seja o mínimo possível.


Fazendo apenas um redirect 301 da seguinte forma:

INSTRUCTIONS: Create a .htaccess file in the root directory of your old website OR edit the htaccess that is already there (after safely making a backup of the existing one) and add the following lines exactly as they are shown while substituting www.yournewdomain.com with your new domain address:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]:



Read more: How to Redirect an Old Domain to a New Domain | StepForth Web Marketing Inc.
Under Creative Commons License: Attribution

Chega? ou é preciso fazer mais alguma coisa, volto a referir que pretendo transmitir toda a informação possível para o novo domínio.

Abraço e votos de um ano cheio de sucesso!