Hello
just a simple question
how can I Rename "category" into "album"? or better "painter"
thanks and sorry for the trouble
Vaserra
Piwigo version:Piwigo 2.6.1
PHP version: 5.3.27
MySQL version: 5.5.30-30.1
Piwigo URL: http://oldpainters.org/
Last edited by vaserra (2014-02-11 17:23:07)
Offline
Hi vaserra,
Where do you see "category" instead of "album" ? Since Piwigo 2.5 (or is it 2.4 ?), "category" is no more used.
Maybe are you talking about a plugin ?
Offline
http://oldpainters.org/index.php?/categ … o_letter_Z
http://oldpainters.org/picture.php?/673 … ns_von_kol
Last edited by vaserra (2014-02-11 17:55:51)
Offline
Ok, it's about "category" in URL.
I'm not sure replacing it by "album" could be done easily. Maybe with URL rewriting ?
Take a look to .htaccess features for URL rewriting.
Offline
thank you, but what you suggested is really too hard for me
Offline
I'm not an expert in URL rewriting but here is a simple explanation : http://www.addedbytes.com/articles/for- … beginners/
By example, you can create a .htaccess text file containing something like this:
Options +FollowSymlinks RewriteEngine on RewriteRule ^category/$ album/
And put the .htaccess file in the home directory of your site. If you have an existing .htaccess file, simply add these lines (backup the original file for safety before modification!).
I've not tested this code. It could not work. In that case, simply remove these lines from existing .htaccess or delete .htaccess if it was newly created.
Offline
these are the. / htaccess file that I found on my control panel please can you tell me what the right one and its parent folder
grazie
/.htaccess
/public_html/.htaccess
/public_html/piwik/tmp/.htaccess
/public_html/piwik/tmp/assets/.htaccess
/public_html/piwik/tmp/cache/.htaccess
/public_html/piwik/tmp/latest/.htaccess
/public_html/piwik/tmp/sessions/.htaccess
/public_html/piwik/tmp/tcpdf/.htaccess
/public_html/piwik/config/.htaccess
/public_html/piwik/lang/.htaccess
/public_html/piwik/plugins/.htaccess
/public_html/piwik/libs/.htaccess
/public_html/piwik/core/.htaccess
/public_html/piwik/js/.htaccess
/public_html/piwik/themes/.htaccess
/public_html/plugins/AdditionalPages/backup/.htaccess
/public_html/pinup/.htaccess
/_public_html/.htaccess
/_public_html/piwik/tmp/.htaccess
/_public_html/piwik/tmp/assets/.htaccess
/_public_html/piwik/tmp/cache/.htaccess
/_public_html/piwik/tmp/latest/.htaccess
/_public_html/piwik/tmp/sessions/.htaccess
/_public_html/piwik/tmp/tcpdf/.htaccess
/_public_html/piwik/config/.htaccess
/_public_html/piwik/lang/.htaccess
/_public_html/piwik/plugins/.htaccess
/_public_html/piwik/libs/.htaccess
/_public_html/piwik/core/.htaccess
/_public_html/piwik/js/.htaccess
/_public_html/piwik/themes/.htaccess
/.rvsitebuilder/tmp/.htaccess
Offline