Member
Member
Nordlicht   2018-01-29, 17:06
#1
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? Smile

Thanks.
Member
Member
sbillard   2018-01-29, 18:07
#2
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.
Administrator
Administrator
acrylian   2018-01-29, 18:26
#3
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.
Member
Member
Nordlicht   2018-01-31, 07:52
#4
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. Big Grin

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.

Administrator
Administrator
acrylian   2018-01-31, 13:45
#5
It's all done using the seo_zenphoto plugin internally.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.