vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Redirección

This is a discussion on Redirección within the Español forums, part of the General Discussion category; Como puedo hacer para redirigir a las persoas que entran a mi página escribiendo http://sitio.com a http: www.sitio.com?...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > General Discussion > Español

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-06-2005, 10:18 AM
Junior Member
 
Real Name: Elmer Hernandez
Join Date: Oct 2005
Posts: 29
Send a message via MSN to Elmer
Redirección

Como puedo hacer para redirigir a las persoas que entran a mi página escribiendo http://sitio.com a http:www.sitio.com?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 11-06-2005, 12:13 PM
Juan Muriente's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Juan Carlos Muriente
Join Date: Jun 2005
Location: Puerto Rico
Posts: 12,769
Re: Redirección

Hola Elmer,

Al fondo the tu archivo config_vbseo.php encuentras la siguiente opción:
Code:
define('VBSEO_CHECK_WWWDOMAIN', 0);
Al activarla, el mismo programa redirige a la version www:
Code:
define('VBSEO_CHECK_WWWDOMAIN', 1);
__________________
Juan Muriente / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 11-06-2005, 12:45 PM
Junior Member
 
Real Name: Elmer Hernandez
Join Date: Oct 2005
Posts: 29
Send a message via MSN to Elmer
Re: Redirección

No hiso ningún cambio.
Lo que quiero es que en vez de que un usuario permanesca navegando la página com http//sitio.com/foros/ se rediriga a la forma de http://www.sitio.com/foros/
esque cuando alguien entra solo utilizando la dirección sin www. y luego hace clic en un enlace que tiene en la url las www entonces hace que aparesca sin sesión.

Por eso quiero que al nomas que el usuario entre sea redirigido a la url completa http://www.

no se si me hice entender
hmm o talvez tenga alguna opción en vBulletin para que no pase eso, voy a revisar a ver que encuentro..

Last edited by Elmer; 11-06-2005 at 01:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 11-06-2005, 01:38 PM
Juan Muriente's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Juan Carlos Muriente
Join Date: Jun 2005
Location: Puerto Rico
Posts: 12,769
Re: Redirección

Si, precisamente, para eso es esa opción.

Asegúrate de tener esta otra opción activada? Include Domain Name in URLs?
__________________
Juan Muriente / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 11-06-2005, 01:43 PM
Junior Member
 
Real Name: Elmer Hernandez
Join Date: Oct 2005
Posts: 29
Send a message via MSN to Elmer
Re: Redirección

Esta habilitada. Veo que si redirecciona pero si la url contiene la pagina index.php o lo que siga despues de la barra diagonal /

fijate en las dos direcciones aqui>

http://latinflow.com/foros/ <--en esta no me redirecciona y en la de abajo sí
http://latinflow.com/foros/index.php

o
http://latinflow.com/foros/foros.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 11-06-2005, 06:09 PM
Juan Muriente's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Juan Carlos Muriente
Join Date: Jun 2005
Location: Puerto Rico
Posts: 12,769
Re: Redirección

Hola Elmer,

Intenta añadir las siguientes reglas al principio:
Code:
 
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.latinflow.com/$1 [L,R=301]
Déjame saber si funciona.

Juan
__________________
Juan Muriente / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 11-07-2005, 07:11 AM
Junior Member
 
Real Name: Elmer Hernandez
Join Date: Oct 2005
Posts: 29
Send a message via MSN to Elmer
Re: Redirección

creo que lo hace pero me redirecciona a sitio principal
siempre que ingreso a los foros.

Alguna idea?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 11-09-2005, 10:33 AM
Junior Member
Big Board Administrator
 
Join Date: Oct 2005
Posts: 22
Re: Redirección

Yo lo hago de esta manera

PHP Code:
if ($_SERVER['HTTP_HOST']!= "www.alkon.com.ar") {    
if (
$_SERVER['SCRIPT_NAME']!= "/index.php") {
  
$url_real "http://www.alkon.com.ar/foro" $_SERVER['REQUEST_URI'];
 } else {
  
$url_real "http://www.alkon.com.ar/foro/";
 }
  
header("HTTP/1.1 301 Moved Permanently");
  
header("Location: $url_real");
 } 
Lo que hace es que si cualquiera url es distinta a www.alkon.com.ar lo cambia por www.alkon. y despues le agrego el /foro/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 11-09-2005, 08:05 PM
Junior Member
 
Real Name: Elmer Hernandez
Join Date: Oct 2005
Posts: 29
Send a message via MSN to Elmer
Re: Redirección

Quote:
Originally Posted by CeReBrO
Yo lo hago de esta manera

PHP Code:
if ($_SERVER['HTTP_HOST']!= "www.alkon.com.ar") {    
if (
$_SERVER['SCRIPT_NAME']!= "/index.php") {
  
$url_real "http://www.alkon.com.ar/foro" $_SERVER['REQUEST_URI'];
 } else {
  
$url_real "http://www.alkon.com.ar/foro/";
 }
  
header("HTTP/1.1 301 Moved Permanently");
  
header("Location: $url_real");
 } 
Lo que hace es que si cualquiera url es distinta a www.alkon.com.ar lo cambia por www.alkon. y despues le agrego el /foro/
Y eso que hace? lo que yo quiero esque nadie accese por http://sitio.com y si lo hace, entonces que sea redirigido a la url completa, incluyendo las www, o sea, http://www.sitio.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 11-11-2005, 01:40 AM
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Ismael Briasco
Join Date: Oct 2005
Location: Buenos Aires, Argentina
Posts: 102
Re: Redirección

Quote:
Originally Posted by CeReBrO
Yo lo hago de esta manera

PHP Code:
if ($_SERVER['HTTP_HOST']!= "www.alkon.com.ar") {    
if (
$_SERVER['SCRIPT_NAME']!= "/index.php") {
  
$url_real "http://www.alkon.com.ar/foro" $_SERVER['REQUEST_URI'];
 } else {
  
$url_real "http://www.alkon.com.ar/foro/";
 }
  
header("HTTP/1.1 301 Moved Permanently");
  
header("Location: $url_real");
 } 
Lo que hace es que si cualquiera url es distinta a www.alkon.com.ar lo cambia por www.alkon. y despues le agrego el /foro/
De donde sacaste eso???

Elmer, eso es lo que yo hago en mi sitio tambien y es lo que vos queres, por ejemplo en mi sitio si alguien entra a www.psicofxp.com.ar/ lo envia www.psicofxp.com/ incluso respetando todo lo que sigue despues del / ej:

http://www.psicofxp.com.ar/forums/sh...ad.php?t=35644

Lo reemplaza por:

www.psicofxp.com/forums/showthread.php?t=35644

Esto lo tenes que colocar en en template phpinclude_start.

Saludos,
Psico.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 11-11-2005, 07:11 PM
Junior Member
 
Real Name: Elmer Hernandez
Join Date: Oct 2005
Posts: 29
Send a message via MSN to Elmer
Re: Redirección

Gracias psico,
desafortunadamente esa plantilla ya no existe en la versión 3.5. Creo que ahora todo se hace por plugins. Voy a intentar meterlo en alguna parte por medio de un plugin a ver si funciona.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:01 AM.


Powered by vBulletin Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.