rebuilding/ rewriting a url to make it SEO friendly

You can create a rewrite rule using add_rewrite_rule() that will match a given path to query parameters: function wpse_283774_rewrite() { add_rewrite_rule( ‘^events/([^/]+)/?’, ‘index.php?pagename=events&country=$matches[1]’, ‘top’ ); } add_action( ‘init’, ‘wpse_283774_rewrite’ ); This rule will match whatever is after /events as the country query parameter. Setting the third argument to top means that it will match our … Read more

Find internal links to post

It seems that finding your internal links is as simple as searching your site using the build in WP search widget! You just paste the link you are searching for and WP will show you all post or pages containing the link (no matter what anchor you used). I didn’t know the default search function … Read more

Problem with permalinks

What happening is that WP is searching for a category rather your post. So the category rewrites come before post rewrites and that is making the WP confused. For more info about the rewrites, I can point you to an excellent article here

WordPress Permalinks

This could depend on your host server – I used to host my sites on a Zeus server and had this same problem. You’re probably not on a Zeus server, it’s more common to be on Apache. You can check with phpinfo. Create a file and call it phpinfo.php – include only this: <?php phpinfo(); … Read more

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