Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Erro Redirecionamento

Featured Replies

Postado

Caros tínhamos o endereço  vários conteúdos já removidos.

 

Como posso alterar a regra abaixo para redirecionar quialquer que seja o  etc para outra página ?

 

Nas regras abaixo só funciona para o exato endereço http://www.megahost.com.br/video

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^megahost\.com\.br$ [OR]
RewriteCond %{HTTP_HOST} ^www\.megahost\.com\.br$
RewriteRule ^video\/?(.*)$ "http\:\/\/www\.megahost\.com\.br\/hospedagem\-streaming\/video\-ffmpeg\.php$1" [R=301,L]
 

Postado

Olá Duran,

 

Neste caso o redirecionamento de página inexistentes para uma outra pode ser feita pelo .htaccess á partir da regra do erro 400

 

Para isso basta adicionar a seguinte regra no .htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

 

Neste exemplo de regra o direcionamento de páginas inexistentes vão direto para a index.

Você poderá editar para onde desejar.


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.