well previous post Wordpress Optimizing Permalinks (1) after finishing installing WordPress. By default, and many bloggers are not aware of the problem, this is how WordPress defines your URLs
The technique has more advantages:- It avoids the spamdexing penalty since you don’t repeat the exact same keywords in both the page title and the URL.
- It provides the search engines with relevant information of what your post is all about.
- It reduces the risk of URL wrapping when sent in email.
- Short URLs are easier to write down and remember.
So keep your URLs short and if possible, static. No query strings like /?p=123 and no other changes. However, if your blog is quite old, has many links and has a good Google PageRank (PR), any change in your URL structure might cause the loss of PR, rankings, links and valuable traffic
Sometimes WordPress will give an error message when you try to change your permalink structure: You should update your .htaccess now chmod
is a unix command that means "change mode" on a file . If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file.WordPress will give you the code in the text field below:
At last, create an empty text document with notepad, paste the code and rename the document name with .htaccess. Then upload the new document in the WordPress root folder of your blog.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
At last, create an empty text document with notepad, paste the code and rename the document name with .htaccess. Then upload the new document in the WordPress root folder of your blog.
0 comments
Post a Comment