milesweb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 403 error on ALL admin functions of a new installationIt seems like the 403 Forbidden error could be caused by a variety of issues, but let’s go through some troubleshooting steps to identify and resolve the problem:
1.Check File and Directory Permissions:
Ensure that the file and directory permissions are set correctly. Typically, directories should have a permission of 755, and files should have a permission of 644.2.Check Ownership:
Make sure that the files and directories are owned by the correct user and group. You can use the following commands to set the correct ownership:
chown -R yourusername:yourgroupname /path/to/your/wordpress/installation
Replace “yourusername” and “yourgroupname” with the appropriate values.3. Check .htaccess File:
Even though you mentioned checking the .htaccess file, it’s worth checking again. Make sure no unusual configurations are causing the 403 error.A standard WordPress .htaccess file looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </Ifmodule> # END WordPress
4. Check Mod_security:
Some hosting providers have mod_security enabled, which can block certain requests. Contact your hosting provider and inquire about mod_security settings. They might be able to whitelist certain rules or provide guidance on adjusting the settings.
If you have a cPanel OR Directadmin Panel you can disable mod_security for your domain.5.Review Server Logs:
Check your server logs for any error messages. The logs are usually located in the /var/log directory. Look for entries related to the 403 error, and they may provide more details on what is causing the issue.
Generally, the servers with control panel may have different path for log files, you can check with your hosting provider.6.Temporary Deactivation of Security Plugins:
If you have any security plugins installed, temporarily deactivate them to see if they are causing the issue. Sometimes, security plugins can be overzealous and block legitimate actions.After going through these steps, you should have a better idea of what might be causing the 403 Forbidden error. If the issue persists, consider reaching out to your hosting provider’s support for assistance, as they may be able to provide specific information about server configurations.
Forum: Fixing WordPress
In reply to: Cannot access login/admin dashboard entirelyHello,
If you are encountering a 403 Forbidden error when trying to access the WordPress admin dashboard, there are several potential causes for this issue.
Here are some steps you can take to troubleshoot and resolve the problem:
Check File Permissions:
Ensure that the files and directories in your WordPress installation have the correct permissions. The recommended permissions for directories are usually 755, and for files, it’s 644.Check .htaccess File:
The .htaccess file in your WordPress installation may be causing the issue. Backup your current .htaccess file and then try replacing it with a default WordPress .htaccess file. You can find a default .htaccess file on the WordPress website.Deactivate Plugins:
If you have access to your site’s files, you can deactivate plugins by renaming the “plugins” directory in the wp-content folder. This will deactivate all plugins, and you can then check if the issue persists.
If it resolves the problem, reactivate each plugin one by one to identify the problematic one.Review Error Logs:
Check the error logs on your server for more information about the 403 error. This can provide insights into the specific cause of the issue.Remember to always backup your website before making significant changes to files or configurations.
Regards,
MilesWeb.Forum: Networking WordPress
In reply to: Domain transfer from one active site to anotherHello @aldenzuck
If you intend to replace app.boostboxpr.com with boostboxpr.com, you must first remove your current site boostboxpr.com from the Multisite configuration. Alternatively, you can temporarily rename it with another domain. Afterward, you can proceed with the following steps to switch your subdomain app.boostboxpr.com with boostboxpr.com.
Update Site Address:- Log in to your WordPress dashboard.
- Navigate to “Network Admin” > “Sites.”
- Select the site you want to update (in this case, the site on the subdomain app.boostboxpr.com).
- Click on “Edit.”
- In the “Site Address (URL)” field, update it to your new domain (boostboxpr.com).
- Save the changes.
- Update Home and SiteURL in Database:
- Access your WordPress database, either through phpMyAdmin or another database management tool.
- Locate the
wp_options
table. - Update the
siteurl
andhome
options to the new domain (boostboxpr.com).
- Update Permalinks:
- Go to “Settings” > “Permalinks” in your WordPress dashboard.
- Save the permalink settings again to ensure they are updated for the new domain.
- Update .htaccess and wp-config.php:
- Check your .htaccess file for any domain-specific configurations and update them.
- Update the
DOMAIN_CURRENT_SITE
constant in your wp-config.php file if necessary.
- Search and Replace in Database:
- Use a search and replace tool to replace instances of the old domain with the new one in the database. Tools like “Better Search Replace” can help with this.
- Update Content and Links:
- Manually check your content, widgets, menus, and theme settings for any hardcoded references to the old domain and update them accordingly.
- Manually check your content, widgets, menus, and theme settings for any hardcoded references to the old domain and update them accordingly.
Forum: Networking WordPress
In reply to: How to fix 404 error in the site?Hello,
A 404 error on a WordPress site typically means that the requested page could not be found on the server. Here are some steps you can take to fix a 404 error on your site:Update .htaccess File:
Sometimes, the .htaccess file may be corrupted or not configured properly. You can try updating it. Go to “Settings” > “Permalinks” and click “Save Changes” again. This will regenerate the .htaccess file with the correct rules.Check File and Folder Permissions:
Incorrect file and folder permissions can lead to 404 errors. Verify that your files and directories have the correct permissions. Typically, folders should have a permission of 755, and files should have a permission of 644.Recreate Missing Page/Post:
If the 404 error is specific to a particular page or post, consider recreating it. Sometimes, the content may have been accidentally deleted or not properly published.Check for Plugins and Themes Conflicts:
Deactivate all plugins and switch to a default WordPress theme (like Twenty Twenty-One). If the 404 error goes away, reactivate your plugins and theme one by one to identify the culprit.Inspect Server Configuration:
If your server is not configured correctly, it may lead to 404 errors. Ensure that your server has the necessary modules enabled and configured for handling WordPress.Use a Redirect Plugin:
If you’ve changed the URL of a page, you can use a redirect plugin to create a 301 redirect from the old URL to the new one.Check the Permalink Structure:
Make sure your permalink structure is set up correctly. Go to “Settings” > “Permalinks” in your WordPress dashboard, and choose a common permalink structure like Post Name. Click “Save Changes” to update the permalink structure.Clear Browser Cache:
Sometimes, the issue may be related to cached files in your browser. Clear your browser cache and try accessing the page again.Regards.
Forum: Fixing WordPress
In reply to: Warning Errors after installing Theme- Based on the error, you should get in touch with the theme provider. Confirm with them which PHP version works with the plugins mentioned in the error. Apply that PHP version to fix the error.
- If the problem continues, try reinstalling the mentioned plugins and then check if the website is working or not.
Forum: Networking WordPress
In reply to: Domain transfer from one active site to anotherTo redirect from
boostboxpr.com
toapp.boostboxpr.com
using PHPMyAdmin, you can follow these steps:- Access PHPMyAdmin: Log in to your PHPMyAdmin interface.
- Select Database: Choose the database associated with your WordPress multisite installation.
- Find wp_options Table: Locate the
wp_options
table in the list of tables for your database. - Edit Site URL and Home URL: Look for the rows with the option names
siteurl
andhome
in thewp_options
table. Edit these rows to set the values tohttps://app.boostboxpr.com
.- Find the row with
option_name
assiteurl
. - Click on the “Edit” button (usually a pencil icon).
- Change the
option_value
tohttps://app.boostboxpr.com
. - Save the changes.
home
option. - Find the row with
- Clear Cache: If you have any caching plugins or server-side caching, clear the cache to ensure the changes take effect.
- Update .htaccess: If not done already, update your
.htaccess
file to handle the redirection. Add the following lines at the beginning:apacheCopy code<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^boostboxpr\.com [NC] RewriteRule ^(.*)$ https://app.boostboxpr.com/$1 [L,R=301] </IfModule>
This code will redirect all requests fromboostboxpr.com
tohttps://app.boostboxpr.com
. - Test the Redirection: Open your browser and visit
boostboxpr.com
to confirm that the redirection is working as expected. Ensure that all pages and resources are redirected correctly. - Update Permalinks (Optional): Go to the WordPress admin dashboard of
app.boostboxpr.com
, navigate to “Settings” -> “Permalinks,” and click “Save Changes” to refresh the permalink structure.
Remember to take a backup before making any changes in the database, and ensure that you are comfortable working with PHPMyAdmin.
Forum: Fixing WordPress
In reply to: Site warning after migrating site to a new host/serverThe warning “Cannot modify header information – headers already sent by” in WordPress often occurs when there is unintended output (whitespace, HTML, or other content) before the headers are sent. To resolve this issue, you can follow these steps:
- Check for Whitespace: Ensure that there is no whitespace before the opening
<?php
tag or after the closing?>
tag in your theme’sfunctions.php
file. - Deactivate Plugins: Temporarily deactivate all plugins and check if the issue persists. If the warning disappears, reactivate each plugin one by one to identify the culprit.
- Switch to Default Theme: Switch to a default WordPress theme (e.g., Twenty Twenty-One) to see if the problem is related to your current theme.
- Check for BOM (Byte Order Mark): Make sure there is no BOM in your files. Some text editors add invisible characters that can cause this issue.
- Review Recent Changes: If the problem started after making changes, review the recent modifications made to your theme or plugins.
- Error Reporting: Enable error reporting in your
wp-config.php
file by adding the following lines:phpCopy codedefine('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
This will log errors to a debug.log file in the wp-content directory. - Verify functions.php File: Examine the file mentioned in the warning (functions.php:6805) and check for any syntax errors or unexpected output.
- Check Theme Files: Review other theme files, such as header.php and footer.php, for any unintended output.
- Header Redirects: If you are using
header()
redirects, ensure they are placed before any HTML content or output. - Reupload Core Files: If the issue persists, reupload the core WordPress files from a fresh download, as some files may have become corrupted.
After following these steps, you should be able to identify and resolve the issue causing the “Cannot modify header information” warning.
Forum: Installing WordPress
In reply to: Installation problemsHave you examined your .htaccess file? Consider adding the default one below:
# BEGIN WordPress RewriteEngine On RewriteRule .\* - \[E=HTTP\_AUTHORIZATION:%{HTTP:Authorization}\] RewriteBase / RewriteRule ^index\\.php$ - \[L\] RewriteCond %{REQUEST\_FILENAME} !-f RewriteCond %{REQUEST\_FILENAME} !-d RewriteRule . /index.php \[L\] # END WordPress
Additionally, upgrading your PHP version is recommended for better performance and security. If you encounter further issues or need more specific guidance, sharing a screenshot of the problem can help provide a more accurate solution.
Forum: Fixing WordPress
In reply to: [NSFW] How wordpress connect Cloud SQL’s MySQLAttempt to establish a Telnet connection from your web server to the database server using the provided command. This is to verify that the database server is configured to accept remote connections.
telnet 34.142.133.130 3306
Additionally, ensure that you have allowed remote MySQL connections for DB user.
If you provide some context as to what you are attempting to achieve with MySQL SSL files, we may be able to provide some solutions.Forum: Networking WordPress
In reply to: Ranking of articles after 301 redirectHi,
We are delighted for the help.
Warm Regards,
MilesWeb!
Forum: Developing with WordPress
In reply to: Need help to make simple form funtionFor which form do you want to add a custom redirect?
On the page you shared, there is a “Track” button, but you want to track the “Submit” button.
Here is the general answer on your query:
Choose a WordPress Plugin:
WPCargo: Consider this plugin specifically designed for cargo tracking features. It offers built-in form functionality and redirection options tailored for tracking purposes.
https://www.ads-software.com/plugins/wpcargo/Contact Form 7: Popular, free, but requires manual setup.
Use a plugin like “Contact Form 7 Redirection“
www.ads-software.com/plugins/wpcf7-redirect/
contactform7.com/redirecting-to-another-url-after-submissions/Forum: Networking WordPress
In reply to: Ranking of articles after 301 redirectHi there!
Change in ranking is normal considering the digital competitive world we live in now. But there is nothing that we cannot do to improvise ??
Google algorithm changes significantly everyday and keeps on evolving. These updates impact overall gradation structure. A significant change in the URL’s and page structure, may take some time for re-evaluation of the content and its relevance as Google algorithm starts anew with the indexing and go through all the URLs and pages to bring best results.
Crawling and indexing the new URLs may take time. A few weeks to a few months is expected time. We suggest to monitor the crawling in the Google Search Console to keep track of the activities and for any updates from Google. If there is/ are any page(s) or URL(s) that may require your attention, Google will provide you some information. You may make changes accordingly.
As this is a competitive digital world, we believe the competitive field has also evolved. Users tend to keep on improving their content & optimizations to stay on top in the competition. This may impact your ranking.
Go through your Google Search Console to keep track of the changes and results.
Warm Regards,
MilesWeb!
Forum: Fixing WordPress
In reply to: Is this malware?Hello,
Can you check if there are any malicious files present under your account and you have missed cleaning them? Also, you can check if there is any cronjob running that keeps injecting the malicious code and check for any malicious processes as well.
Forum: Fixing WordPress
In reply to: Image Upload Issue on WordPress WebsiteReview your server error logs for more detailed information about the issue. Server logs can provide insights into what went wrong during the image upload process.
Forum: Developing with WordPress
In reply to: Confusion about subdomainsHi @roger,
Setting up WordPress for subdomains with a document root located outside of public_html should not pose any problems.
You’ve already tried using Duplicator Pro, If these methods didn’t work for you, here’s a general guide on how you can manually move your WordPress installation from the primary domain to a subdomain:
Note: Before making any changes, it’s always a good idea to back up your website to prevent data loss.
Steps to Manually Move WordPress to a Subdomain:- Backup Your Website:Use a backup plugin like UpdraftPlus or any other method provided by your hosting provider to create a backup of your entire WordPress site.
- Create a Subdomain:Log in to your hosting control panel and create a subdomain where you want to move your WordPress site.
- Copy Files:Connect to your server using FTP (File Transfer Protocol) or use the File Manager in your hosting control panel.Copy all the files from the current WordPress installation on the primary domain to the directory of the newly created subdomain.
- Export Database:Export the database of your primary domain using tools like phpMyAdmin or any database management tool provided by your hosting provider.
- Create a New Database:In your hosting control panel, create a new database for your subdomain.
- Import Database:Import the database backup you made earlier into the new database you created for the subdomain.
- Update Site URL in the Database:Open the database using a text editor or a database management tool.Look for the
wp_options
table and update thesiteurl
andhome
values to match the new subdomain URL. - Update wp-config.php:In the subdomain’s WordPress directory, find the
wp-config.php
file and update the database connection details if necessary. - Update Permalinks (Optional):Log in to the WordPress admin panel of your subdomain and go to Settings > Permalinks. Save the permalink settings to refresh the links.
- Test the Subdomain:Visit your subdomain in a web browser to check if everything is working as expected.
- Update Links (Optional):If your content contains absolute links pointing to the primary domain, you might need to update them to the subdomain manually.
I trust that this will assist you in resolving the issues with your subdomain.