Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/09/2011, 19:36
Avatar de hendrix
hendrix
 
Fecha de Ingreso: agosto-2003
Ubicación: chile lindo
Mensajes: 1.109
Antigüedad: 20 años, 8 meses
Puntos: 7
redireccionar pdf

Hola

esta es mi duda.

google tiene indexado un articulo de mi web pero tambien tiene indexado unos datos en pdf que tratan del mismo tema pero no es lo mismo, es solo un anexo.

hoy revisando esta mejor posicionado el pdf y un puesto mas abajo sale el articulo de la web.

obviamente prefiero que el usuario entre a mi pagina y si lo desea pinche el link del pdf para ver los datos anexos.

mi idea es redireccionar el pdf al articulo html y crear otro pdf indicandole a google que no lo indexe. asi solo saldra en los resultados de google el html de mi web.

leí esto por ahi:

PHP 301 Redirect
This is also normally a pretty easy way to redirect pages by adding a couple lines of PHP on each page you want to redirect. But since PHP code cannot actually be inserted into the PDF file, we have to treat it a bit differently. Follow the steps below:

1. Rename oldfile.pdf file to filename2.pdf.
2. Create a new directory named “oldfile.pdf” in the same directory that the PDF is in.
3. Add an index.php file in the new oldfile.pdf directory.
4. Add the following PHP code to the top of the index.php file:

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.example.com/new-page-to-redirect-to.php" );
?>


les parece bien. ??

ojala hayan entendido.

gracias