Today I learnt something new again about how to redirect my website if the visitors type in their browser such as this address: http://openscriptsolution.com (without prefix www.) then the browser will be automatically redirected it to the http://www.openscriptsolution.com (with prefix www.). This is very important for those of you who have the website, since you have to decide which URL that you will use for the consistency of your URL. In addition, Google loves the consistency of the URL that we used for our website. That’s what I have heard and known from Internet. So, here is the code how you can do that for your website by using .htaccess file. Read more…
Categories: General Tags: browser, consistency, Google, htaccess, HTTP_POST, IfModule, mod_rewrite, prefix, redirect, RewriteBase, RewriteCond, RewriteEngine, RewriteRule, root, url, visitor, website, www
Today I found another solution that worked really fine to redirect from old URL to new URL permanently by using Simple 301 Redirects plugin. I have tested this plugin and it worked like a charm. Before I found this plugin, I had tried to use the redirect 301 by using .htaccess file, but unfortunately, it did not work. Read more…
I was migrating my articles from my old website which not using WordPress to the new one that using WordPress. Just for your information, the domain of that my website was not changed. Only the URL of all my articles on the old website that become being changed on my new website, and with the new structure, indeed. Then I found the technique how to redirect from the old URL to the new URL by optimizing the .htaccess file. The following code will show you how you can do this if you encounter the same problem some other time. Read more…
After you activated the WP Super Cache plugin, then the most important thing that you have to set ON this plugin through the WP Super Cache Manager page. Then, add the following rules into your .htaccess file that located in your web root directory. Please note that you have to add this following code at the top of the .htaccess file. Make sure they appear before any existing WordPress rules. Read more…
There are some resources that recommend you to set register_globals become Off on your PHP installation in order to keep your website secure. Some of them are:
- Using Register Globals
- How do I deal with register_globals?
We are not talking or discussing about those resources, but the question is: “How do I change this register_globals value become Off anyhow if its directive on my server currently is On, and in the same time I could not change the register_globals directive from the php.ini file?” Well, here is the solution for you. Read more…
I just wondered what would be happened when Permalink feature in WordPress is being activated? Detail technical question is: “What is the truly identifer that makes me sure this feature is being activated?” For those who do not know what Permalink is, it is a feature in WordPress that allows you to change the URL style become SEO friendly. For example, default URL is: http://www.yourdomainname.com/index.php?p=123 then when Permalink activated, that URL will become http://www.yourdomainname.com/2009/08/21/sample-post/. Well, here is the answer for this. Read more…
Recent Comments