Transfert d'un site HTML vers Joomla

Réduire
Ce sujet est fermé.
X
X
 
  • Filtrer
  • Heure
  • Afficher
Tout effacer
nouveaux messages

  • [RÉGLÉ] Transfert d'un site HTML vers Joomla

    Bonjour
    Je suis actuellement en train de refaire un site en Joomla
    mais je ne voudrais pas perdre le référencement donc les URL des pages de ce site.
    genre http://monsite.fr/pages/article.html

    Est-ce possible ?
    Avez-vous une idée ?

    Merci à vous pour votre aide

  • #2
    Re : Transfert d'un site HTML vers Joomla

    Bonjour,

    cela est possible, par exemple en utilisant des éléments de menu, puis en ajoutant un suffixe à tes URLs.
    Combien de pages comporte le site ?
    Attention, pour ne pas perdre le référencement du site, il ne faut pas simplement reprendre les URLs, mais également les balises <title>, les balises <hn>, les liens internes, etc...
    Pour apprendre à construire votre site web avec Joomla 3 : Joomla3! Le Livre Pour Tous : http://cinnk.com/joomla/3/le-livre-pour-tous

    Référencement Joomla! 10 astuces pour référencer son site web https://cinnk.com/articles/referencement-joomla-10-astuces-pour-referencer-son-site-web

    Créez votre boutique en ligne avec Joomla! & HikaShop http://cinnk.com/boutique/livres/cre...la-et-hikashop

    Commentaire


    • #3
      Re : Transfert d'un site HTML vers Joomla

      Merci Simon pour ta réponse et ton aide
      mon site a environ une trentaine de pages (à l'époque je ne connaissais pas joomla )

      Commentaire


      • #4
        Re : Transfert d'un site HTML vers Joomla

        Avec un trentaine de pages, tu devrais facilement t'en sortir en créant les éléments de menu et en ajoutant le suffixe html dans Configuration => Site => Paramètres SEO
        Pour apprendre à construire votre site web avec Joomla 3 : Joomla3! Le Livre Pour Tous : http://cinnk.com/joomla/3/le-livre-pour-tous

        Référencement Joomla! 10 astuces pour référencer son site web https://cinnk.com/articles/referencement-joomla-10-astuces-pour-referencer-son-site-web

        Créez votre boutique en ligne avec Joomla! & HikaShop http://cinnk.com/boutique/livres/cre...la-et-hikashop

        Commentaire


        • #5
          Re : Transfert d'un site HTML vers Joomla

          Merci
          as-tu un lien (je n'ai pas trouvé ou peut être mal cherché ) qui explique comment configurer au mieux la configuration d'un site Joomla ?
          et notamment ce que c'est que les liens follow no-follow (même si Google est mon ami)

          Commentaire


          • #6
            Re : Transfert d'un site HTML vers Joomla

            Envoyé par JCASF Voir le message
            Bonjour
            Je suis actuellement en train de refaire un site en Joomla
            mais je ne voudrais pas perdre le référencement donc les URL des pages de ce site.
            genre http://monsite.fr/pages/article.html

            Est-ce possible ?
            Avez-vous une idée ?

            Merci à vous pour votre aide
            Si tu ne veux vraiment rien perdre du référencement tu peux t'aider de sh404 aussi; Il te permettra de traduire des url qui ne le seraient pas correctement avec la réécriture native de joomla...
            Christophe
            http://www.webcrea.fr

            Commentaire


            • #7
              Re : Transfert d'un site HTML vers Joomla

              oui j'ai vu ca
              il me semble que c'est payant
              ca ok mais est-ce un paiement annuel et donc si je ne renouvelle pas que se passe-t-il ?
              (merci pour ta réponse )

              Commentaire


              • #8
                Re : Transfert d'un site HTML vers Joomla

                Envoyé par JCASF Voir le message
                il me semble que c'est payant
                ca ok mais est-ce un paiement annuel et donc si je ne renouvelle pas que se passe-t-il ?
                L'extension est en effet commerciale et l'abonnement est annuel. Si tu renouvelles pas, tu n'as plus accès aux mises à jour
                Pour apprendre à construire votre site web avec Joomla 3 : Joomla3! Le Livre Pour Tous : http://cinnk.com/joomla/3/le-livre-pour-tous

                Référencement Joomla! 10 astuces pour référencer son site web https://cinnk.com/articles/referencement-joomla-10-astuces-pour-referencer-son-site-web

                Créez votre boutique en ligne avec Joomla! & HikaShop http://cinnk.com/boutique/livres/cre...la-et-hikashop

                Commentaire


                • #9
                  Re : Transfert d'un site HTML vers Joomla

                  ok merci à vous deux pour votre aide
                  et bonne journée à vous

                  Commentaire


                  • #10
                    Re : Transfert d'un site HTML vers Joomla

                    Bonjour
                    je réouvre ce sujet... impossible de retirer "index"

                    dans l'administration du site j'ai donc cliqué sur
                    Réécriture d'URL en clair (SEF) Oui
                    Réécriture au 'vol' des URL Oui

                    j'ai renommé le fichier en .htaccess et j'ai rajouté les deux lignes suivantes
                    SetEnv PHP_VER 5
                    SetEnv REGISTER_GLOBALS 0

                    selon le tuto suivant http://www.dechevre.be/joomla/gestio...-qvolq-des-url

                    ma page .htaccess contient donc ceci

                    Code:
                    SetEnv PHP_VER 5
                    SetEnv REGISTER_GLOBALS 0
                    ##
                    # @package		Joomla
                    # @copyright	Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
                    # @license		GNU General Public License version 2 or later; see LICENSE.txt
                    ##
                    
                    ##
                    # 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.
                    et quand je fais actualiser sur mon site (dans un répertoire), index.php a bien disparu mais j'ai une page blanche avec ceci
                    Error 404 - Not found
                    Le fichier requis n'a pas été trouvé. Il peut s'agir d'une erreur technique. Veuillez réessayer ultérieurement. Si vous ne pouvez pas accéder au fichier après plusieurs tentatives, cela signifie qu'il a été supprimé.

                    Alors que je viens de créer un nouveau menu test vers un article ou un blog de catégorie.
                    Avez vous une idée ?
                    merci

                    Commentaire


                    • #11
                      Re : Transfert d'un site HTML vers Joomla

                      Bonjour,
                      Je suis actuellement en train de refaire un site en Joomla
                      mais je ne voudrais pas perdre le référencement donc les URL des pages de ce site.
                      genre http://monsite.fr/pages/article.html
                      Suggestion de novice activer le module de redirection de Joomla et surveiller tous les jours. C'est fastidieux mais ça marche bien.

                      Suggestion de novice flemmard Après 3 semaines j'avais encore une dizaine de liens à rediriger chaque jour : j'ai abandonné le module redirection de Joomla et je suis passé au plugin gratuit Escope error handler qui intercepte les demandes d'accès par des liens erronés, recherche des mots clés dans ces liens erronés, et va chercher dans la base de données, si il trouve des articles dont les adresses contiennent ces mots clés, il affiche alors l'article dont l'adresse a changé, sinon il redirige vers le module de recherche de Joomla, qui affiche les possibilités contenant les mots clés en question.

                      en espérant que cela aide.
                      Dernière édition par ManuelVoileux à 12/01/2014, 13h05
                      Manuel
                      --------
                      voileux.org

                      Commentaire


                      • #12
                        Re : Transfert d'un site HTML vers Joomla

                        un grand merci pour ton post
                        j'avoue que je n'avais jamais fait attention au composant de redirection ...
                        et je vais fouillé le plugin avec intérêt.
                        Merci

                        Commentaire


                        • #13
                          Re : Transfert d'un site HTML vers Joomla

                          Envoyé par JCASF Voir le message
                          je vais fouillé le plugin avec intérêt.
                          Merci
                          Surtout désactives le composant de redirection de Joomla lorsque tu actives le plugin, voir les revues du plugin sur la page de JED
                          Manuel
                          --------
                          voileux.org

                          Commentaire


                          • #14
                            Re : Transfert d'un site HTML vers Joomla

                            J'ai téléchargé ton plugin mais ... impossible de désactiver le composant de redirection, il est verrouillé.

                            Bon après des heures d'essais () j'ai enfin réussi à ce que ca marche en local
                            mais en ligne (dans un dossier genre monsite.com/monsite), impossible de supprimer ce foutu index.php...
                            Serait-ce un probleme de mon hébergeur (1&1) et apache ?

                            si vous avez une idée, elle est la bienvenue.
                            Merci

                            EDIT
                            si ca peut aider voilà le message d'erreur :
                            Multiple Choices

                            The document name you requested (/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.
                            Available documents:

                            /index.html (common basename)
                            Please consider informing the owner of the referring page about the broken link
                            Dernière édition par JCASF à 19/01/2014, 22h02

                            Commentaire


                            • #15
                              Re : Transfert d'un site HTML vers Joomla

                              je continue à fouiller

                              j'ai donc mis le site à la racine, pensant que c'était le dossier qui faisait tout planter...
                              mais le souci est le même.

                              et je viens de voir ce post Probleme réecriture au vol des url chez 1and1, je vois que RobertG a dit "décommente", je cherche mais ...
                              si je supprime le # devant RewriteBase, tout plante
                              si je supprime la ligne ou juste le / j'ai une erreur 404

                              voilà ce que contient mon fichier .access

                              Code:
                              AddType x-mapp-php6 .php
                              AddHandler x-mapp-php6 .php
                              
                              ##
                              # @package		Joomla
                              # @copyright	Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
                              # @license		GNU General Public License version 2 or later; see LICENSE.txt
                              ##
                              
                              ##
                              # 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.
                              Dernière édition par JCASF à 20/01/2014, 01h26

                              Commentaire

                              Annonce

                              Réduire
                              Aucune annonce pour le moment.

                              Partenaire de l'association

                              Réduire

                              Hébergeur Web PlanetHoster
                              Travaille ...
                              X