+ Antworten
Ergebnis 1 bis 7 von 7

Thema: all-inkl + seo + .htaccess

  1. #1
    Neu an Board
    Registriert seit
    14.03.2007
    Beiträge
    36
    Bedankte sich
    5
    Erhielt 6 Danksagungen
    in 6 Beiträgen

    Frage all-inkl + seo + .htaccess

    Hallo Leute

    Nachdem ich nun seit 4 Tagen erfolglos versuche, das Problem über die Suche zu lösen, bitte ich Euch, mir zu helfen.

    Sobald ich SEO aktiviere, erscheinen meine Links in diesem Format:
    http://www.domain.at/content/view/4/14/
    http://www.domain.at/content/section/6/11/
    http://www.domain.at/content/view/5/15/

    Vorher haben sie so ausgesehen:
    http://www.domain.at/index.php?optio...id=4&Itemid=14
    http://www.domain.at/index.php?optio...id=6&Itemid=11
    http://www.domain.at/index.php?optio...id=5&Itemid=15

    Die .htaccess dazu sieht so aus:
    Code:
    php_flag register_globals off
    php_flag magic_quotes_gpc on
    
    ##
    # @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)
    
    # RewriteBase /
    
    
    ########## 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
    ## 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
    Wenn ich das Joomla-eigene SEO aktiviere, funktionieren die Links zwar, auch wenn sie mit diesem /content/section/ dargestellt werden.
    Weiters habe ich auch Open-SEF installiert (die entsprechende Sektion in der .htaccess habe ich angepasst). Hier ist es so, dass die Links genau so dargestellt werden; jedoch ein Klick darauf erzeugt einen 404.

    Eventuell auch von Bedeutung: Die Installation von joomla befindet sich bei meinem Webspace in einem Unterverzeichnis von root ( /joomlainst). Online ist die Seite über eine Subdomain (solange sie sich noch im Aufbau befindet). Sprich die Subdomain greift direkt in das Installationsverzeichnis von Joomla. Der Hoster ist all-inkl.

    Ich habe schon sämtliche Variationen von Einstellungen versucht, es ändert sich leider nichts. Habt ihr irgendwelche Ideen, wo der Haken ist?

    Danke Euch im Voraus
    lg mani

  2. #2
    Wohnt hier
    Registriert seit
    13.06.2006
    Alter
    22
    Beiträge
    2.323
    Bedankte sich
    37
    Erhielt 283 Danksagungen
    in 277 Beiträgen

    Standard

    ist doch normal...was willst du noch...

    Lebe dein Leben zu 1000%


    www.HotatNight.de


  3. #3
    Wohnt hier
    Registriert seit
    13.06.2006
    Alter
    22
    Beiträge
    2.323
    Bedankte sich
    37
    Erhielt 283 Danksagungen
    in 277 Beiträgen

    Standard

    PHP-Code:
    php_flag register_globals off
    php_flag magic_quotes_gpc on

    ##
    # @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)

    # RewriteBase /


    ########## 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
    ## 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_STRINGmosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRINGbase64_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_STRINGGLOBALS(=|[|%[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 
    so muss die aussehen

    Lebe dein Leben zu 1000%


    www.HotatNight.de


  4. #4
    Neu an Board
    Registriert seit
    14.03.2007
    Beiträge
    36
    Bedankte sich
    5
    Erhielt 6 Danksagungen
    in 6 Beiträgen

    Standard

    Zitat Zitat von Floyd0707 Beitrag anzeigen
    ist doch normal...was willst du noch...
    Dachte, dass die Links dann durch die Titeln der Kategorien/Sektionen/Inhalten.html ersetzt weden.

    Zitat Zitat von Floyd0707 Beitrag anzeigen
    so muss die aussehen
    Danke Dir.
    Habe anhand deiner .htaccess die joomlaeigene SEO-Funktion deaktiviert und OpenSEF aktiviert.
    Leider ist das Problem unverändert. Die Links sehen aus, wie in meinem ersten Post beschrieben:
    Code:
    http://www.domain.at/content/view/4/14/
    http://www.domain.at/content/section/6/11/
    http://www.domain.at/content/view/5/15/
    Ein Klick auf diese erzeugt jedoch einen 404.
    Wo könnte sonst noch ein Fehler sein?

    lg mani

  5. #5
    Wohnt hier
    Registriert seit
    13.06.2006
    Alter
    22
    Beiträge
    2.323
    Bedankte sich
    37
    Erhielt 283 Danksagungen
    in 277 Beiträgen

    Standard

    hiho...

    wollte gerade ins bett gehen

    hier nochmal die richtige .htaccess...hatte einen kleinen fehler drin

    PHP-Code:
    ##
    # @version $Id: htaccess.txt 2368 2006-02-14 17:40:02Z stingrey $
    # @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)

    # RewriteBase /


    ########## Begin Standard SEF Section
    ## 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 Standard SEF Section


    ########## Begin 3rd Party or Core SEF Section
    #
    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 or Core SEF Section 
    und dann gugst du dir die seite an
    http://www.joomla-downloads.de/anlei...imieren_3.html

    Lebe dein Leben zu 1000%


    www.HotatNight.de


  6. Erhielt Danksagungen von:


  7. #6
    Neu an Board
    Registriert seit
    14.03.2007
    Beiträge
    36
    Bedankte sich
    5
    Erhielt 6 Danksagungen
    in 6 Beiträgen

    Standard

    Hi

    Hab deine neue .htaccess hochgeladen; der 404 ist jedoch nach wie vor vorhanden.

    Werd jetzt aber auch pennen gehen, gugg mir den Link (danke dafür) dann morgen im ausgeschlafenen Zustand an, vielleicht find ich was.

    lg mani

  8. #7
    Neu an Board
    Registriert seit
    14.03.2007
    Beiträge
    36
    Bedankte sich
    5
    Erhielt 6 Danksagungen
    in 6 Beiträgen

    Standard

    Hallo

    Zitat Zitat von Floyd0707 Beitrag anzeigen
    ...und dann gugst du dir die seite an
    http://www.joomla-downloads.de/anlei...imieren_3.html
    Danke für den Link. In diesem jenen fand ich die Lösung meines Problems:
    Wenn ihr jetzt in das Backend geht, dann könnt ihr unter "Global Configuration" -> "SEO" die Suchmaschinenfreundlichen URL's aktivieren. Falls OpenSEF noch nicht aktiv ist einfach auf die Komponente gehen und ebenfalls aktivieren.
    Ich hatte entweder die eine oder die andere SEO-Komponente aktiviert, wusste aber nicht, dass ich beide gleichzeitig aktivieren muss.

    Danke Dir für deine Hilfe und Geduld; ohne die wär ich nicht drauf gekommen.
    lg mani

+ Antworten

Lesezeichen

Berechtigungen

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