+ Antworten
Seite 1 von 3 1 2 3 LetzteLetzte
Ergebnis 1 bis 10 von 21

Thema: Probleme mit SEO / SEF

  1. #1
    War schon öfter hier Avatar von Eilo
    Registriert seit
    30.03.2009
    Alter
    31
    Beiträge
    102
    Bedankte sich
    44
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard Probleme mit SEO / SEF

    Hallo zusammen!
    Ich mache zur Zeit für einen Kollegen eine kleine Joomlaseite. Das ist nichts Neues, allerdings habe ich versucht, suchmaschinenfreundliche URL einzufügen, mit diesem Tool von JoomlaOS. Seit der Installation des Moduls ist die Seite nicht mehr erreichbar, und somit auch das Backend nicht.

    1. Ich habe vorher in der JoomlaConfig mod_rewrite auf ON gesetzt.
    2. Die Seite liegt auf einem Apache Server (Xantron.de)

    Hier meine htaccess (ohne.txt):
    (Ich habe nach mehreren Versuchen die htaccess von einer anderen Installation genommen...)

    ##
    # @version $Id: htaccess.txt 5973 2006-12-11 01:26:33Z robs $
    # @package Joomla
    # @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##


    ################################################## ###
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    # Only use one of the two SEF sections that follow. Lines that can be uncommented
    # (and thus used) have only one #. Lines with two #'s should not be uncommented
    # In the section that you don't use, all lines should start with #
    #
    # For Standard SEF, use the standard SEF section. You can comment out
    # all of the RewriteCond lines and reduce your server's load if you
    # don't have directories in your root named 'component' or 'content'
    #
    # If you are using a 3rd Party SEF or the Core SEF solution
    # uncomment all of the lines in the '3rd Party or Core SEF' section
    #
    ################################################## ###

    ##### SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
    # SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
    # OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
    #
    # In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
    # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
    # May need to be uncommented. If you are running your Joomla!/Mambo from
    # a subdirectory the name of the subdirectory will need to be inserted into this
    # line. For example, if your Joomla!/Mambo is in a subdirectory called '/test/',
    # change this:
    # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
    # to this:
    # RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
    #
    ################################################## ###


    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On


    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla!/MamboDirectory (just / for root)

    # Wenn Joomla in einem Unterverzeichnis (z.B. DeinOrdner/cms) dann bitte hier anpassen
    # z.B. RewriteBase /cms/
    RewriteBase /joomla/


    ########## ########## Begin - Joomla! core SEF Section
    ############# Use this section if using ONLY Joomla! core SEF
    ## ALL (RewriteCond) lines in this section are only required if you actually
    ## have directories named 'content' or 'component' on your server
    ## If you do not have directories with these names, comment them out.
    #
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
    #RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
    #RewriteRule ^(content/|component/) index.php
    #
    ########## End - Joomla! core SEF Section ########## Begin - 3rd Party SEF Section
    ############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
    #
    RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php
    #
    ########## End - 3rd Party SEF Section Begin - Rewrite rules to block out some common exploits
    #
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script that tries to set CONFIG_EXT (com_extcal2 issue)
    RewriteCond %{QUERY_STRING} CONFIG_EXT(\[|\%20|\%5B).*= [NC,OR]
    # Block out any script that tries to set sbp or sb_authorname via URL (simpleboard)
    RewriteCond %{QUERY_STRING} sbp(=|\%20|\%3D) [OR]
    RewriteCond %{QUERY_STRING} sb_authorname(=|\%20|\%3D)
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits
    Geändert von Eilo (09.04.2010 um 14:28 Uhr)

  2. #2
    Kommt häufiger vorbei
    Registriert seit
    04.01.2007
    Beiträge
    417
    Bedankte sich
    27
    Erhielt 81 Danksagungen
    in 80 Beiträgen

    Standard

    Versuche mal die .htaccess wieder in htaccess.txt umzubenennen, und schau ob die Seite wieder geht.

  3. #3
    Gehört zum Inventar Avatar von SirDrake
    Registriert seit
    29.08.2006
    Ort
    Köln
    Beiträge
    6.268
    Bedankte sich
    164
    Erhielt 2.346 Danksagungen
    in 2.119 Beiträgen

    Standard

    Also ich weiß jetzt nicht ob du ins falsche Forum geruscht bist aber das ist die htaccess von Joomla 1.0xx. Falls du also Joomla 1.5 nutzt kann das nicht funktionieren.

    Für Joomla 1.5 findest hier weitere Infos
    http://docs.joomla.org/SEF_URLs_in_Joomla!_1.5
    Gruß Fred
    Fragen und Antworten rund um Joomla! FAQ
    Code-Bereinigung abschalten - Unterstütze Joomla

  4. Erhielt Danksagungen von:


  5. #4
    War schon öfter hier Avatar von Eilo
    Registriert seit
    30.03.2009
    Alter
    31
    Beiträge
    102
    Bedankte sich
    44
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Hatte tatsächlich die falsche Datei gepostet, sorry... Ich benutze die v1.5. Inzwischen habe ich eine valide Version, die jedoch auch nicht funktioniert. Und es ist egal welche Version ich per FTP hochlade, nichteinmal die Fehlermeldung ändert sich.

    Kann ich eine htaccess einfach aus einer anderen Installation herauskopieren? Wie kann ich das mod_rewrite ohne backend wieder rückgängig machen?

    P.s.: Unbenennen in htaccess.txt hat auch nicht funktioniert.

  6. #5
    Kommt häufiger vorbei
    Registriert seit
    04.01.2007
    Beiträge
    417
    Bedankte sich
    27
    Erhielt 81 Danksagungen
    in 80 Beiträgen

    Standard

    Zitat Zitat von Eilo Beitrag anzeigen
    Wie kann ich das mod_rewrite ohne backend wieder rückgängig machen?
    Editiere die Datei configuration.php per FTP.
    Code:
    var $sef_rewrite = '1';
    setze den Wert 1 auf 0
    Am besten alle anderen SEF Werte auch, damit Du evtl. wieder rankommst.

  7. Erhielt Danksagungen von:


  8. #6
    War schon öfter hier Avatar von Eilo
    Registriert seit
    30.03.2009
    Alter
    31
    Beiträge
    102
    Bedankte sich
    44
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Ok, hab ich gemacht, keine Veränderung... Ich poste mal die config (ohne passwörter ) und htaccess:

    htaccess:

    ##
    # @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##


    ################################################## ###
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    ################################################## ###

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On

    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits

    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    RewriteBase /


    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section


    und config.php

    <?php
    class JConfig {
    var $offline = '0';
    var $editor = 'fckeditor';
    var $list_limit = '20';
    var $helpurl = 'http://hilfe.jgerman.de';
    var $debug = '0';
    var $debug_lang = '0';
    var $sef = '0';
    var $sef_rewrite = '0';
    var $sef_suffix = '0';
    var $feed_limit = '10';
    var $feed_email = 'author';
    var $secret = 'iNsfs8IbouHS1hL3';
    var $gzip = '0';
    var $error_reporting = '-1';
    var $xmlrpc_server = '0';
    var $log_path = '/var/www/web573/html/logs';
    var $tmp_path = '/var/www/web573/html/tmp';
    var $live_site = 'http://www.ihr-mobilberater.de';
    var $force_ssl = '0';
    var $offset = '1';
    var $caching = '0';
    var $cachetime = '15';
    var $cache_handler = 'file';
    var $memcache_settings = array();
    var $ftp_enable = '0';
    var $ftp_host = '127.0.0.1';
    var $ftp_port = '21';
    var $ftp_user = 'admin';
    var $ftp_pass = '**********';
    var $ftp_root = '';
    var $dbtype = 'mysql';
    var $host = 'localhost';
    var $user = 'web573';
    var $db = 'usr_web573_1';
    var $dbprefix = 'jos_';
    var $mailer = 'mail';
    var $mailfrom = 'l-schoof@t-online.de';
    var $fromname = 'Ihr Mobilberater';
    var $sendmail = '/usr/sbin/sendmail';
    var $smtpauth = '0';
    var $smtpsecure = 'none';
    var $smtpport = '25';
    var $smtpuser = '';
    var $smtppass = '';
    var $smtphost = 'localhost';
    var $MetaAuthor = '1';
    var $MetaTitle = '1';
    var $lifetime = '15';
    var $session_handler = 'database';
    var $password = '************';
    var $sitename = 'Ihr Mobilberater';
    var $MetaDesc = 'Ihr Mobilberater in Sachen ASP, ASF, FSF und BKF-Weiterbildung in Münster!';
    var $MetaKeys = 'Aufbauseminar für Punkteauffällige, ASP, Aufbauseminar für Fahranfänger, ASF, Freiwilliges Fortbildungsseminar für Fahranfänger, FSF, Berufsbraftfahrer, Weiterbildung, Berufskraftfahrerweiterbildung, BKF Weiterbildung, Münster, Westfalen, Fahrschule Ulf Imort';
    var $offline_message = 'Ihr-Mobilberater.de ist zurzeit im Wartungsmodus. Bitte kommen Sie später wieder.';
    }
    ?>

  9. #7
    Kommt häufiger vorbei
    Registriert seit
    04.01.2007
    Beiträge
    417
    Bedankte sich
    27
    Erhielt 81 Danksagungen
    in 80 Beiträgen

    Standard

    Ich weiß nicht was Artio Jommsef oder so da macht.

    Die htaccess ist wieder in htaccess.txt umbenannt?


    Browsercache gelehrt. Browser "hart" aktualisiert? (FF = Strg+F5)(IE= Strg+Shift+F5)

    Bei Dir kommt ein Server Fehler 500, da kommt nur dann wenn der Server mit Skripten b.z.w. mit Befehlen in der htaccess nicht umgehen kann Siehe mod_rewrite, wenn das nicht aktiv ist kannste SEF sowieso vergessen.

  10. #8
    War schon öfter hier Avatar von Eilo
    Registriert seit
    30.03.2009
    Alter
    31
    Beiträge
    102
    Bedankte sich
    44
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Bei dem ganzen hin und her probieren habe ich vergessen, das .txt wegzumachen, geht also auf mein Konto. Funktioniert trotzdem noch nicht.

    So wie ich gelesen hatte, muss man doch bei einem ApacheServer "nur" in Joomla das mod_rewrite aktivieren, oder liege ich da falsch?

    Habe, wie man oben sieht, alles auf '0' gesetzt, wieder keine Besserung.

    Die Seite war nicht besonders aufwenig, ich kann die in ein paar Stunden neu aufgesetzt haben, aber mir geht es prinzipiell um das Problem. Sonst habe ich bei der nächsten Installation wieder den gleichen Käse..

    Also wenn keine Ideen mehr sind, setze ich die Installation neu auf.... (*seufz*)

  11. #9
    Verbringt hier viel Zeit
    Registriert seit
    29.11.2005
    Ort
    Berlin
    Beiträge
    962
    Bedankte sich
    8
    Erhielt 200 Danksagungen
    in 196 Beiträgen

    Standard

    Und das könnte es auch sein:

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks
    Mein "Kunde" möchte mit Joomla zum Mond fliegen.

    Bin Anfänger... geht das irgendwie?

  12. #10
    Verbringt hier viel Zeit
    Registriert seit
    29.11.2005
    Ort
    Berlin
    Beiträge
    962
    Bedankte sich
    8
    Erhielt 200 Danksagungen
    in 196 Beiträgen

    Standard

    schreibe mal ein php-Script wie unten, lade es hoch und poste hier die Ausgabe hinein, lösche das Script wieder:

    <?php

    phpinfo();

    ?>
    Mein "Kunde" möchte mit Joomla zum Mond fliegen.

    Bin Anfänger... geht das irgendwie?

+ Antworten
Seite 1 von 3 1 2 3 LetzteLetzte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein