Navigazione

    Privacy - Termini e condizioni
    © 2020 Search On Media Group S.r.l.
    • Registrati
    • Accedi
    • CATEGORIES
    • Discussioni
    • Non letti
    • Recenti
    • Hashtags
    • Popolare
    • Utenti
    • Stream
    • Interest
    • Categories
    1. Home
    2. poxix
    3. Post
    P

    poxix

    @poxix

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 1
    • Post 1
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    Località Sassari Età 51
    0
    Reputazione
    1
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    Post creati da poxix

    • Rewrite della pagina index.php

      Buonasera a tutti.
      Ho visto l'enorme numero dei post sul RewriteRule e quindi si vede che il problema è sentito.
      Il mio è questo: vorrei che nella pagina home al posto dell'URL /index.php?&language=it_IT ci fosse l'URL /la-mia-home . Considerato poi che ci sono 7 lingue mi piacerebbe che ce ne fosse una per ognuna (vale a dire /my-home, /ma-home, etc).
      Ho provato a mettere mano al file htaccess, ma con nessun risultato.

      Questo è il mio htaccess:

      $Id: .htaccess $

      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 magic_quotes_gpc 0

      #</IfModule>

      RewriteEngine on
      RewriteBase /

      RewriteRule ^([0-9]+)--(.)$ info.php?articles_categories&articles_categories_id=$1&%{QUERY_STRING}
      RewriteRule ^([a-zA-Z0-9-]
      )/([0-9]+)--(.)$ info.php?articles&articles_id=$2&%{QUERY_STRING}
      RewriteRule ^([0-9]+)-f-(.
      ).html$ info.php?faqs&faq_id=$1&%{QUERY_STRING}
      RewriteRule ^([0-9]+)-([a-zA-Z0-9-])/([0-9]+)-([a-zA-Z0-9-]).html$ products.php?$3&cPath=$1&%{QUERY_STRING}
      RewriteRule ^([0-9]+)([a-zA-Z0-9-])/([0-9]+)-([a-zA-Z0-9-]).html$ products.php?$3&manufacturers=$1&%{QUERY_STRING}
      RewriteRule ^([a-zA-Z0-9-])/([0-9]+)-([a-zA-Z0-9-]).html$ products.php?$2&%{QUERY_STRING}
      RewriteRule ^([0-9]+)-t-(.).html$ products.php?tell_a_friend&$1&%{QUERY_STRING}
      RewriteRule ^([0-9]+)-(.
      )$ index.php?cPath=$1&%{QUERY_STRING}
      RewriteRule ^([0-9]+)
      (.*)$ index.php?manufacturers=$1&%{QUERY_STRING}
      RewriteRule ^contact.html$ info.php?contact&%{QUERY_STRING}
      RewriteRule ^sitemap.html$ info.php?sitemap&%{QUERY_STRING}
      RewriteRule ^faqs.html$ info.php?faqs&%{QUERY_STRING}
      RewriteRule ^index.php?&language=it_IT$ /mio-sito <--- questa è la stringa che ho aggiunto io, il resto era di default dal produttore del CMS - TomatoCart

      Dove sto sbagliando?
      Vi prego, un'anima buona che mi aiuti :rollo:

      Grazie mille

      Buona serata

      postato in SEO
      P
      poxix