Duda URL's amigables??
Bueno SIEMPRE SIEMPRE crei que para poner urls amigables se necesitaba instalar google seo y pues estaba haciendome wey viendo los archivos de MyBB y...

Bueno SIEMPRE SIEMPRE crei que para poner urls amigables se necesitaba instalar google seo y pues estaba haciendome wey viendo los archivos de MyBB y encontre esto:

Código PHP:
if($mybb->settings['seourls'] == "yes" || ($mybb->settings['seourls'] == "auto" && $_SERVER['SEO_SUPPORT'] == 1))
{
    
define('FORUM_URL'"forum-{fid}.html");
    
define('FORUM_URL_PAGED'"forum-{fid}-page-{page}.html");
    
define('THREAD_URL'"thread-{tid}.html");
    
define('THREAD_URL_PAGED'"thread-{tid}-page-{page}.html");
    
define('THREAD_URL_ACTION''thread-{tid}-{action}.html');
    
define('THREAD_URL_POST''thread-{tid}-post-{pid}.html');
    
define('POST_URL'"post-{pid}.html");
    
define('PROFILE_URL'"user-{uid}.html");
    
define('ANNOUNCEMENT_URL'"announcement-{aid}.html");
    
define('CALENDAR_URL'"calendar-{calendar}.html");
    
define('CALENDAR_URL_YEAR''calendar-{calendar}-year-{year}.html');
    
define('CALENDAR_URL_MONTH''calendar-{calendar}-year-{year}-month-{month}.html');
    
define('CALENDAR_URL_DAY''calendar-{calendar}-year-{year}-month-{month}-day-{day}.html');
    
define('CALENDAR_URL_WEEK''calendar-{calendar}-week-{week}.html');
    
define('EVENT_URL'"event-{eid}.html");
    
define('INDEX_URL'"index.php");
}
else
{
    
define('FORUM_URL'"forumdisplay.php?fid={fid}");
    
define('FORUM_URL_PAGED'"forumdisplay.php?fid={fid}&page={page}");
    
define('THREAD_URL'"showthread.php?tid={tid}");
    
define('THREAD_URL_PAGED'"showthread.php?tid={tid}&page={page}");
    
define('THREAD_URL_ACTION''showthread.php?tid={tid}&action={action}');
    
define('THREAD_URL_POST''showthread.php?tid={tid}&pid={pid}');
    
define('POST_URL'"showthread.php?pid={pid}");
    
define('PROFILE_URL'"member.php?action=profile&uid={uid}");
    
define('ANNOUNCEMENT_URL'"announcements.php?aid={aid}");
    
define('CALENDAR_URL'"calendar.php?calendar={calendar}");
    
define('CALENDAR_URL_YEAR'"calendar.php?action=yearview&calendar={calendar}&year={year}");
    
define('CALENDAR_URL_MONTH'"calendar.php?calendar={calendar}&year={year}&month={month}");
    
define('CALENDAR_URL_DAY''calendar.php?action=dayview&calendar={calendar}&year={year}&month={month}&day={day}');
    
define('CALENDAR_URL_WEEK''calendar.php?action=weekview&calendar={calendar}&week={week}');
    
define('EVENT_URL'"calendar.php?action=event&eid={eid}");
    
define('INDEX_URL'"index.php");


despues me saque de onda y busque en la DB esto "seourls" y lo encontre en el GID 17 despues en el ACP busque el GID 17 y encontre

"Activar Sistema de URLs Amigables"

le doy activado y si lo activa y en el foro queda como axtivado pero me da error al entrar al foro alguien sabe porque?? esto no me es indespensable ya que no tengo foro solo lo vi en localhost pero me intereso porque muchos solo por url amigables instalan google seo!!!
Se pueden poner url amigables pero seria nomas asi:
thread-1.html

Y pues con google seo es el nombre del thread.
Ademas de que las url amigables no funcionan en todos los host. Hay algunos en que marca error.
Última modificación: 19 May, 2011, 7:50 pm por sadnem.
(19 May, 2011, 7:49 pm)Bour Elvan escribió: Se pueden poner url amigables pero seria nomas asi:
thread-1.html

Y pues con google seo es el nombre del thread.
Ademas de que las url amigables no funcionan en todos los host. Hay algunos en que marca error.

no revise y si se puede poner el nombre del thread!! Ovio editando el init.php

luego de activarlas urls amigables, tienes que igual que en google seo editar el .htaccess en el paquete de mybb biene el htaccess.txt que puedes usar como ejemplo si tienes tu propio .htaccess, si no tienes pues es facil solo renombrar el htaccess.txt, asi consigues enlasar una url que no existe que daria error 404 como /thread-1.html con /showtheread.php?tid=1
ya renombraste el htacces??

joder siempre me ganan ¬¬