Change /register-vendor URL

Hi Guys,

I have changed the word Vendor(s) to Provider(s) on my site using Loco Translate and now I would like to change the /register-vendor URL to /register-provider to reflect that and be more consistent with the naming. How can I do that?

Thank you.

Hi Guys, please help. It’s urgent.

Thank you.

Hi,

Unfortunately, there is no such feature, this can only be changed using PHP snippets, please check some samples here: https://gist.github.com/search?q=user%3Ahivepress+url&ref=searchresults

Also, please note that we respond within 24 hours, excluding weekends: Support Policy | HivePress

Ok no problem. Got it.

I appreciate your help.

Is it this correct? I tried but it did not work:

add_filter(
	'hivepress/v1/post_types',
	function( $args ) {
		$args['register-vendor']['rewrite']['slug'] = 'register-provider';

		return $args;
	},
	100
);

Hi,

We recommend using this PHP sample: Change URL of "List a Service" button (header), and there you already need to change the vendor_register_page route URL. After adding this PHP snippet, you need to update your permalinks: How to refresh WordPress permalinks - HivePress Help Center

​I hope this is helpful to you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.