Rank Math SEO plug-in that we're using has an option to enter Post ID for the pages that need to be excluded from the sitemap.xml. But it doesn't seem to be working. Is there a standard way to do it?
My site Beta Fox uses Yoast SEO plugin to help deal with SEO common practices, however an issue has arisen. In beginning of last year WordPress didn't fully support webp image types, neither Yoast SEO. Things changed near the end of year, but Yoast SEO unbelievably refuses to support webp (the types Google is forcing upon on us to use). The problem is the fact there's no open graph for image attachments in any page of the site, so that …
I am using Yoast SEO and a custom header. this obv means that any code that yoast uses to input all the seo stuff such as title tag and meta description wont be there. I solved the title tag by using this code: <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the …
I would like to disallow the authors (of posts for example) in the file robots.txt. In fact, I noticed that for some of my sites, Google indexed the authors of articles, which I don't want to. Someone thinks is it possible ? (I tried something like Disallow: /author/ but I'm not sure it works...) Thank you in advance, ArbreMojo.
Does anyone know how to achieve different parent pages for posts? I've managed to code a Custom Post Type that sits under a specific parent page, but I want the option to change this from post to post. Example; /page-1/custom-post-1/ /page-1/custom-post-2/ /page-2/custom-post-3/ /page-2/custom-post-4/ The final result would be URL structure like the above, but all posts sitting on one archive page. I know by default this isn't possible as posts are non-hierarchical. Thanks
I have a Wordpress site that is built to be a job listing board, and I'm looking to create SEO friendly URLs based on data that is stored in the database. The URL structure should include the state abbreviation, city, and job title, and result in the following format: www.domain.com/job/ca/sacramento/janitor There is currently a "Job" page in the backend that uses custom page template located at 'page-templages/job-template.php' that displays the database information at the following URL: www.domain.com/job/?2020-412341235134 How can I …
As can be safely inferred from the question, I'm trying to get Google to index my site. I'm using Wordpress 5.9 served by nginx (1.13.12), with SEOPress (5.6 up-to-date). I let the wizard guide me for the settings and created a sitemap that I registered with Google Search Console - as advised. I let Google do its work and came back later to check, and found that every page exposed in my sitemap returns a noindex meta (X-Robots-Tag with User-Agent …
If I have a page called Home and then a child page with Home as the parent, is there a way to avoid 'home' appearing in the permalink for the child page? I've noticed this with a one-page scrolling theme which asks you to set lots of pages as child pages of the homepage. From an SEO perspective, its not great to have 'home' in all the permalinks. This question seems relevant but refers to categories
I took over a website that was developed by someone else and have rebuilt it to function in Elementor. Everything works great, except for one Archive page with the slug “our-projects” that I can’t seem to edit or access (it is not an existing page and the Trash has been emptied). The problem is I have another Projects page I need to assign the “our-projects” slug to as this slug has a long SEO history. As this Archives Page exists, …
I have deployed reactjs as theme to wp. Now I have question about SEO configuration for react-routes. If I use wordpress (headless) as backend and reactjs as client side. Should I make reactjs server-side or there are more ways to solve SEO problem. I also used react-helmet but it's only makes titles and content while visiting site not like when sharing facebook or google search. Which is the best way to solve it.
I have some experience with building wordpress pages but me and my friend are starting an e-shop, we wanted to have everything perfect without any bugs and problems so we decided to hire a freelancer. He did a great job, we're loving the page but we're experiencing some performance issues that drive our seo down. I'm using web.dev/measure, to check the site almost on daily basis and the performance tab is going pretty crazy there. One day I have 25 …
I'm using the following code in functions.php to add rel prev/next tags to paginated contents: function add_rel_nextprev_to_paginated_content() { global $paged; if ( get_previous_posts_link() ) { ?><link rel="prev" href="<?php echo get_pagenum_link( $paged - 1 ); ?>"><?php } if ( get_next_posts_link() ) { ?><link rel="next" href="<?php echo get_pagenum_link( $paged + 1 ); ?>"><?php } } remove_action('wp_head', 'adjacent_posts_rel_link_wp_head'); add_action('wp_head', 'add_rel_nextprev_to_paginated_content'); This works well for categories, tags and other content, but not the posts that were split into multiple pages by WP's tag. However, …
Link obfuscation is a more and more common topic in order to improve SEO by masking the non-important links to provide more weight to others. I'm looking for an efficient way to obfuscate links in Wordpress, directly in the source code obviously, for example by adding a special class to my links. It must turn the <a> element into something else like a <span>, with no more visible href attribute nor any actual URL, so that robots cannot see any …
I found by scanning my website with tools like ryte.com, that i has over 48k Sites / Links. I only created like maby 25 Websites. After searching for the issue, i found out the the category pages, wich have filters like, price, color, size, that they the reason why i got so many urls. Here in the screenshot, its really good to see. The URL is amaoni.de/shop/hundebetten and actually it's correct if the shop generates the parameters when someone is …
Over the past few days, I've been exploring ways of optimizing my articles for a number of high volume keywords, instead of just 1 or 2. Assuming I write an article on the 'Top 10 Richest Talk-Show Hosts', which will be 3000 words in total, with about 200 to 250 words on each talk-show host. I will be creating page breaks for each person on the list, so along with the main 'Richest Talk-Show Hosts' keyword, can I also rank …
I created a post which is assigned to multiple categories. Eg: I have a post "My Post", and I put it in "foo" and "bar" categories. Now my article will have two permalinks, "/foo/my-post" and "/bar/my-post". Google calls this a duplicate, which it considers to be spam, hence this is not what I want. How can I use multiple categories but have the same permalink? I want this only for SEO. My current permalink structure is /%category%/%post_id%-%postname%.html
I'm writing a custom Wordpress theme and for a specific page I need to overwrite its meta-tags (printed by YoastSEO) with the meta-tags of another page I already know the ID of. I cannot just change the original page meta-tags because the replacement changes based off a custom field in the page. I've tried this, but apparently wp_head() is unaffected by the_post()... <head> ... <?php if (...) { $meta_page = new WP_Query([ 'page_id' => $meta_page_id ]); while ( $meta_page->have_posts() ) …
I have a page structure like this: "Home > Category > Sub Category > Tag", but when I visit the tag page, the breadcrumbs only shows: "Home > Category > Sub Category" where the tag is gone and the Sub Category isn't even linked. How can I make sure that the Sub Category has a hyperlink and to add another level to the breadcrumbs, namely the current tag page? I understand that I can override the yoast_breadcrumb() function in functions.php, …
im a new website developer and i dont have much experience with this subject. I made a new website for a customer using wordpress ( also the previous uses wordpress) My question is , in the old website the links are like this Page -> www.[mywebsite].com/page-name Portfolio -> www.[mywebsite].com/portfolio/portfolio-page blog-> www.[mywebsite].com/blog-page which was wrong because the blog pages are not made with posts but with wordpress pages thats why the blog page doesnt have a /category/ before its name. in …
This is happening with a fresh, new WordPress install. But all you need to do is look at the crazy do_robots() function, which outputs the following... User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Sitemap: https://knowingart.com/wp-sitemap.xml Sending robots to "wp-admin" (by default) makes no sense: Why would I send random robots into my admin directory?! The admin directory is for me, and me alone. Robots/crawlers should not be in my admin directory doing anything. Why would I DOS attack myself by sending …