Monday, July 16, 2012
Permalinks And Friendly URLs In Wordpress
Web resources
We're back with another resource to enhance your wordpress web posicionaminto, in this case this tutorial I developed for the professional manner electronic newsletter, here's step by step how to get wordpress set path or url friendly and position the contents of our sections or entries, in addition to the key words that we put, for the urls. Well, what but this brings me to improve? I put it up on this blog, and I got my visits increased from 3500 to about 5mil and exponentially grow at a rapid pace, month to month ..
One of the most important issues in the area of web design, is advocacy. What we used to have a website, if the final few that just seeing it? For this reason, today we will see how to optimize one of the tools most widely used open source currently on the scene for the creation of web blogs. We're talking about Wordpress. For those not familiar with wordpress, say in a few words, which is a content management system, free of charge, with which we can generate digital internet blogs. More references here www.es.wordpress.org.
In web design issues, one of the things that we are interested is the natural positioning of our work. Today we will see how to make friendly urls in wordpress. Will force the indexation of friendly urls (friendly urls) in the major search engines. To start go to control panel and we will reach our wordpress permalinks that is on the road
Options>> Permalinks
Here we find the following options (DEFAULT, D? AY NAME, MONTH and name, number and customized structure).
DEFAULT ... is the default setting that brings our blog. The default setup is the domain name we have followed since a number that matches the number of post / article that we introduced in the system, we in the database.
D? AY NAME ... urls in this configuration, we will find our domain, followed by the date and name of post.
MONTH AND NAME ... as shown find the month and post the name of our blog urls
Number in this case what we will see our domain followed by the entry number in the database of our post / entry.
Customized structure will make a special mention this option because it will allow us to fully customize our urls. Then I leave a list of all the default options that could be incorporated into the urls as would be the category of articles, post date, the name-title of our article, among others.
The basic list is as follows:
% Year%>>> The year of your article with 4 digits eg 2009% monthnum%>>> Month of year number, eg 04, if we refer to April%>> ;> Day of the month in which you create the post, always numeric and 18 would be a good example. % Hour%>>> Time of day, ie 13% minute%>>> Minute of the creation time of the article from our blog: for example 37. % Second%>>> With this command we will refer to the second of time in which we wrote our article, for example 24% postname%>>> With this command we refer to the title of our article. If this white space would automatically would separate the words with dashes, for example our title is "WELCOME TO OUR BLOG" in the url would show "welcome-to-our-blog". % Post_id%>>> This would show the id of each post, what is the id? Is the identification number of each item, each time we introduce a new entry in our blog by registering on the database, these post, are associated with an accession number. It is a natural number, integer and positive. egory%>>> Category of our article. % Author%>>> Author who wrote the article
HOW TO CHOOSE OUR FRIENDLY URLS? Well, it's something you have to bear in mind from the beginning, if you want to promote yourself, your name on the network, it is reasonable in the url you post your full name for each article you write is your name the to appear.
Ie: /% author% /% postname%
And they would show such entries www.midominio.com / Jiminy Cricket-/ this-is-the-title-of-my-post
in the following example we want to position our business blog resources for individuals and businesses, so in the field will custom structure: / recursos_empresariales / particulares_empresas / egory% /% postname%
Apart from showing the key words "corporate resources", "private" and "business" every url, category contains articles and their titles as well. As you can see, you can play with millions of possibilities. Focus on the keywords you want to promote.
So far our step 1.
STEP 2
In step 2, create a text file in Notepad and add the code below will generate wordpress. The file in question will call htaccess.txt.
STEP 3
Permalinks in wordpress panel and once you do steps 1 and 2, save the changes
STEP 4
Using our ftp manager, go to the root of our domain and act as follows:
If the file HTACCESS
I open it and add the content you already have, the sentence that yields wordpress mod_rewrite
If there is no htaccess file
Climb the txt file that generated in Step 2. And rename it by removing the ". Txt" and adds one point ahead in the following manner leaving the file name:
>>>>>> htaccess.txt. htaccess
STEP 5
View and work, your friendly urls in wordpress.
RECOMMENDATIONS
a) Verify that there really is not that file (htaccess) and not hidden. b) Backing up the. htaccess to replace it if it already exists in case of mistake or fault. c) For advanced users you can put htaccess file read-only permissions. d) post or modify previous entries automatically. e) Be careful with spaces, is a very typical failure to modify and configure these options, do not put spaces or even complete custom structure, nor within the htaccess file if so would not work.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment