Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Podiais echarle un ojo a mi Google SEO?
cerezas6   14 Dec, 2012, 2:52 pm
#1
Código PHP:
<?php 
RewriteEngine on

# Some hosts need a RewriteBase specification.
RewriteBase /mybb/

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http:/foroopositores.com/$1?$2 [L,QSA,R=301]

# Google SEO Sitemap:
RewriteRule ^sitemap-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404

[Imagen: Ffbz4.png]

No se si lo he echo bien, podiais mirarlo?

pd: tengo el foro en raiz del ftp.
Gustavo R.   14 Dec, 2012, 4:11 pm
#2
Lo que te sale con fondo blanco en el panel de administración tienes que agregarlo al .htaccess
cerezas6   15 Dec, 2012, 3:41 am
#3
(14 Dec, 2012, 4:11 pm)Gustavo R. escribió: Lo que te sale con fondo blanco en el panel de administración tienes que agregarlo al .htaccess

Vale, ya se lo he añadido pero me sale un error cada vez que hago click en sitemap del panel de control.

[Imagen: e0e0276940154bea8f8f9c2.png][/code]
papi   15 Dec, 2012, 5:35 am
#4
sustituye ese .htaccess que has puesto arrriba por este
Código:
RewriteEngine on

    # Some hosts need a RewriteBase specification.
    RewriteBase /

    # Google SEO workaround for search.php highlights:
    # Make this rule the first rewrite rule in your .htaccess!
    RewriteRule ^([^&]*)&(.*)$ http:/foroopositores.com/$1?$2 [L,QSA,R=301]

    # Google SEO Sitemap:
    RewriteRule ^sitemap-([^./]+).xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

    # Google SEO URL Forums:
    RewriteRule ^Forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

    # Google SEO URL Threads:
    RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

    # Google SEO URL Announcements:
    RewriteRule ^Announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

    # Google SEO URL Users:
    RewriteRule ^User-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

    # Google SEO URL Calendars:
    RewriteRule ^Calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

    # Google SEO URL Events:
    RewriteRule ^Event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

    # Google SEO 404:
    ErrorDocument 404 /misc.php?google_seo_error=404
no olvides de hacer un backup por si acaso
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.