Entrada nueva del blog

Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to link to your article (or section), or how you might send a link to your story in an e-mail message. The URL to each post should be permanent, and never change — hence permalink.
Permalink Types

Some people eliminate some or all of the date elements (day, month, year) to have a shorter permalink format.

Pretty permalinks are available under

* Apache web server with the mod_rewrite module
* Microsoft IIS 7+ web server with the URL Rewrite 1.1+ module and PHP 5 running as FastCGI
* Microsoft IIS 6+ using ASAPI_Rewrite
* Lighttpd using a 404 handler or mod_rewrite (see See Also)

PATHINFO: “Almost Pretty”

PATHINFO permalinks look very much like mod_rewrite permalinks but for one exception: they have /index.php inserted before them, like so:

http://example.com/index.php/yyyy/mm/dd/post-name/

Otherwise, they are the same as the “pretty” mod_rewrite permalinks, and are similarly flexible. Anything that mod_rewrite permalinks can do, PATHINFO permalinks can do, with the help of that /index.php part.

There is a helpful plugin that displays the type of permalinks being used and detailed information on the internal rewrite rules used by WordPress.

Compartir:
  • Print
  • PDF
  • Facebook
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • del.icio.us
  • BarraPunto
  • Meneame
  • Google Buzz

0 Comentarios


Dejar un comentario