Homepage › Forum › Product Support › Medilab › Site Issues
This topic contains 41 replies, has 2 voices, and was last updated by Jackie 1 month, 3 weeks ago.
-
AuthorPosts
-
2 months, 1 week ago #29424
Hi.
I have checked and fixed that issue on your site.
Now you can add the custom background heading image via the page option when editing the service.
Please recheck it.
Thanks.
2 months ago #29437Hello, hope you are well. Can you please help me to change the url from https://daralbaraa.com/en/doctor/dr-hamid-al-anzi/ to https://daralbaraa.com/en/our-doctors/dr-hamid-al-anzi/ and the our doctors should take to the our team page
2 months ago #29440Hi.
When you change the https://daralbaraa.com/en/doctor/ to https://daralbaraa.com/en/our-doctors/, the doctors will display the list of doctors without the contact form as the current our-doctors page.
If you want to do that, please let us know again. We will help you change that.
Thanks.
2 months ago #29443yes, currently if you go to any of the doctors, the url will show as https://daralbaraa.com/en/doctor/doctorname. we want to show our-doctors in place of doctor, and it will direct to https://daralbaraa.com/en/our-doctors/
instead of https://daralbaraa.com/en/doctor/
the same for the services page, the url should be https://daralbaraa.com/en/our-service/servicename instead of https://daralbaraa.com/en/service/servicename and should direct to the services page.
2 months ago #29446Hi.
I have helped you change the doctor and service archive slug by adding the source code to the functions.php file:
This is the custom source code:
function change_post_types_slug( $args, $post_type ) { /*item post type slug*/ if ( 'doctor' === $post_type ) { $args['rewrite']['slug'] = 'our-doctors'; } if ( 'service' === $post_type ) { $args['rewrite']['slug'] = 'our-services'; } return $args; } add_filter( 'register_post_type_args', 'change_post_types_slug', 10, 2 );
After changing the source code, you need to save the permalink config again to see the effect with the URL.
Please recheck it.
Thanks.
1 month, 4 weeks ago #29449Hello, no this is very wrong. the pages that I created for our services and our doctors are not there anymore. its taking to the archive pages. I need them to go to our doctors and our services pages respectively that I created
1 month, 3 weeks ago #29456Hello, I wanted to follow up on this issue. Kindly let me know as this is urgent
1 month, 3 weeks ago #29460Hi.
I have removed the custom source code. Now you can go to your page: our doctors and our services page.
With the doctor's details, it can't replace the details URL: https://daralbaraa.com/en/doctor/dr-daleen-ibrahim/ to https://daralbaraa.com/en/our-doctor/dr-daleen-ibrahim/ if you don't change the slug of the archive page URL to https://daralbaraa.com/en/our-doctor.
Please consider that.
Thanks.
1 month, 3 weeks ago #29461Hello,
I understand what you mean. But there has to be a solution to this. I the user is going from our doctors page, to one of the doctors, https://daralbaraa.com/en/doctor/dr-daleen-ibrahim/ and then if I remove the doctor from the url, it will take me to the archive page, which doesn’t really Make sense. Same goes for the services page. Is there a way we can change the url for the doctors and the services archives, so that we can use the our-services and our-doctors slug to our page.
Please let me know
1 month, 3 weeks ago #29468Hi.
I think you can use cPanel to redirect your page to another URL.
Please recheck it.
Thanks.
1 month, 3 weeks ago #29473hello, thank you for this suggestion. But we want it to show our-services for seo purposes aswell, and it needs to redirect to our services page and not the archives.
Is there no way this can be done?
1 month, 3 weeks ago #29478Hi.
I'm sorry, I can't help you find the solution for this case. You can ask the question on the Envato forum. https://forums.envato.com/
Maybe in the large community, they can help you find the solution.
Thanks.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.