Results 1 to 7 of 7

Probleme mit htacess und url-umleitung

This is a discussion on Probleme mit htacess und url-umleitung within the Deutsch forums, part of the General Discussion category; Hallo! Ich habe ein Problem mit der Umleitung von Boards-United bemerkt. Anstatt einfach das "www" zu ergänzen, wird da nämlich ...

  1. #1
    Ky!
    Ky! is offline
    Senior Member Ky!'s Avatar
    Real Name
    KK
    Join Date
    Nov 2007
    Location
    Germany
    Posts
    161
    Liked
    0 times

    Probleme mit htacess und url-umleitung

    Hallo!

    Ich habe ein Problem mit der Umleitung von Boards-United bemerkt. Anstatt einfach das "www" zu ergänzen, wird da nämlich Boards-United draus.

    Folgende Varianten der htaccess habe ich ausprobiert:

    1.

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    RewriteCond %{HTTP_REFERER} ^http://.*radio-mixmax.de.*$ [NC]
    RewriteRule ^(.*)$ http://www.boards-united.com/ [R,L]
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.boards-united\.com
    RewriteRule (.*) http://www.boards-united.com/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|wordpress/)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|wordpress)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    2.

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    #RewriteCond %{HTTP_REFERER} ^http://.*radio-mixmax.de.*$ [NC]
    #RewriteRule ^(.*)$ http://www.boards-united.com/ [R,L]
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.boards-united\.com
    RewriteRule (.*) http://www.boards-united.com/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|wordpress/)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|wordpress)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    3.

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    #RewriteCond %{HTTP_REFERER} ^http://.*radio-mixmax.de.*$ [NC]
    #RewriteRule ^(.*)$ http://www.boards-united.com/ [R,L]
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.boards-united\.com
    RewriteRule (.*) http://www.boards-united.com$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|wordpress/)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|wordpress)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]


    Ferner habe ich beide Optionen in den vBSEO-Einstellungen ausprobiert: ( Meine Grundeinstellung ist JA )




    Irgendwie funktionieren meine bemühungen aber nicht.

    bitte um hilfe!

  2. #2
    Senior Member
    Real Name
    Fabio
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    758
    Liked
    11 times
    Blog Entries
    1
    Was ist denn jetzt genau das Problem? Das boards-united.com// ??

  3. #3
    Senior Member Thomas Hoehl's Avatar
    Real Name
    Thomas
    Join Date
    Jul 2005
    Location
    Ockershausen, Germany
    Posts
    1,329
    Liked
    3 times
    Ja die zwei "//" die kommen, wenn man seine Domain ohne "www" aufruft.
    Thomas Höhl / Crawlability Inc.
    vBSEO 3.3.2 freigegeben: vBSEO 3.3.2 veröffentlicht - Sicherheitsupdate

    vBSEO Styles: Version 1.0 PRO Für Alle Version 2.0 Für vBSEO Kunden


    Meine Seiten: www.vb-seo.de, www.ligafans.de und www.skats.de

  4. #4
    Member
    Real Name
    Jann Hendrik Bekaan
    Join Date
    Mar 2007
    Posts
    94
    Liked
    0 times
    versuch es mal hiermit:
    Code:
    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^boards-united\.com$ [NC]
    RewriteRule ^(.*) http://www.boards-united.com/$1 [R=301,L]

  5. #5
    Ky!
    Ky! is offline
    Senior Member Ky!'s Avatar
    Real Name
    KK
    Join Date
    Nov 2007
    Location
    Germany
    Posts
    161
    Liked
    0 times
    Ich dank' Dir für den Tipp, nur leider wars effektlos! :(

  6. #6
    Member
    Real Name
    Jann Hendrik Bekaan
    Join Date
    Mar 2007
    Posts
    94
    Liked
    0 times
    Das ist merkwürdig - bei mir läuft genau diese Regel absolut zufriedenstellend.


    Hast du Zugriff auf die httpd.conf?

  7. #7
    Ky!
    Ky! is offline
    Senior Member Ky!'s Avatar
    Real Name
    KK
    Join Date
    Nov 2007
    Location
    Germany
    Posts
    161
    Liked
    0 times
    Ja, mein Serveradmin.

    Und Du hast mich damit mit der Nase auf die Lösung gestoßen.


    Code:
    RewriteRule ^(.*)$ http://www.boards-united.com$1  [L,R=301]
    zu

    Code:
    RewriteRule ^(.*)$ http://www.boards-united.com  [L,R=301]

    DANKE für Deine Mühe!

Similar Threads

  1. umleitung
    By thompson in forum Deutsch
    Replies: 12
    Last Post: 10-24-2007, 11:07 AM
  2. Domain Umleitung - Wie?
    By Hottommi in forum Deutsch
    Replies: 15
    Last Post: 07-18-2007, 02:41 PM
  3. .htacess and subdomains
    By James_S in forum Troubleshooting
    Replies: 1
    Last Post: 05-19-2007, 11:42 PM
  4. question about htacess and apache conf
    By CeReBrO in forum Troubleshooting
    Replies: 5
    Last Post: 08-17-2006, 07:41 PM
  5. htacess problem
    By FAZO in forum Troubleshooting
    Replies: 2
    Last Post: 04-19-2006, 07:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •