Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
.htaccess Google SEO Problem
#1
hallo,
ich habe ein problem mit dem plugin Google SEO
als ich die SuFu benutzt habe, habe ich entweder ungelöste oder andere arten dieses problems vorgefunden..
habe es soweit installiert nur ich muss ja auch die htaccess datei in das hauptverzeichnis laden.
wenn ich dies tuhe kommt bei mir ein Error:
Zitat:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmasterfunpic.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.16 (Debian) mod_perl/2.0.4 Perl/v5.10.1 Server at username.funpic.de Port 80

wenn ich die datei wieder rausnehme bzw. umbenenne verschwindet dieser Error

meine .htaccess datei:

PHP-Code:
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
# MediaTemple, it is known to cause random Internal Server
# errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
# the setting enabled in the Admin CP and you have this file
# named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on


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

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

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

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

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

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

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

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

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

# Default MyBB Rewrite Rules:
RewriteRule ^forum-([0-9]+)\.htmlforumdisplay.php?fid=$[L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.htmlforumdisplay.php?fid=$1&page=$[L,QSA]

RewriteRule ^thread-([0-9]+)\.htmlshowthread.php?tid=$[L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.htmlshowthread.php?tid=$1&page=$[L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.htmlshowthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.htmlshowthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.htmlshowthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.htmlshowthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.htmlshowthread.php?tid=$1&pid=$[L,QSA]

RewriteRule ^post-([0-9]+)\.htmlshowthread.php?pid=$[L,QSA]

RewriteRule ^announcement-([0-9]+)\.htmlannouncements.php?aid=$[L,QSA]

RewriteRule ^user-([0-9]+)\.htmlmember.php?action=profile&uid=$[L,QSA]

RewriteRule ^calendar-([0-9]+)\.htmlcalendar.php?calendar=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.htmlcalendar.php?action=yearview&calendar=$1&year=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.htmlcalendar.php?calendar=$1&year=$2&month=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.htmlcalendar.php?

action=dayview&calendar=$1&year=$2&month=$3&day=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.htmlcalendar.php?action=weekview&calendar=$1&week=$[L,QSA]

RewriteRule ^event-([0-9]+)\.htmlcalendar.php?action=event&eid=$[L,QSA]

<
IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</
IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule

mfg NoNoZ
Zitieren
#2
Nimm mal die Options Zeile raus. Zumindest bei bplaced wird die nicht gemocht, vielleicht ist es ja bei funpic genauso

Ansonsten musst du halt mit einer leeren htaccess anfangen und herausfinden an welcher Zeile er sich da aufhängt
Zitieren
#3
habe mal alles nacheinander eingefügt ..
fehler tauchten auf bei:
PHP-Code:
Options -MultiViews +FollowSymlinks -Indexes 

und


PHP-Code:
action=dayview&calendar=$1&year=$2&month=$3&day=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.htmlcalendar.php?action=weekview&calendar=$1&week=$[L,QSA

soll ich die jetzt einfach weglassen ?
Zitieren
#4
also beim zweiten stimmen einfach die zeilenumbrüche nicht

wenn rewriterules nicht gehen kannst du google seo url halt nicht benutzen
Zitieren
#5
habe jetzt mal die htaccess ursprungs datei genommen,
um erstmal die zu benutzen
da kommt kein error
nur wenn ich dann auf threads klicke zeigt er an das die seite nicht existiert...
_______________________________________________________________________
edit: habs hinbekommen musste ein Rewritebase setzen

______________________________________________________________________

meine Htaccess sieht jetz so aus:
PHP-Code:
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
# MediaTemple, it is known to cause random Internal Server
# errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
# the setting enabled in the Admin CP and you have this file
# named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase 
/

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

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

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

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

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

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

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

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

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

# Default MyBB Rewrite Rules:
RewriteRule ^forum-([0-9]+)\.htmlforumdisplay.php?fid=$[L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.htmlforumdisplay.php?fid=$1&page=$[L,QSA]

RewriteRule ^thread-([0-9]+)\.htmlshowthread.php?tid=$[L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.htmlshowthread.php?tid=$1&page=$[L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.htmlshowthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.htmlshowthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.htmlshowthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.htmlshowthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.htmlshowthread.php?tid=$1&pid=$[L,QSA]

RewriteRule ^post-([0-9]+)\.htmlshowthread.php?pid=$[L,QSA]

RewriteRule ^announcement-([0-9]+)\.htmlannouncements.php?aid=$[L,QSA]

RewriteRule ^user-([0-9]+)\.htmlmember.php?action=profile&uid=$[L,QSA]

RewriteRule ^calendar-([0-9]+)\.htmlcalendar.php?calendar=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.htmlcalendar.php?action=yearview&calendar=$1&year=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.htmlcalendar.php?calendar=$1&year=$2&month=$[L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.htmlcalendar.php?


RewriteRule ^event-([0-9]+)\.htmlcalendar.php?action=event&eid=$[L,QSA]

<
IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</
IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule

würde Google SEO jetzt richtig laufen?
Zitieren
#6
Wenn die Rewrite Rules auch funktionieren - klar
Zitieren
#7
ja die funktionieren,
also meine thread links etc sind jetzt ja kürzer
aber wie mache ich das das meine seite auf google zu erreichen ist ?
bzw. das die threads zu googlen sind ohne sie auf einer anderen seite zu posten..
Zitieren
#8
ok habs jetzt
thread kann geclosed werden!
Zitieren
#9
Danke =)
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Google Seo Anleitung Mario1690 22 8.129 28.09.2012, 23:30
Letzter Beitrag: der unwissende
  Google Seo Error Assaki 5 2.702 01.07.2011, 12:39
Letzter Beitrag: Assaki
  Google SEO - Anregung / Nachträgliches Bearbeiten Bieberpelz 4 2.766 24.04.2011, 20:18
Letzter Beitrag: daselternforum.com
  GOOGLE SEO URL VERÄNDERN! www.rfactor-racing-forum.tk 15 5.753 21.11.2010, 19:45
Letzter Beitrag: frostschutz
  Google Seo Assaki 11 4.361 21.11.2010, 12:48
Letzter Beitrag: Cronauer