Add a paramter to page url

If you were willing to use a plugin you could use Custom Post Type UI to create a “products” custom post type. Any post made inside this post type would give the permalink you wanted.

unique url access control

You can just check if query string “u” exists, else redirect to your “you don’t have access” page. So something like this: if ( isset($_GET(‘u’)) ) { // SHOW YOUR CONTENT } else { header(‘Location: https://domain.com/no-access/’); die(); }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)