The simpler media website CMS
How to edit the url settings in ZPC?
Goal: replacement of "-" against "_"
Instead of:
http://example.com/link-to-album-or/news-title/album-title/a-b-c
i would like to have:
http://example.com/link_to_album_or/news_title/album_title/a_b_c
With TYPO3 I would modify the realurl_conf-ig file: 'spaceCharacter' => '_'
What is the realurl_conf in ZPC?
Thanks.
Comments
Since the url maps directly into the file system it is really needed to change the actual file names. There is a SEO cleanup plugin that will do this.
Also best would be to create the names as you want to see them in the first place.
If you are uploading via the backend and not directly via ftp, Zenphoto will use the
seo_zenphoto
plugin if enabled to "clean" filenames.If that does not fit your goals, you need to create your own custom plugin based on this (it uses a filter). Same for the
seo_cleanup
plugin which can "clean" names after uploading.Thanks for your comments.
I installed both extensions right from the beginning. Means I can't see them in the BE as I never experienced the BE without them.
Regarding albums and pictures: this is easy going if you just keep it in mind when creating them.
What I am looking for is to change the basic settings, so that
http://demo.zenphoto.org/news/News-article-3/
will be automaticly
http://demo.zenphoto.org/news/News_article_3/
without having this task in the mind constantly when creating a blog/news entry.
It's all done using the seo_zenphoto plugin internally.