CliffAscent
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing the htmlIf you’re referring to the post link, you need to change the permalink under the title section when editing the post.
Forum: Fixing WordPress
In reply to: Create private confirmation pageIf people know the URL, they can still access it, so people could share the URL. You can use current_user_can() to restrict the page https://codex.www.ads-software.com/Function_Reference/current_user_can
Forum: Fixing WordPress
In reply to: categoriesWhen I visit https://mybestgermanrecipes.com/catering/ and https://mybestgermanrecipes.com/catering/oktoberfest/ I do not see the homepage. Have you tried to clear your browsers cache and cookies?
You can also check the “Strip the category base (usually /category/) from the category URL.” setting under /wp-admin/ >> Yoast SEO >> Permalink Settings. Also try /wp-admin/ >> Settings >> Permalinks and resave the settings. If you’re running any caching, purge the cache.
Forum: Fixing WordPress
In reply to: Post Page and Category Page Showing Same ThingDid you set a custom template on that post? Have you tried deactivating all plugins and reverting to the 2011 theme (do this first)? What changes were made before this started?
Change the lines starting at 97 from;
load_plugin_textdomain('limit-login-attempts', false, dirname(plugin_basename(__FILE__)));
to be the following;
/* If in the mu-plugins directory, load_muplugins_textdomain for internationalization. */ if ( dirname(plugin_dir_path(__FILE__)) == WPMU_PLUGIN_DIR ) { load_muplugin_textdomain('limit-login-attempts', dirname(plugin_basename(__FILE__))); } /* If in normal plugins directory, load_plugins_textdomain for internationalization. */ else { load_plugin_textdomain('limit-login-attempts', false, dirname(plugin_basename(__FILE__))); }
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] How to edit robots.txt fileSame here, is there suppose to be a robots.txt editor?
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Translate "Page X of Y"You can change it in /wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line #156.
You will need to create a custom page (where you can easily edit the SEO settings) and then set that page as the home page in /wp-admin/ >> Settings >> Reading. If you want the page to display posts, you will have to create a custom theme template for it and use the post loop inside the template https://codex.www.ads-software.com/The_Loop
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Meta Descriptions on PageYou can use the following line of code (inside the post loop) to display the current posts meta description as set in the WordPress SEO plugin;
<?php echo get_post_meta($post->ID, ‘_yoast_wpseo_metadesc’, true); ?>
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Translate "Page X of Y"I do not understand your issue, please clarify with as much detail as possible.
Chances are another plugin or theme is adding these also. Have you tried deactivating all plugins, reverting to the 2011 theme and then testing this out?
Chances are this is related to your hosting environment. I see that the main sitemap is working, but not the posts sitemap, how many posts do you have? If you have a lot of posts, it’s possible this page is hitting an error due to resource limitations on your hosting.
Have you tried deactivating all plugin and reverting to the 2011 theme, then testing out the sitemap? What error do you see in your error logs? If you cannot locate the error logs, your hosting provider can help you locate them.
It’s also possible that the meta tags are being added by your theme, did you try reverting to the 2011 theme? Also keep in mind that the google search results do not update instantly, it’s more around 2-3 weeks.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Change blog name from H1 to H3You will need to go into your themes files and edit the <h1> tag that the title is in. Go into /wp-admin/ >> Appearances >> Editor and then locate the template files that you want it removed from, such as single.php, archives.php, etc. but not for the home.php and/or index.php files. The line you’re seeking should be something like one of the following;
<h1><?php single_post_title( $prefix, $display ); ?> </h1>
<h1><?php wp_title( $sep, $echo, $seplocation ); ?> </h1>
The actual file names and lines of code will vary between themes, but I hope this help.
Forum: Plugins
In reply to: [Yoast SEO] I deleted this meta but not fix errorLogin to /wp-admin/ then go to Appearances >> Editor and then locate the header.php file. Once inside the file, locate the line in that error message and delete it. The only problem is, once you update this theme, it will probably add the line back.