≡ Menu

O mica discutie despre cel mai bun permalink pentru blog

cel mai bun permalinkDe-a lungul timpului, am experimentat mai multe permalinkuri la blog, chiar daca acest lucru nu este indicat. La inceput, linkurile de pe blog erau de forma: /%category%/%postname%/, iar mai apoi am trecut la o forma de genul: /%year%/%monthnum%/%postname%/, pentru ca, intr-un final, sa ajung la forma /%postname%/. Care se pare ca este buna pentru SEO, insa nu renteaza in privinta sfaturilor pe care le-am vazut pe internet, legate de acest topic.

Mai departe, site-ul oficial wordpress.org, face si o descriere care va poate lamuri: „For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text „page slug” as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best for the first structure tag to be a numeric one, such as /%year%/%postname%/. (Some people recommend /%post_id%/%postname%/ which works for performance reasons but others recommend against it because it is unfriendly to users in the many contexts in which users interact with URLs.”

Asta ca sa fiti lamuriti despre cum stau treburile, inainte de a face o schimbare.

0 comments… add one

Leave a Comment