Hello,
I added php code in piwigo Admin > Plugins > LocalFiles Editor config_default.inc.php
$conf['question_mark_in_urls'] = false;
$conf['php_extension_in_urls'] = false;
$conf['category_url_style'] = 'id-name';
$conf['picture_url_style'] = 'file';
Edited .htaccess file
#htaccess piwigo
AcceptPathInfo On
Options -Indexes +MultiViews
Note: www is forced in .htaccess in root directory.
I saw http://piwigo.org/forum/viewtopic.php?id=24411
I did not edit php.ini file (yet) on ipage web hosting. I can use a custom file in the piwigo subdirectory. I checked to be sure cgi.fix_pathinfo = 1 and it does.
I tried editing PATH_INFO to ORIG_PATH_INFO on section_init.inc and functions_cookie.inc without any success.
The URLs are appearing in Google results as http://www.hadlockrock.com/photos/index … ategory/12
What should I do to get the clean URLs to work?
Piwigo version: 2.7.4
PHP version: 5.3 (can be upgraded to 5.5 or 5.6)
MySQL version: 5.5.32
Piwigo URL: http://www.hadlockrock.com/photos/
Offline