A Setting To Respect DirectoryIndex
-
FYI: Love Cache Enabler
I have a tendency to bypass the WordPress default index.php in favor of a write protected file of another name. Lets use blog.php as our example.
In htaccess it’s all pretty simple.
# What to load first
DirectoryIndex blog.php index.php(Load blog.php first if not found load index.php)
—————
In Cache Enabler DirectoryIndex basically gets hard coded in /inc/cache_enabler.class.php in the function _is_index()
… function _is_index() {
return basename($_SERVER[‘SCRIPT_NAME’]) != ‘index.php’;
…—————
I think we desperately need a setting where we can dictate what the Index is. Because if you are using DirectoryIndex options in your htaccess, Cache enabler will not cache anything thanks to index.php being hardcoded.
This would be a powerful and very helpful option
The page I need help with: [log in to see the link]
- The topic ‘A Setting To Respect DirectoryIndex’ is closed to new replies.