Articles tagged with: htaccess


Fixing open_basedir in Joomla

Many security tools and blogs suggest setting the open_basedir in the php.ini file.  The open_basedir directive "Limits the files that can be accessed by PHP to the specified directory-tree, including the file itself. ... When the file is outside the specified directory-tree, PHP will refuse to access it." *


However, it can often trigger the error:

JFolder::create: Path not in open_basedir paths


In order to solve this, you have three options:

Categories: Error Fixes, Server Settings, .htaccess, php.ini, Security


Removing the Temporary Url ~username out of Your Link after Going Live

Ever used a temporary URL with your IP address like when building your site but then had the pesky /~username/ stay in the link after going live?  An example would be looking like  Here are some things to check to fix this:


1. Hard-coded links

Check your database to see if you put the /~username/ in your actual links. The quickest way if you are comfortable is to go to phpMyAdmin, select your database and use the SEARCH tab.  This is fastest because it checks all tables at once.  If you don't want to touch that, try NoNumbers DB Replacer and check the content table (introtext and fulltext), modules (content), and menu tables (link) for ~username.


2. RewriteBase in .htaccess

Check your .htaccess file (via FTP in root folder) to see if you have it has it in the RewriteBase.  It would look something like:

RewriteBase /~username/

Categories: .htaccess


Fixing Magic Quotes for Joomla 3.x

Fixing Magic Quotes for Joomla 3.x

If you have ever installed a new Joomla 3.x website or moved a Joomla site from one server to another, you may have gotten the error for needing to disable Magic Quotes.  This can seem easier said than done depending on your hosting company.  

We compiled a quick guide for how to figure out whether it's enabled, how to change it, and how to troubleshoot it when that STILL doesn't work.

As a disclaimer, messing with server settings can seriously mess up your website.  If you have that feeling like "hmm, should I be doing this??" then you might want to hire a professional to fix it for you.  If you feel like you just need to know where to go, then read on!



What is Magic Quotes?

At its most basic level, it is the setting within PHP that allows quotation marks to be allowed or stripped out of a string.

Written by: Alexis Priddy Categories: Server Settings, .htaccess, php.ini, Hosting Companies


Fix Out of Date PHP

Fix Out of Date PHP

More and more extensions are requiring PHP 5.3.  If you are getting warnings, there are two main ways of switching your website over to PHP 5.3

Using .htaccess

Towards the top of your .htaccess, add:

# Use PHP 5.3AddType application/x-httpd-php53.php


Change in Control Panel of Hosting

Look for "CGI and Scripted Language Support"

Then go to "PHP Scripting"

Set "Select Default PHP Version" to PHP 5.3

Written by: Alexis Priddy Categories: Server Settings


Get Started with YellowWebMonkey

Get Started Now!

Invalid Input

Invalid web address.

Invalid Input

Invalid Input

Joomla Maintenance Plans

Get started with reliable monthly care provided by a Joomla certified company.

Invalid Input

Invalid web address.

Invalid Input

Invalid Input