You can use the following code to set URL alias for a node if your website also uses Pathauto. $node->path = [. 'alias' => '/' . $node_url,
確定! 回上一頁