dynamic URL rewrite

You might use following in that case It’s okay to keep http://example.com/key_name/key_value simply by passing in your template using function add_query_arg( ‘key’, ‘value’, ‘http://example.com’ ); get_query_var(‘key_name’) to fetch the Value of Query parameters in your template file instead of using $_GET[‘key_name’] .

Changing siteurl in the database not working

WordPress has a number of standard methods to change or override these url options: using update_option() function in functions.php or anywhere else in the code, this way: update_option( ‘siteurl’, ‘https://yourdomain.com’ ); update_option( ‘home’, ‘https://yourdomain.com’ );This is most likely your case because update_option() edits db entries at runtime. In this case, just remove or comment out … Read more

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