Hello,
WPML support help me with some issues so I think I will still use WPML plugin on site
https://skrzynecka5.js-metals.plI have one more question.
Can I remove letter i from album URLs?
Now it looks for example like this:
https://skrzynecka5.js-metals.pl/i/portfolio/Is it passible to remove letter i to set URL looks like this?:
https://skrzynecka5.js-metals.pl/portfolio/and for english vesrion look like this?:
https://skrzynecka5.js-metals.pl/en/portfolio/instead
https://skrzynecka5.js-metals.pl/en/i/portfolio/This involve all album URLs.
Kind regards,
Arek
Comments
It looks like you have changed default "album" slug to "i", am I right?
As far as I know this is not possible to totally eliminate slug of the post type for custom post types. It would create possible conflict with pages and single posts that don't use their post type as a slug prefix, in this case "page" and "post".
I could make some tests for this and check is it possible.
With kind regards.
Yes i have changed default "album" slug to "i".
If you be so kind, please make some tests and check if it is possible to totally eliminate slug of the post type for custom post types.
Kind regards,
Arek
I have made some reading, and it seems that there are no bullet proof solutions for this, as this currently a limitation of WordPress architecture.
Each solution that I have found can lead to 404 errors in other parts of your installation.
However, I have an idea for you, cause it seems we are attacking your issue from the wrong side.
If you want your albums to have simple URLs, use pages instead.
What do I mean by this?
1. Create your album as you did before, and don't worry about its URL.
2. Create a new page, and make your desired URL.
3. Using Elementor or Shortcode, embed your album from point 1. into a page from point 2. https://rifetheme.com/help/docs/content-management/elementor-widgets/
With this, you will be done in 10 minutes :-)
With kind regards.
Thank you, URL is fine https://skrzynecka5.js-metals.pl/portfolio/ but portfolio not looks like on site https://skrzynecka5.js-metals.pl/i/portfolio/
I have paste shortcode like this [a13fe-gallery id="8720" ] on page https://skrzynecka5.js-metals.pl/portfolio/ using elementor widget.
What shoud I do more to make site https://skrzynecka5.js-metals.pl/portfolio/ looks the same like https://skrzynecka5.js-metals.pl/i/portfolio/ ?
Kind regards,
Arek
Instead of shortcode, use the "Theme gallery" widget - it has more options to make your album look as you wish. You can see it on the screenshot here in the documentation https://rifetheme.com/help/docs/content-management/elementor-widgets/
Additionally, in the page options, please set the layout to full width and disable content padding - https://rifetheme.com/help/docs/content-management/pages/pages-options/
With kind regards.
Thank you, I will try this solution.
I have one more question.
Why tags CIĄŻOWE KOBIECE on polish site https://skrzynecka5.js-metals.pl/i/portfolio/ are not translated to english on english site version https://skrzynecka5.js-metals.pl/en/i/portfolio/ ?
Kind regards,
Arek
I found the solution so question about translating polish to english tags is not actual.
Thank you,
Arek
Thanks for the feedback and props for solving this!
With kind regards.