Subrata Debnath
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Page “Update Plugins” is not updatedClear Browser Cache
Sometimes, the browser cache can interfere with AJAX or the visual update process. Clear your browser cache and refresh the page.
Forum: Everything else WordPress
In reply to: Display dateEnable the Post Meta (Date) via Astra Customizer
Astra provides a simple way to manage the visibility of meta information, including the date, through the WordPress Customizer.
- Go to the WordPress Dashboard.
- Navigate to Appearance → Customize → Blog → Single Post (or Blog → Blog/Archive, depending on where you want the date to appear).
- Look for the Meta settings section, where you can toggle which meta information to display.
- Ensure that the Post Date option is enabled.
- Publish the changes.
Forum: Localhost Installs
In reply to: Add Themes – An unexpected error occurredEnable Debugging in WordPress
Enable debugging in WordPress to capture detailed error logs. Add the following lines to your
wp-config.php
file:define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);Hi@leave12,
Hava a nice day! It sounds like the WordPress media settings or the theme is resizing your images during the upload process. Let’s troubleshoot and resolve this step by step:Step 1: Check Image Size Settings in WordPress
- Go to
Settings > Media
in your WordPress dashboard. - Check the sizes for Thumbnail, Medium, and Large images.
- Ensure that none of these dimensions exceed your desired 1000px limit.
- Set the Large size to 1000px (or smaller) if it is currently set to 1200px.
Step 2: Check Theme-Specific Image Settings
- Some themes override the default WordPress image sizes.
- Go to your theme options or customizer (
Appearance > Customize
) and look for image-related settings.
- Go to your theme options or customizer (
- If your theme allows you to define custom image sizes, set the dimensions to your preferred size.
If you’d like, share more details (e.g., theme name, plugins in use) and I can refine the solution further! ??
Forum: Everything else WordPress
In reply to: Monitoring file downlodsPlease install this plugin.
Option 1: Using Plugins for Download Monitoring
Several plugins allow tracking downloads from your WordPress Media Library directly:1. Download Monitor
- Install and activate the Download Monitor plugin.
- While this plugin typically involves registering files, you can use extensions or customizations to monitor all Media Library downloads.
- Use the add-on “Advanced Media Reporting” to track Media Library files like PDFs without needing to re-upload them.
Forum: Everything else WordPress
In reply to: Monitoring file downlodsHi @godai
Yes, it’s possible to monitor file downloads for files already in your WordPress Media Library
Use PHP to Log Downloads:
- Hook into WordPress’s file access functions to log downloads in your database or a custom log file.
Example PHP Code Add Function.php :
function track_pdf_downloads() {
// Check if the request is for a Media Library file.
if (is_admin() || !isset($_SERVER['REQUEST_URI'])) {
return;
}
// Get the requested file URL.
$requested_file = $_SERVER['REQUEST_URI'];
// Check if it's a PDF file.
if (strpos($requested_file, '.pdf') !== false) {
// Log file location.
$log_file = WP_CONTENT_DIR . '/pdf-download-log.txt';
// Prepare log data.
$log_data = sprintf(
"[%s] File Downloaded: %s | IP: %s\n",
date('Y-m-d H:i:s'),
$requested_file,
$_SERVER['REMOTE_ADDR']
);
// Write to log file.
file_put_contents($log_file, $log_data, FILE_APPEND);
}
}
add_action('init', 'track_pdf_downloads');- This reply was modified 3 days, 10 hours ago by Subrata Debnath.
- This reply was modified 3 days, 10 hours ago by Subrata Debnath.
- This reply was modified 3 days, 10 hours ago by Subrata Debnath.
Forum: Accessibility
In reply to: Issue with a page error on my Tutor LMS siteHi @zulaika48
Follow this method
1. Reconfigure Tutor LMS
Verify Key Settings:Go to Tutor LMS > Settings and review each section:
Ensure the Course Settings and Design Settings are configured correctly.
Check General Settings for login, registration, and course purchase configurations.
Re-save Pages:Under Tutor LMS > Tools, reassign critical pages like the dashboard, instructor page, or student page.
2. Update Everything
Ensure WordPress, your theme, and all plugins (especially Tutor LMS) are up to date.
If you’re using Tutor LMS Pro, ensure your license is active to access updates.Forum: Fixing WordPress
In reply to: Redirection code takes up space on web pageHi @ruud1955, Follow this methord
Using a Plugin (Easiest Way)
- Install a Plugin:
- Go to your WordPress admin dashboard.
- Navigate to
Plugins > Add New
. - Search for “Insert Headers and Footers by WPCode” or “Custom CSS and JavaScript” plugins.
- Install and activate the plugin.
Forum: Fixing WordPress
In reply to: Redirection code takes up space on web pageHere are two simpler options:Option 1: Use JavaScript for Redirection in a Code Snippet
If you’re able to add JavaScript, here’s a simple approach that won’t add anything to the visible content:
- Go to the page’s settings in your CMS and look for an option to add a “Custom Code” or “JavaScript” section in the header (many themes or page builders have this).
- Add this code:
<script> setTimeout(function(){ window.location.; }, 200000); // Redirect after 200 seconds </script>
This code redirects the page after 200 seconds without displaying any extra space on the page.
Forum: Fixing WordPress
In reply to: Not showing up in SearchI hope you well. You’ve taken all the right steps to make your site searchable, but Google indexing can sometimes take longer than expected. Here are some things you can check or try:
- URL Inspection Tool: In Google Search Console, use the URL Inspection Tool for specific pages. This lets you see if Google has crawled them and any potential issues. You can also request indexing here, though it doesn’t guarantee immediate indexing.
- Coverage Report: Check the Coverage Report in Search Console to see if there are any crawl errors or indexing issues that could be blocking your pages.
- Page Load and Mobile Compatibility: Google prefers mobile-friendly and fast-loading pages. Running your site through PageSpeed Insights and ensuring mobile compatibility might help.
- Content Quality and Updates: Sometimes Google indexes sites faster if they detect frequent updates. Adding fresh content or updating a few pages might signal Google to revisit.
- Check for Any Blocked Resources: Make sure your
robots.txt
file and any meta tags are not accidentally blocking important pages or resources that Googlebot needs. - Use External Links to Drive Crawls: Sometimes a few relevant external links from sites Google crawls frequently can speed up the indexing process.
If Google still doesn’t start indexing soon, there may be a deeper issue, and we could try some advanced troubleshooting with your website’s technical SEO. Let me know if that sounds helpful!
Forum: Fixing WordPress
In reply to: Where is the original image saved?If you’re using any caching plugins or services on your WordPress site, clear the cache to ensure that it’s not showing outdated or cached versions of images.
Forum: Fixing WordPress
In reply to: Post count has stoppedemporarily deactivate all plugins and switch to a default WordPress theme (like Twenty Twenty-One or Twenty Twenty-Two). Then, check if the post count updates correctly. If it does, reactivate your plugins one by one to identify which one is causing the conflict.
Please Updated theme and plugin.
Forum: Fixing WordPress
In reply to: Blog Posts Work in Preview, But Are Not Visible on the Live PageGo to one of your problematic posts in the WordPress admin area.Switch to the Text editor mode and inspect the content around where the “Read More” link should appear.Look for any strange characters or HTML entities (
u003c
,u003e
) that might be causing the issue.Forum: Fixing WordPress
In reply to: Install theme – Access DeniedCheck the server’s error logs for more specific information about what might be causing the “Access Denied” error. Logs can often provide clues about file permissions, missing files, or other configuration issues.
Forum: Fixing WordPress
In reply to: Install theme – Access DeniedPlease Check File Permissions and Ensure that your WordPress files and directories have the correct permissions. Generally, the recommended settings are:
- Files: 644
- Directories: 755
You can change permissions using an FTP client like FileZilla or