ZenphotoCMS Forum
url settings - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: url settings (/thread-13007.html)



url settings - Nordlicht - 2018-01-29

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 realurlconf-ig file: 'spaceCharacter' => ''
What is the realurl_conf in ZPC?

Thanks.




url settings - sbillard - 2018-01-29

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.




url settings - acrylian - 2018-01-29

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.




url settings - Nordlicht - 2018-01-31

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.




url settings - acrylian - 2018-01-31

It's all done using the seo_zenphoto plugin internally.