Tagged: RankMath
-
AuthorPosts
-
April 23, 2024 at 3:42 pm #1440607
hi guys. i have a challenge and this is that when I use ALB for posts, images instead of feature image not located in rankmath sitemap. i asked this problem from rankmath team and they said it is related to theme compatibility.
https://wordpress.org/support/topic/enfold-and-the-images-missing-problem-in-sitemap/
May 1, 2024 at 7:35 am #1441551Hi!
Sorry for the delay. Please edit the themes/enfold/config-rank-math/config.php file, remove the content, then replace it with the following code: https://pastebin.com/depLLt3N
After the file modification, make sure to edit and update one of the pages to regenerate the sitemap.
Regards,
IsmaelMay 3, 2024 at 2:53 pm #1442191it works well Ismael. thank you very much. now i can see all of my images in the sitemap.
another problem by rankmath and enfold i recently found is about pagination and “next” and “prev” rel for better SEO. when i use ALB and we have pagination (like as blog posts). i checked the source page and there are no “prev” and “next” rel. you can check my home page.
https://kojachetor.com/.
also, you should attention to this subject that pagination canonical rel confirmed for every page such as 2, 3, 4, and…. just canonical of page 1 must refer to home page. if you check my home page source, in all pages of pagination, canonical refers to the home page!!! it si not good for SEO. rankmath do it correctly when I do not use ALB.May 7, 2024 at 4:03 am #1442501Hi,
Thank you for the update.
i recently found is about pagination and “next” and “prev” rel for better SEO
We’ve found a thread related to this issue that might be helpful. Please check the links below:
// https://support.rankmath.com/ticket/canonical-url-setting-for-paginated-blog-pages/#post-729041
// https://support.rankmath.com/ticket/canonical-url-setting-for-paginated-blog-pages/#post-729924Best regards,
IsmaelMay 8, 2024 at 7:48 pm #1442720yeah. these threads exactly refer to my recent challenge(correct canonical address in pagination for ALB). but non of the codes that rankmath team offer for solving this problem not work in ALB of enfold theme. you can try it.
May 8, 2024 at 8:29 pm #1442722Again i refer to the first problem. most of the images are not indexed in Google and I assumed that the reason is images not involved in the sitemap. your codes show my images in the sitemap but are still not indexed in Google. i checked robots.txt and the hosting condition and another technical problem. but I doubt that the image indexing issue is related to the theme or not. because in GSC==>pages===> Crawled – currently not indexed, there are many pictures, especially in .jpg format that can not indexed. what is your idea?
May 9, 2024 at 5:35 am #1442754Hi,
Have you tried submitting your sitemap to Google again? Please note that it might take some time for the search results to be updated.
// https://support.google.com/webmasters/answer/7451001?hl=en#zippy=%2Csubmit-a-sitemap
Best regards,
IsmaelMay 9, 2024 at 8:02 pm #1442840yes. the last crawl of the sitemap was successful and GSC showed green condition without any errors.
May 11, 2024 at 10:09 pm #1443009Hi,
It sounds like this is sorted out now, shall we close this thread then?Best regards,
MikeMay 15, 2024 at 9:19 pm #1443744hi mike. the first problem was solved. but second about canonical address in pagination pages exists Please solve it in ALB
May 15, 2024 at 10:32 pm #1443765Hi,
Thanks for your feedback but I’m not sure that I can explain your issue, please explain further so we can present it to the Dev Team.Best regards,
MikeMay 23, 2024 at 5:07 pm #1445384the explanation is very easy. in pagination mode in ALB, the canonical URL must refer to page numbers. for example, we have 5 pages. just in page one the canonical must refer to the Home page. On page2,3,4 and five it must refer to page2, page3, page4 and page 5. now in ALB, when we have pagination and use rankmath plugin, all pagination canonical URLs refer to the home page. the problem is not related to rankmath because when we use Gutenberg page builder all things are correct and just when we use ALB in Enfold this challenge is appear.!!!! in fact it is related to Enfold compatibility with rankmath plugin. for example I send to you a URL in page number 3 in ALB pagination in private. please check the page source and see the canonical URL to home page!
May 23, 2024 at 9:11 pm #1445411Hi,
The url ?avia-element-paging=3 is correct and the Dev Tea has set this to not interfere with the WordPress pagination.
In the past the pagination was as you point out but it caused a conflict and so the Dev Team changed this, if you feel this is in error you can submit a request to the Dev Team in their Github Feature Request for users to place requests and follow them as the Dev Team reviews them.Best regards,
MikeMay 26, 2024 at 4:07 pm #1446448thank you mike. but i suggest google method to your team that they say obviously that ” Don’t use the first page of a paginated sequence as the canonical page. Instead, give each page in its own canonical URL.”
https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loadingMay 26, 2024 at 4:25 pm #1446456Hi,
Thanks for the link, it recommends using ?page=n for pagination, this is their example:
we use ?avia-element-paging=n it is the same, it doesn’t have to be the word page.
If you feel this is still an error you can submit a request to the Dev Team in their Github Feature Request for the Dev Team to review it.Best regards,
MikeMay 26, 2024 at 5:31 pm #1446471oh mike!!! Why don’t we understand each other? Ok. the problem is not about URL, please. for each URL your ?avia-element-pagin=n your theme have “rel=canonical= homepage” you should attention to next line of your image. i send you 2 images and I indicate by red line.
May 26, 2024 at 6:05 pm #1446487Hi,
The pagination link doesn’t have a rel=canonical, only the page, and this is not a new page so it would not change.
So you would like to see the page change the canonical when the pagination is used, what do you think that it should change to.
Please explain an I will open a Github Feature Request for you, if you don’t want to.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.