Zartab Farooquee
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: my website disappearedGo to
wp-content/plugins.Rename each plugin folder (e.g.,plugin-name-disabled) to deactivate them.Check your site. If it works, reactivate plugins one by one to find the culprit.Go to
wp-content/themes.Rename your active theme folder (e.g.,theme-name-disabled).WordPress will switch to a default theme (liketwentytwentyfour).Check if this resolves the issue.Forum: Fixing WordPress
In reply to: Publishing failed. The response is not a valid JSON response.
# BEGIN WordPress
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
# END WordPressAdd this in your .htaccess file
Forum: Fixing WordPress
In reply to: Publishing failed. The response is not a valid JSON response.The error “Publishing failed. The response is not a valid JSON response” often occurs due to issues with permalink settings, server configurations, or WordPress rewrite rules. Since you’ve already set
AllowOverride Allin the Apache configuration, it’s possible the required.htaccessfile is missing or incorrectly configuredEnsure
.htaccessExists- Navigate to your WordPress installation directory.
- Check if a
.htaccessfile exists. If it doesn’t:- Create a new
.htaccessfile in the root directory.
- Create a new
Forum: Fixing WordPress
In reply to: How to hide my site- Use a Maintenance Mode Plugin: Install a plugin like WP Maintenance Mode to hide your site with a maintenance page.
- Password Protect the Site: Use the Password Protected plugin to require a password for site access.
- Edit .htaccess (if accessible): Add this to
.htaccessfor password protection:
AuthType Basic
AuthName “Restricted Site”
AuthUserFile /path/to/.htpasswd
Require valid-userAny of these methods will make the homepage and other content private.
Forum: Fixing WordPress
In reply to: Fixing critical PHP issueUpdate Plugins/Themes: Ensure all plugins and themes are up to date.Identify the Cause: Deactivate plugins one by one to find the source of the issue.
Close Session: If you find the source, add
session_write_close();after anysession_start();calls in its code.Editwp-config.php: Add this at the start of the file:if (session_status() === PHP_SESSION_ACTIVE) {session_write_close();}- This reply was modified 1 year, 7 months ago by Zartab Farooquee.
Forum: Fixing WordPress
In reply to: WordPress PasswordDisable Security Plugins: If you have access to the WordPress dashboard, try temporarily disabling any security plugins to see if that resolves the issue.
Forum: Fixing WordPress
In reply to: Error while updating pluginsIncrease the memory limit
define(‘WP_MEMORY_LIMIT’, ‘256M’);
Forum: Fixing WordPress
In reply to: Extra space on the right side (just on mobile)body { overflow-x: hidden; } add this css
Forum: Fixing WordPress
In reply to: Hiding side bar / full page content stopped workingGo to Appearance > Customize and look for layout settings specific to pages or posts. Sometimes theme updates can reset settings and Recent plugin updates could be causing conflicts with your theme’s layout options. Temporarily deactivate plugins to see if the issue resolves
Forum: Fixing WordPress
In reply to: Unable to access bbPress forum pages though the content still thereResave Permalinks:
- Go to Settings > Permalinks and save changes to refresh permalink settings.
Forum: Fixing WordPress
In reply to: Previous & Next Block – Hide background colorYou can use a :empty selector
.button-previous-and-next:empty {
display: none;
}
Forum: Fixing WordPress
In reply to: Enlarge image.pdfemb-viewer{
max-width: 100%;
}
add this Css
Forum: Fixing WordPress
In reply to: I Cannot Install Sidebar WidgetGo to Appearance > Customize > Posts/Pages Layout and choose the post type where you wish to include a sidebar. Find the Default Page Layout for your post type, and select the option for a right or left sidebar.
You can edit the sidebars in the admin dashboard by navigating to Appearance > Widgets and editing the default sidebar of your choice.
- This reply was modified 1 year, 8 months ago by Zartab Farooquee.
- This reply was modified 1 year, 8 months ago by Zartab Farooquee.
Forum: Fixing WordPress
In reply to: About page widthYou can add this css in Appearance > Customize > Additional CSS
body {
width: 100%;
margin: 0;
padding: 0;
}
#page {
max-width: 100%;
}
Forum: Fixing WordPress
In reply to: Page styling – bug or feature?Use Additional CSS in the Customizer: This way, the styles remain local to each page without causing conflicts with future updates.
body.page-id-123 {
background-color: #e0e0e0; color: #111;
}