The first thing one should check is if the file .htaccess exists in the root directory of the site (/var/www/html in my case). The root directory of your site should contain a file index.php, in the same folder there should be the file .htaccess. WordPress uses this file to manipulate how Apache serves files from its root directory, and subdirectories thereof. Most notably, WP modifies this file to be able to handle pretty permalinks. Continue reading Self-Hosted WordPress Permalink Problems – .htaccess exits
Category Archives: Computing and Others
Self-Hosted WordPress Permalink Problems
Permalink problems can be a very annoying. The following post presents a guideline to fix the problem in a systematical way. Specifically, the post refers to the problem that pages, sites and posts of a self-hosted WordPress blog become inaccessible once one changes the permalink settings. Generally, there are various sources that can cause the same problem. Below you find a checklist that one can go through step by step to find the error. Continue reading Self-Hosted WordPress Permalink Problems
Linear Regression in R
R presents various ways to carry out linear regressions. The most natural way is to use the lm() function, the R build-in OLS estimator. In this post I will present you how to use lm() and run OLS on the following model
Construct the OLS estimator as a function in R
This post shows how to manually construct the OLS estimator in R (see this post for the exact mathematical derivation of the OLS estimator). In contrary to a previous post, this post focuses on setting up the OLS estimator as a R function. While the aim of the former post was much more on the construction of the OLS estimator in general, is this post all about constructing a functional form around the estimator. Continue reading Construct the OLS estimator as a function in R
Calculate OLS estimator manually in R
This post shows how to manually construct the OLS estimator in R (see this post for the exact mathematical derivation of the OLS estimator). The code will go through each single step of the calculation and estimate the coefficients, standard errors and p-values. In case you are interested the coding an OLS function rather than in the step wise calculation of the estimation itself I recommend you to have a look at this post. Continue reading Calculate OLS estimator manually in R
How to Enable Gui Root Login in Debian 8
In this post I am going to explain how to enable GUI root access on Debian 8. Instructions for Debian 9 a similar and can be found here. At this point I should warn you that using the root account is dangerous as you can ruin your whole system. Try to follow this guide exactly.
Necessary Conditions to Create a Latex File
Whatever Tex-document you are creating it has to contain three specifications. The first thing is to specify the class of the document, second thing is to define when the document begins and the third thing is to define when it ends.
Continue reading Necessary Conditions to Create a Latex File