Skip to content

Inner Tea Pot

Software developer. Creator of synth music. Tea addict. Friend to cats. Tech speak about CentOS, Ubuntu, Python, and PHP.

  • Home
  • GitHub
Inner Tea Pot

Category: codeigniter

CodeIgniter htaccess file for site sub folder

When creating a subfolder, on an existing site, create a .htaccess file like this to automatically map the CodeIgniter urls:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /subfolder/index.php?/$1 [L]

Source: https://stackoverflow.com/questions/7527491/codeigniter-htaccess-subfolder-problem

Author Joel SuttonPosted on November 6, 2019November 6, 2019Categories codeigniter

Recent Posts

  • Uninstalling all brew packages
  • Remove large amounts of unwanted applications quickly
  • CodeIgniter htaccess file for site sub folder
  • Disable PS4 controller in Plex Player on Mac OS X
  • Expand a VirtualBox drive

Categories

  • codeigniter
  • internet radio
  • mac os x
  • mysql
  • plex
  • python
  • shoutcast
  • ubuntu linux
  • virtualbox
  • windows
  • wordpress
  • Home
  • GitHub
Inner Tea Pot Proudly powered by WordPress