Jump to content

Como fazer fazer o redirecionamento completo do site ?


Recommended Posts

Olá mus amigos, por favor me ajudem já não sei mais oque fazer...

 

Eu já consegui redirecionar a index:

www.novatogames.org

 

para

 

www.novatogames.net

 

 

Mas os posts não estão redirecionando:

http://www.novatogames.org/2015/02/rugby-15-pc/

 

para 

 

http://www.novatogames.net/2015/02/rugby-15-pc/

 

Por me ajudem  :rolleyes:

Link to comment
Share on other sites

Acabo de adicionar:

Options +FollowSymlinks 
RewriteEngine On
RewriteCond %{HTTP_HOST} ^novatogames.org [NC]
RewriteRule ^(.*)$ http://novatogames.net/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.novatogames.org [NC]
RewriteRule ^(.*)$ http://novatogames.net/$1 [L,R=301]

Estou aguardando o cash atualizar para ver se vai funcionar, se não der vou tentar oque você colocou, será que este da certo ?

Link to comment
Share on other sites

Acabo de adicionar:

Options +FollowSymlinks 
RewriteEngine On
RewriteCond %{HTTP_HOST} ^novatogames.org [NC]
RewriteRule ^(.*)$ http://novatogames.net/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.novatogames.org [NC]
RewriteRule ^(.*)$ http://novatogames.net/$1 [L,R=301]

Estou aguardando o cash atualizar para ver se vai funcionar, se não der vou tentar oque você colocou, será que este da certo ?

 

Não costuma ter cache para .htaccess. 

Link to comment
Share on other sites

 

Basta você criar um .htaccess no dominio que deseja redirecionar e colocar o código abaixo. Ou então use a propria ferramenta de redirecionamento do cPanel.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^novatogames.org
RewriteRule ^ http://www.novatogames.net%{REQUEST_URI} [L,R=301] 

 

Adicionei no .htaccess do antigo domínio e não funcionou :/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

Do you agree with our terms?