Save URL into database

If you have simple data, you can use add_option function to save the data to the wp_options database table. You can pass an array, it will be serialized automatically. Just pass the array to the function in the second argument, and specify the option name in the first argument (something like all_visits). And then you … Read more

How to edit URL Slug?

You can edit the slug for most content types. Check your sidebar when you have it open for editing – it should look something like this: Moreover, some SEO plugins (like Yoast) also allow you to specify a slug. If you change the slug (and thus the URL to pages) you might want to use … Read more

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