A solution to set metatags with my page generating plugin?

Theoretically, you could hook into wp_head and echo your tags from within your callback: function wpse_36395_meta_tags() { echo ‘<meta name=”description” content=”Your Description” />’; } add_action( ‘wp_head’, ‘wpse_36395_meta_tags’ ); But note that if a theme already has the tag(s) hardcoded into its <head></head> section, you’ll end up with duplicate tags. Whether that’s more desirable than missing … Read more

How to solve Robots.txt problem with WordPress fresh install?

Your robots file as of right now: User-agent: Googlebot Disallow: User-agent: * Disallow: Disallow: /cgi-bin/ Disallow: /wp-admin/ Disallow: /wp-includes/ Sitemap: http://www.yadfaeq.com You aren’t specifying anything for Googlebot so you should remove it. Additionally, Disallow: could be interpreted as Disallow: / which would block your entire site. What your robots file should be: User-agent: * Disallow: … Read more

is it good to use WordPress in the same url extension in terms of seo?

It is true that WordPress stores your page/post content in a database. Every CMS does this, however. Googlebot crawls links so it will see the public or front-end version of the page that WordPress produces at each URL. WordPress will serve up the page content from the database along with the theme/template/css rules in effect … Read more

How to set 301 redirection after moving WordPress blog?

WAY #1 – cPanel I assume your host is using cPanel managing your Server. Browse domainname.com/cpanel, login their with cPanel credential: Change the values according the following image: Don’t forget to check the “Wildcard Redirect” to redirect all the subfolder/subpages also (Thanks to @RobertHue). Add the redirection and you are done. WAY #2 – .htaccess … Read more

Removing rel=”nofollow” from links posted in Post Content

These links are generated by alx_social_links() function. So in your theme’s functions.php file, search for alx_social_links() function and this link specifically. echo ‘<li><a rel=”nofollow” class=”social-tooltip” ‘.$title.’ ‘.$link.’ ‘.$target.’><i ‘.$icon.’ ‘.$color.’></i></a></li>’; and remove rel=”nofollow” from it. So this will be the new link. echo ‘<li><a class=”social-tooltip” ‘.$title.’ ‘.$link.’ ‘.$target.’><i ‘.$icon.’ ‘.$color.’></i></a></li>’; It will remove nofollow tag … Read more

Dynamically change page title from URL param

You could do something like this in your header.php file (or where ever you are setting your page titles in your templates) <?php if (isset($_GET[‘user’])) : ?> <title>Entries from <?php echo(htmlspecialchars($_GET[‘user’], ENT_QUOTES)) ?></title> <?php else: ?> <title>Normal page title here</title> <?php endif; ?> Without more info on what plugin you are using, or how your … Read more

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