-
Posts
1,169 -
Joined
-
Last visited
Community Answers
-
Pratik.d's post in [Rank Math SEO Plugin] 404 Error on Homepage was marked as the answer
Hello,
I logged into your site and I edited the wp-config.php file on your server. I changed below line:
/** Enable W3 Total Cache */ define('WP_CACHE', true); // Added by W3 Total Cache to
/** Enable W3 Total Cache */ define('WP_CACHE', false); // Added by W3 Total Cache This variable is added by W3 Total cache, were you using that plugin before on your site? When this variable is set to true, WordPress checks for the advanced-cache.php file in wp-content folder which is missing on your site, which could be the reason for the 404 error on your homepage. I changed the Cache variable to false and your homepage now seems to be working fine.
Can you please check and confirm on your end?
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Change canonical URL (again) was marked as the answer
Hello,
I would suggest you to change Site URL which is without www. But if want to change canonical url without changing Site url then please add below filter to your theme's functions.php file:
add_filter( 'rank_math/frontend/canonical', function( $url ) { $url = str_replace( 'https://', 'https://www.', $url ); return $url; }); Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Change Canonical URL. was marked as the answer
Hello,
Thank you for contacting MyThemeShop today.
By default Rank Math uses Post permalink value for canonical url. You can add trailing slash in Permalink structure by Navigating to Dashboard >> Settings >> Permalinks:
If you only want to change canonical url without changing permalink structure then, please add below filter code in your theme's functions.php file:
add_filter( 'rank_math/frontend/canonical', function( $url ) { return trailingslashit( $url ); }); Hope that helps. If there is anything else, please let us know.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Fatal Error after Plugin Update [Impossible to Activate Plugin After Fixing Issue] was marked as the answer
Hello,
Thank you for contacting MyThemeShop and sorry for any inconvenience that might have been caused due to that.
Please share your login and FTP details in the "Sensitive Data" section by clicking the Add button on the top and bottom right-hand side on this ticket and follow the instructions shown in the screenshot below:
Looking forward to helping you. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Fatal Error at bottom of some pages was marked as the answer
Hello,
There were some compatibility issues with Thrive Architect plugin which we had addressed in the last release of the plugin. I updated the Rank Math plugin on your site to the latest version(v1.0.11), and that fixed the issue.
Hope that helps. Please let us know if there is anything else.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Hello was marked as the answer
Hello,
Please add below filter code in your theme's functions.php file to remove the credit notice:
add_filter( 'rank_math/frontend/remove_credit_notice', '__return_true' );
Can you add the Source & Destination link which you are trying to redirect in the Sensitive Data Section?
Looking forward to helping you. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Post Description No Working was marked as the answer
Hello,
I rechecked your site and, everything seems to be working fine. The priority in which description is added to the posts is:
a) Description inserted in Post Setting's Description field
b) Excerpt Text
c) Description added in Settings
d) Auto-generated description from content
All posts on your site have an excerpt, that's the reason why the description is showing the excerpt text on the frontend. To ignore excerpt, i.e. step 2 and show the description added in Settings, please add the code I shared in my previous reply to your theme's functions.php file.
Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] I have a Bug with "Rank Math Free" and Ultimate member, "wpForo Forum", "Comments - wpDiscuz" was marked as the answer
Hello,
Thank you for contacting MyThemeShop and sorry for any inconvenience that might have been caused due to that.
Can you please confirm if Author archives in Dashboard >> Rank Math >> Titles & Meta >> Author Archives are enabled on your site:
If it is enabled then please share your login details in the "Sensitive Data" section by editing your first post on this ticket and follow the instructions shown in the screenshot below:
Please make a reply once you update the details, so we get notified.
Looking forward to helping you. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Hiding other google analytics accounts was marked as the answer
Hello,
Please use below code to remove the Search console option for everyone except the IDs in the array:
// Remove Search Console option from Settings. add_filter( 'rank_math/settings/general', function( $tabs ) { $user_id = get_current_user_id(); if ( ! in_array( $user_id, array( '{COMMA_SEPARATED_CLIENT_IDS}' ) ) ) { // Eg 1,2,3 unset( $tabs['search-console'] ); } return $tabs; }); // Remove Search Console option from Setup Wizard. add_filter( 'rank_math/wizard/steps', function( $steps ) { $user_id = get_current_user_id(); if ( ! in_array( $user_id, array( '{COMMA_SEPARATED_CLIENT_IDS}' ) ) ) { // Eg 1,2,3 unset( $steps['searchconsole'] ); } return $steps; }); Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Required original attachment description was marked as the answer
Hello,
Thank you for contacting MyThemeShop today.
To use Media description in meta, please add below filter code to your active theme funcitons.php file:
add_action( 'rank_math/frontend/description', function( $description ) { if( is_attachment() ) { global $post; if( $post->post_content ) { return $post->post_content; } } return $description; }); Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] How do I change the breadcrumb title? was marked as the answer
Hello,
Thank you for contacting MyThemeShop today.
You can change Breadcrumb Title from Advanced Tab in Rank Math SEO Metabox:
Hope that helps. If there is anything else, please let us know.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Breadcrumbs was marked as the answer
Hello,
Breadcrumb works on pages too. I wanted to take a look at this issue on your site but it looks like you have deleted the Rank Math plugin. I was not able to install it again, it gave me Destination folder already exists error. Please remove the seo-by-rank-math folder using Filezilla or cPanel and install it again, so we can debug the issue on your site.
Looking forward to helping you. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Snippet area problem was marked as the answer
Hello,
There is a CSS rule in your theme which is hiding the Snippet Data added by Rank Math. To fix it, I logged into your site and added below code in admin/css/discy-admin.css
.serp-preview .group { display: block; } The Snippet form now shows up in the Edit Post screen.
Hope that helps. If there is anything else, please let us know.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Sitemaps for multilingual sites was marked as the answer
Hello,
We are glad you got that working now.
If you need anything else in future, feel free to ask.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Rank Math SEO Score Dropped was marked as the answer
Hello,
Thank you for contacting MyThemeShop today.
I've updated the plugin on your site to the latest version i.e v1.0.6 in which we had made plugin compatible with the Classic Builder plugin. That seemed to fix the score issue which you were facing.
Hope that helps. If there is anything else, please let us know.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Category Edit Page Layout Issue was marked as the answer
Hello,
Thank you for letting us know this issue. It looks like Woocommerce changed the priority of their hooks in the recent update which is causing this problem. I've forwarded this issue to our development team and they will get this fixed in the next release of the plugin. For now, to fix it on your site, I changed the below code in seo-by-rank-math/includes/admin/class-metabox.php on line 323.
replaced
$this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor' ); with
if( ! GlobalHelper::get_settings( 'titles.tax_' . $taxonomy . '_add_meta_box' ) ) { return; } $this->action( "{$taxonomy}_edit_form_fields", 'category_description_editor', 9 ); Your Product categories now show the Product thumbnail and only 1 description box.
Hope that helps. If there is anything else, please let us know.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Plugin Conflicting With Enfold was marked as the answer
Hello,
One way to fix this issue is by adding some content in Meta description of Cart and Checkout page: https://mythemeshop.d.pr/hkreBo
As these pages are no-index, it doesn't matter what content you add, Google will not read it. This way, Rank Math will not auto-generate description from the main content and so the av_section shortcode will not be included in the description.
Hope that helps. If there is anything else, please let us know.
Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] permalink was marked as the answer
Hello,
The 11476-2 is the post slug of the post you added in the Sensitive Data Section. Initially, when you created the post, you might have saved it without the title, WordPress in such case uses Post ID as a slug. To change it, please navigate to the Edit Post screen and click on the Edit button after the permalink and change it to any name you want. This is not an issue and it certainly didn't cause due to the Rank Math plugin.
Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] issues with current version which need to fix was marked as the answer
Hello,
1. & 2. & 3. Sure, you can use Articles, Product & Organization schema for your website.
4. For getting your images indexed, please enable the following options: (must be enabled by default)
http://take.ms/QG4PLs
and save the settings.
Then:
wp-admin/admin.php?page=rank-math-options-general#setting-panel-redirections
Setting: http://take.ms/ar1bFu
wp-admin/admin.php?page=rank-math-options-sitemap#setting-panel-general
and choose this setting: http://take.ms/43R7T
That would be the optimal setting.
Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] SEO Analysis, Tag Sitemaps not working, Social sharing was marked as the answer
Hello,
Thank you for letting us know about the issue. The Post sharing is not showing any images because a query string is added to all the images on your site which is causing problem.
Rank Math plugin validates image URL before displaying it on the frontend and because of the query string image validation fails. We will fix this issue in the next release of the plugin.
For now, to fix it on your site, I added below code to /wp-content/plugins/seo-by-rank-math/includes/opengraph/class-image.php file on line194:
$attachment_image_url = explode( '?', $attachment['url'] ); if ( !empty( $attachment_image_url ) ) { $attachment['url'] = $attachment_image_url[0]; } The images now appear when you share posts on Twitter & Facebook.
Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Any idea how to setup font awesome icons instead of default breadcrumbs separator? was marked as the answer
Hello,
You can change the separator to FontAwesome icon using rank_math_breadcrumb_html filter. There is no need to change anything in CSS.
Below is an example usage of this filter:
add_filter( 'rank_math_breadcrumb_html', 'breadcrumb_html_callback', 10, 3 ); function breadcrumb_html_callback( $html, $crumbs, $class ) { $html = ''; $size = sizeof( $crumbs ); foreach ( $crumbs as $key => $crumb ) { if ( ! empty( $crumb[1] ) && $size !== $key + 1 ) { $html .= '<a href="' . esc_url( $crumb[1] ) . '">' . esc_html( $crumb[0] ) . '</a>'; } else { $html .= '<span class="last">' . esc_html( $crumb[0] ) . '</span>'; } if ( $size !== $key + 1 ) { $html .= '<i class="fa fa-caret-right"></i>'; } } return $html; } This code will replace separator with the FontAwesome icon; please add it to your active theme's functions.php file.
Hope that helps. Thank you.
-
Pratik.d's post in [Rank Math SEO Plugin] Page Title is not Showing was marked as the answer
Hello,
Currently, plugin only detects the link added in an anchor tag. It does not consider simple text as link. Our development team is working on adding this functionality and you will see this feature soon in the future release of the plugin. As far as image alt attribute is concerned, you need to add a proper image using WP media uploader. The screenshot you shared before is not actually an image but a preview of the linked post.
106.220.71.54 - This is my IP. The other IP doesn't belong to us.
Thank you.
-
Pratik.d's post in [WP Real Estate Pro] By changing listing type in search, the page refreshes was marked as the answer
Hello,
No, it's not possible to add third parameter in Listing purpose.
Let us know if there is anything else. Thank you.