CodeIgniter removing index.php from url

Try the following Open config.php and do following replaces to In some cases the default setting for uri_protocol does not work properly. Just replace by .htaccess Note: .htaccess code vary depending on hosting server. In some hosting server (e.g.: Godaddy) need to use an extra ? in the last line of above code. The following line will … Read more

How do I disable directory browsing?

Create an .htaccess file containing the following line: That is one option. Another option is editing your apache configuration file. In order to do so, you first need to open it with the command: Then find the line: Options Indexes FollowSymLinks Change that line to: Options FollowSymLinks Lastly save and exit the file, and restart … Read more

How does RewriteBase work in .htaccess

In my own words, after reading the docs and experimenting: You can use RewriteBase to provide a base for your rewrites. Consider this This is a real rule I used to ensure that URLs have a trailing slash. This will convert to By having the RewriteBase there, you make the relative path come off the RewriteBase parameter.

The requested URL /about was not found on this server

That’s not a typical WordPress rewrite block. This is: See http://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F Where’s my .htaccess file? WordPress’s index.php and .htaccess files should be together in the directory indicated by the Site address (URL) setting on your General Options page. Since the name of the file begins with a dot, the file may not be visible through … Read more

SSL_ERROR_BAD_CERT_DOMAIN

SSL certificate is valid only for website without www I set my site with SSL certificate. It is on posidonia.ga but if I connect then Firefox shows this warning: “”Websites guarantee their identity through certificates. Firefox does not consider this site reliable as it uses a certificate that is not valid for www.posidonia.ga. The certificate … Read more