Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: "Suchmaschinenfreundliche URLs benutzen" einschalten!

    schka

    • Frisch an Board
    • Beiträge: 74
    Hallo,
    ich habe "Suchmaschinenfreundliche URLs benutzen" auf "true" gesetzt und die "_.htaccess" umbenannt in ".htaccess", es ist auch "mod_rewrite" aktiviert, aber meine Artikel werden nicht angezeigt.

    "true": http://www.bergfexn.com/holzbau/Buecher:::9.html
    "false": http://www.bergfexn.com/holzbau/index.php?cPath=9

    Was mache ich falsch?

    lg. Karl



    Linkback: https://www.modified-shop.org/forum/index.php?topic=11448.0

    h-h-h

    • modified Team
    • Beiträge: 4.562
    "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #1 am: 05. März 2011, 17:40:41
    Hallo Karl,
    nimm bitte die "_unterverzeichnis_.htaccess" anstatt der "_.htaccess".

    Gruß

    h-h-h

    schka

    • Frisch an Board
    • Beiträge: 74
    "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #2 am: 05. März 2011, 18:05:56
    Muss ich die Datei "_unterverzeichnis_.htaccess" auch umbenennen?

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #3 am: 05. März 2011, 18:22:54
    Lies doch bitte die Textdateien im Ordner "_bitte_erst_lesen", die sind dort nicht zum Spaß enthalten.

    Grüße

    Torsten

    schka

    • Frisch an Board
    • Beiträge: 74
    "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #4 am: 06. März 2011, 02:43:01
    Wenn Du mir noch sagen kannst was ich da lesen soll, denn in den 7 Textdateien ist nichts zu finden!

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #5 am: 06. März 2011, 07:34:33
    Unter Punkt 2 steht bei mir das:
    2. Suchmaschinenfreundliche URLs einrichten (optional)

          Falls "Shopstat" genutzt werden soll, um Suchmaschinenfreundliche URLS zu erzeugen,
          müssen folgende Vorraussetzungen erfüllt sein:

          #1 Der Server muss "mod_rewrite" unterstützen
             (siehe Administartion -> Hilfsprogramme -> Serverinfo)
          #2 Aktivieren Sie "Suchmaschienenfreundliche URLS" im Adminbereich
             (Erweiterte Konfiguration -> Meta-Tags/Suchmaschinen -> Suchmaschinenfreundliche URLs benutzen -> "true")
          #3 Benennen Sie Sie die "_.htaccess" im Hauptverzeichnis des Shops in ".htaccess" um.

          Sollte Ihr Shop in einem Unterordner (z.B. http://domain.de/shop/ ) liegen,
          so muss die .htaccess bearbeitet werden. Hierzu können Sie die Datei "_unterverzeichnis_.htaccess" verwenden.

          Sie haben Fragen, Probleme oder Anregungen?
          Nutzen Sie unser Forum unter http://www.modified-shop.org/forum

    schka

    • Frisch an Board
    • Beiträge: 74
    "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #6 am: 06. März 2011, 08:27:16
    Danke!

    Thomas K.

    • Mitglied
    • Beiträge: 214
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #7 am: 05. März 2012, 18:07:11
    Hallo,

    um das Thema aufzugreifen:
    SEO Urls funktioniert wunderbar für Artikel, aber für durch den Content Manager erstellten Inhalt wird weiterhin http://localhost:8888/shop_content.php?coID=22 angezeigt.

    Jemand eine Idee, wo das Problem liegt? (und ja, ich habe im Forum für 20 Minuten gesucht)

    Grüße und Danke

    NicoDeluxe

    • Fördermitglied
    • Beiträge: 987
    • Geschlecht:
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #8 am: 05. März 2012, 18:41:04
    hab bei mir die htacess umbenannt, auch im Unterordner. Aber es kommt die Meung "Kategorie nicht gefunden"

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #9 am: 05. März 2012, 20:49:43
    Hallo NicoDeluxe,

    ein paar nähere Informationen von dir wären nicht schlecht um die helfen zu können.
    Du sollst nur eine .htaccess verwenden und diese muss in den Shoproot.
    Läuft auf deinem Server mod_rewrite?

    Schöne Grüße,
    Jan

    NicoDeluxe

    • Fördermitglied
    • Beiträge: 987
    • Geschlecht:
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #10 am: 06. März 2012, 10:17:28
    Hi Jan,

    ja modrewrite wird unterstüzt. Hab eine htaccess im root also unter /html  und eine weitere unter /html/xtc

    Ist das eine zu viel?

    Grüße
    Nico

    jannemann

    • modified Team
    • Beiträge: 6.275
    • Geschlecht:
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #11 am: 06. März 2012, 10:44:10
    Das ist eine zu viel.
    Dein Shop liegt in einem Unterordner? Dann sollte auch nur da die passende (!) .htaccess Datei liegen.
    Was steht in der .htaccess Datei welche sich unter html befindet?

    Schöne Grüße,
    Jan

    NicoDeluxe

    • Fördermitglied
    • Beiträge: 987
    • Geschlecht:
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #12 am: 06. März 2012, 11:42:23
    hi, die im /html gehört Joomla. Mit folgendem Inhalt: (natürlich kein Java, sondern keine Endung)

    Code: Javascript  [Auswählen]
    ##
    # @version              $Id: htaccess.txt 21101 2011-04-07 15:47:33Z dextercowley $
    # @package              Joomla
    # @copyright    Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.
    # @license              GNU General Public License version 2 or later; see LICENSE.txt
    ##

    <FilesMatch \.php$>
            SetHandler x-httpd-php5
    </FilesMatch>

    ##
    # 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 base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.

    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects

    ##
    # 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.
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the request is for something within the component folder,
    # or for the site root, or for an extensionless URL, or the
    # requested URL ends with one of the listed extensions
    RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn'
    t directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.

    Thomas K.

    • Mitglied
    • Beiträge: 214
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #13 am: 07. März 2012, 15:23:42
    Hallo,

    um das Thema aufzugreifen:
    SEO Urls funktioniert wunderbar für Artikel, aber für durch den Content Manager erstellten Inhalt wird weiterhin http://localhost:8888/shop_content.php?coID=22 angezeigt.

    Jemand eine Idee, wo das Problem liegt? (und ja, ich habe im Forum für 20 Minuten gesucht)

    Grüße und Danke

    NicoDeluxe

    • Fördermitglied
    • Beiträge: 987
    • Geschlecht:
    Re: "Suchmaschinenfreundliche URLs benutzen" einschalten!
    Antwort #14 am: 08. März 2012, 18:08:14
    Huhu nochmal, kann mal jemand schauen ob meine htaccess falsch ist? Hab es immernoch nicht hinbekommen die URL suchmaschinen zu optimeren :(

    Code: PHP  [Auswählen]
    # $Id: .htaccess,v 1.5 2005/05/19 17:09:19 Administrator Exp $
    #
    # If your shop runs in a subfolder, for example "www.domain.de/shop/"
    # you can use this .htaccess as a template.
    # Simply search and replace "/xtc_mod/" with the folder-name of your
    # custom installation-folder like "/shop/" or something.
    #
    # Attention: Leave the slashes "/" as is!
    #
    # This is used with Apache WebServers
    #
    # For this to work, you must include the parameter 'Options' to
    # the AllowOverride configuration
    #
    # Example:
    #
    #<Directory "/usr/local/apache/htdocs">
    #   AllowOverride Options
    #</Directory>
    #
    # 'All' with also work. (This configuration is in the
    # apache/conf/httpd.conf file)
    # The following makes adjustments to the SSL protocol for Internet
    # Explorer browsers
    <IfModule mod_setenvif.c>
      <IfDefine SSL>
        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0
      </IfDefine>
    </IfModule>

    # Fix certain PHP values
    # (commented out by default to prevent errors occuring on certain
    # servers)
    #<IfModule mod_php4.c>
    #  php_value session.use_trans_sid 0
    #  php_value register_globals 1
    #</IfModule>

    #-- set expire header for image, pdf, js and css files for 30 days
    #<FilesMatch "\.(ico|pdf|jpg|jpeg|png|gif|js|css)$" >
    #  Header set Cache-Control "max-age=2592000, public"
    #</FilesMatch>

    #-- Turn off ETags in HTTP-header
    #FileETag None

    #-- Call time pass reference error ?!
    #php_flag  allow_call_time_pass_reference On

    #-- XTC Session only on first visit
    #php_flag session.use_trans_sid 0

    #-----------------------------------------
    #- SEO Hartmut König
    #-----------------------------------------
    #-- ! Comment this line, if you get an ERROR 500 !
    #Options +FollowSymlinks

    # http://httpd.apache.org/docs/misc/rewriteguide.html
    RewriteEngine on

    #-- Sitemap
    RewriteRule ^sitemap(.*)\.html$ /xtc_mod/shop_content.php?coID=8 [qsappend,L]

    ##-- Kategorien
    RewriteCond %{REQUEST_URI} (.*):::([_0-9]+):([_0-9]+)\.html$
    RewriteRule (.*):::([_0-9]+):([_0-9]+)\.html$ /xtc_mod/index.php?cPath=$2&page=$3 [qsappend,L]
    RewriteCond %{REQUEST_URI} (.*):::([_0-9]+)\.html$
    RewriteRule (.*):::([_0-9]+)\.html$ /xtc_mod/index.php?cPath=$2 [qsappend,L]

    ##-- Produkte
    RewriteRule (.*)::(.+)\.html$ /xtc_mod/product_info.php?products_id=$2 [qsappend,L]

    ##-- Content
    RewriteRule (.*):_:([0-9]+)\.html$ /xtc_mod/shop_content.php?coID=$2 [qsappend,L]

    ##-- Manufacturers
    RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+):([_0-9]+)\.html$
    RewriteRule (.*):.:([_0-9]+):([_0-9]+)\.html$ /xtc_mod/index.php?manufacturers_id=$2&page=$3 [qsappend,L]
    RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+)\.html$
    RewriteRule (.*):.:([0-9]+)\.html$ /xtc_mod/index.php?manufacturers_id=$2 [qsappend,L]

    ##-- Fehlerseiten auf die Sitemap lotsen
    ErrorDocument 400 /xtc_mod/sitemap.html?error=400
    ErrorDocument 401 /xtc_mod/sitemap.html?error=401
    ErrorDocument 402 /xtc_mod/sitemap.html?error=402
    ErrorDocument 403 /xtc_mod/sitemap.html?error=403
    ErrorDocument 404 /xtc_mod/sitemap.html?error=404
    ErrorDocument 500 /xtc_mod/sitemap.html?error=500

    ##-- BOF - Tomcraft - 2009-09-09 - Use canonical URLs
    # (don't use if your shop runs on a subdomain!)
    #
    #RewriteCond %{HTTP_HOST} !^www\. [NC]
    #RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/xtc_mod/$1 [L,R=301]
    #
    ##-- EOF - Tomcraft - 2009-09-09 - Use canonical URLs
    2 Antworten
    3021 Aufrufe
    08. Mai 2009, 17:02:46 von MarcelSimone
    1 Antworten
    2708 Aufrufe
    04. Juni 2012, 14:39:33 von Alfred
    1 Antworten
    2741 Aufrufe
    30. Oktober 2012, 21:54:18 von EmmKey