I really enjoy your theme! However I'm running into a problem with portfolio url rewrite.
I need to change the links: host.com/portfolio/example-post => host.com/works/example-post host.com/portfolio-category/cate1 => host.com/works/cate1
so I have changed the "portfolio slug" => works ,"category slug" => works , in the portfolio settings menu of kalium , and flushed rewrite rules, but they do not work: host.com/works/cate1 => 404 error
Please help me , it's a big trouble for me (>﹏<).... Thanks so much!
You don't have to change on the code nothing. Please read this article, you will find the section URL Rewrite Options, above that section you can find changes for slug.
After you did all your changes, please re save the permalink setting, (how to)
Thanks for your reply. I have already done as what you told me , but there's still a 404 error shown as attachments. It's hard to describe so I made 3 pics as followings, hope you can help me solve this problem. Looking forwand for your reply.
I tried your solution,it does work. But here's the problem,I need these two portfolio item and portfolio category must be the same , i need them to be the same in my project. So I am wondering if you can help me solve this problem. looking fotward for your reply.
I made a local host in my computer, running WP ,so I exported a whole file to you. my account is tomka,password is 12345678.Hope this is what you want,THX!
Well for moment I cannot help you cause you have local running theme, and i can't see the results. XML file didn't help. If you move your theme Online for sure we will be back to talk and check your requirements.
WP Credentials are yourdomain.com/wp-admin/ so User and Password u use to login are WP Credentials.
Hope you will be soon online and we can take care of your request.
You had to create portfolio page first of all(How to). You can name this page 'works' (already done), you can find the page on pages section.
The page i just talked above has a unique slug works, and this will be reserved, for that reason portfolio items are named work due to not have conflicts, slug of portfolio-category now is 'works-category' this can not be named work or works.
Second issue is Menu.
Items you have added on Menu by using custom links, is not correct for your case. After creating pages you had to use Pages section to put Pages as link.
Please read Kalium documentation, there is lot to learn and to see some of our articles has video instructions.
I need this url goes well because I will send this link to other people. In another way, my client got this URL: http://unoslee.com/works/painting/ ,when he paste it in exploerer, it shows 404error. I am wondering if this bug can be fixed by code,or any other solutions? looking for your reply thank you !
For reference, you can check this website structure:
I had to do some changes with your home page, from now on your home page will be Work Page, so we will be eliminating an issues or better to say conflict between slugs of portfolio-category, changes are done on this section.
Well i saw the link you send, and if you go deeper if you select an photo from.
Dear Laborator team,
I really enjoy your theme!
However I'm running into a problem with portfolio url rewrite.
I need to change the links:
host.com/portfolio/example-post => host.com/works/example-post
host.com/portfolio-category/cate1 => host.com/works/cate1
so I have changed the "portfolio slug" => works ,"category slug" => works , in the portfolio settings menu of kalium , and flushed rewrite rules, but they do not work:
host.com/works/cate1 => 404 error
Please help me , it's a big trouble for me (>﹏<).... Thanks so much!
Hi Leeunoce
You don't have to change on the code nothing. Please read this article, you will find the section URL Rewrite Options, above that section you can find changes for slug.
After you did all your changes, please re save the permalink setting, (how to)
Thank you.
Hi Eroll,
Thanks for your reply. I have already done as what you told me , but there's still a 404 error shown as attachments. It's hard to describe so I made 3 pics as followings, hope you can help me solve this problem. Looking forwand for your reply.
Best regards,
Unoce
Hi leeunoce
Can you try for portfolio item to set work not works, and for category let it works. Check the image below
(view large version)
Please do not forget to save permalinks, after you set the new slugs.
Thank you.
Hi Eroll,
I tried your solution,it does work. But here's the problem,I need these two portfolio item and portfolio category must be the same , i need them to be the same in my project. So I am wondering if you can help me solve this problem. looking fotward for your reply.
Regards,
Unoce
Hi
Please sent the WP Credentials i have to see what is going on.
Thnx
Hi,
I made a local host in my computer, running WP ,so I exported a whole file to you. my account is tomka,password is 12345678.Hope this is what you want,THX!
Hi leeunoce
Well for moment I cannot help you cause you have local running theme, and i can't see the results. XML file didn't help. If you move your theme Online for sure we will be back to talk and check your requirements.
WP Credentials are yourdomain.com/wp-admin/ so User and Password u use to login are WP Credentials.
Hope you will be soon online and we can take care of your request.
Thank you.
Hi leeunoce
Why it didn't work?
You had to create portfolio page first of all(How to). You can name this page 'works' (already done), you can find the page on pages section.
The page i just talked above has a unique slug works, and this will be reserved, for that reason portfolio items are named work due to not have conflicts, slug of portfolio-category now is 'works-category' this can not be named work or works.
Second issue is Menu.
Items you have added on Menu by using custom links, is not correct for your case. After creating pages you had to use Pages section to put Pages as link.
Please read Kalium documentation, there is lot to learn and to see some of our articles has video instructions.
Thank you.
Hi Eroll,
Thanks for your reply.
I need these two portfolio item andportfolio category must be the same ,named as 'works'. Then
url:http://unoslee.com/works/painting/ first time is function, but when I refresh this URL turned to be 404.
I need this url goes well because I will send this link to other people. In another way, my client got this URL: http://unoslee.com/works/painting/ ,when he paste it in exploerer, it shows 404error. I am wondering if this bug can be fixed by code,or any other solutions? looking for your reply thank you !
For reference, you can check this website structure:
https://www.gerhard-richter.com/
https://www.gerhard-richter.com/en/art/
https://www.gerhard-richter.com/en/art/paintings/
REGARDS,
Unoce
Hi leeunoce
I had to do some changes with your home page, from now on your home page will be Work Page, so we will be eliminating an issues or better to say conflict between slugs of portfolio-category, changes are done on this section.
Well i saw the link you send, and if you go deeper if you select an photo from.
https://www.gerhard-richter.com/en/art/paintings/ (url for portfolio category)
It will sent you to more complex url this is
https://www.gerhard-richter.com/en/art/paintings/photo-paintings/aeroplanes-19 (url for portfolio item)
I hope i was clear on explaining why you can't have works term for portfolio category and portfolio item.
Thank you.