Révisions :
« type_urls:description : couteauprive - en »

Révisions

# Date Auteur
Février 2014 Hanjo
Février 2014 PatV
Avril 2012 PatV
Janvier 2011 -1

Différences entre version No2 et version No1

Texte de la chaine de langue

@puce@ SPIP? offers a choice between several types of URLs to generate for the access links on the pages of your site :

More information : http://www.spip.net/en_article3588.html The "." tool allows you to see on the page of each SPIP object the clean URL which is associated with it.

 [1]

More information : [->http://www.spip.net/en_article3588.html] The "[.->boites_privees]" tool allows you to see on the page of each SPIP object the clean URL which is associated with it. [2]
@_CS_ASTER@to use the types html, propres, propres2, libres or arborescentes, copy the file "htaccess.txt" from the root directory of the SPIP site to a file (also at the root) named ".htaccess" (be careful not to overwrite any existing configuration if there already is a file of this name). If your site is in a subdirectory, you may need to edit the line "RewriteBase" in the file in order for the defined URLs to direct requests to the SPIP files.

@puce@ "page" URLs : the default type for SPIP since version 1.9x.
_ Example : /spip.php?article123.
 [3] [4]

_ Example : /spip.php?article123.
 [5] [6]

@puce@ "HTML" URLs : URLs take the form of classic html pages.
_ Example : /article123.html

_ Example : /article123.html

@puce@ "clean" URLs : URLs are constructed using the title of the object. Markers (_, -, +, @, etc.) surround the titles, depending on the type of object.
_ Examples : /My-article-title or /-My-section- or /@My-site@ [7] [8] [9] [10]

_ Examples : /My-article-title or /-My-section- or /@My-site@ [11] [12] [13] [14]

@puce@ "clean2" URLs : the extension ’.html’ is added to the URLs generated.
_ Example : /My-article-title.html or /-My-section-.html
 [15] [16] [17]

_ Example : /My-article-title.html or /-My-section-.html

 [18] [19] [20]

@puce@ "open" URLs : the URLs are like "propres", but without markers (_, -, +, @, etc.) to differentiate the various objects.
_ Example : /My-article-title or /My-section
 [21]
 [22] [23]

_ Example : /My-article-title or /My-section

 [24] [25] [26]

@puce@ "hierarchical" URLs : URLs are built in a tree structure.

_ Example : /sector/section1/section2/My-article-title

@puce@ "hierarchical" URLs : URLs are built in a tree structure.
_ Example  :

/sector/section1/section2/My-article-title</code >
 [[%url_arbo_minuscules%]][[%urls_arbo_sans_type%]][[%url_arbo_sep_id%]][[%terminaison_urls_arbo%]][[%url_max_arbo%]]</radio_type_urls3>


<radio_type_urls3 valeur="propres-qs">@puce@ {{"qs-clean" URLs}}:  this system functions using a "Query-String", in other words, without using the .htaccess file. URLs are similar in form to {"propres"}.
_ Example: <code>/?My-article-title

 [27] [28]

_ Example : /?My-article-title

 [29] [30]

@puce@ "standard" URLs : these now discarded URLs were used by SPIP up to version 1.8.
_ Example : article.php3?id_article=123

_ Example : article.php3?id_article=123

@puce@ If you are using the type page described above or if the object requested is not recognised, you can choose the calling script for SPIP. By default, SPIP uses spip.php, but index.php (format : /index.php?article123) or an empty value (format : /?article123) are also possible. To use any other value, you must create the corresponding file at the root of your site with the same contents as in the file index.php. [31]

 [32]

Traducteur(s)
3813, 4652
Statut
MODIF
Notes

[1%radio_type_urls3%

[2%radio_type_urls3%

[3%terminaison_urls_page%

[4%separateur_urls_page%

[5%terminaison_urls_page%

[6%separateur_urls_page%

[7%terminaison_urls_propres%

[8%debut_urls_propres%

[9%marqueurs_urls_propres%

[10%url_max_propres%

[11%terminaison_urls_propres%

[12%debut_urls_propres%

[13%marqueurs_urls_propres%

[14%url_max_propres%

[15%debut_urls_propres2%

[16%marqueurs_urls_propres2%

[17%url_max_propres2%

[18%debut_urls_propres2%

[19%marqueurs_urls_propres2%

[20%url_max_propres2%

[21%terminaison_urls_libres%

[22%debut_urls_libres%

[23%url_max_libres%

[24%terminaison_urls_libres%

[25%debut_urls_libres%

[26%url_max_libres%

[27%terminaison_urls_propres_qs%

[28%url_max_propres_qs%

[29%terminaison_urls_propres_qs%

[30%url_max_propres_qs%

[31%spip_script%

[32%spip_script%