Change title only in dynamic page

Just to make sure, does the title tag in your <head> area (presumably in header.php) look like this? <title><?php wp_title(); ?></title> It has to be like that for Yoast to work with it, and be able to override titles. Anyway if you add this to your single.php (or at least before get_header() is run for … Read more

install robots.txt to wordpress website admin

There are two possible solutions, you can try: Solution 1 – Changing Uploads Directory In WordPress Settings If you have moved your WordPress to a new hosting recently. There is great chance that path to your WordPress uploads directory is incorrect. Follow below steps to correct/verify settings. Sign in as admin on WordPress click on … Read more

SEO Friendly URL on dynamic product page produced via shortcode

Your rule needs a little tweak. You also need to add id to valid query vars. function wpd_test_rule() { add_rewrite_tag( ‘%id%’, ‘([0-9]+)’ ); add_rewrite_rule( ‘^product/([0-9]+)/([^/]+)/?$’, ‘index.php?page_id=5&id=$matches[1]’, ‘top’ ); } add_action( ‘init’, ‘wpd_test_rule’ ); Note that WordPress doesn’t put query vars in $_GET, you’ll need to adjust your code to use get_query_var(‘id’) to fetch the value. … Read more

Reactjs headless WordPress theme configure SEO

Which is the best way to solve it. There is no WP based solution to solve this. Any WP solutions will modify the output of a WP theme, but you don’t have a WP theme. What you have is a React web application that talks to a REST API and gives the appearance of a … Read more

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