M. Asif Hossain
Forum Replies Created
-
Hello @bakhodirov,
As far as I see here: https://prnt.sc/QWhHaY_FdgGk PHP memory limit is currently set to 1024M(1GB). This may not be enough for uploading a 2.4 GB file when video processing or other operations are involved. You can try increasing the memory limit to 4GB(4096M).
I suggest updating your
memory_limit
in thephp.ini
file to4G
and then restart your web server (Apache/ZoneOS) to apply the changes.As an example:
memory_limit = 4G
Hello @rompstar,
- I follow official WordPress developer resources which include the code reference, https://developer.www.ads-software.com/
- I use Grammarly to avoid grammar mistakes and spelling.
- Also, I use Online Text Formater to write the text in an appealing format.
Grammarly has some AI integration but the other two have not integrated with AI.
Hello @rompstar ,
Great to hear you can now access the site on
localhost
! As for accessing the site from other computers on your LAN, here are some points to consider:I) Internal DNS/Hosts Setup: It seems that the rewrite rule is kicking in when you’re trying to access it via
https://10.0.0.87
, and it’s trying to redirect tokodiakbrewing.com
. Since you’re using an internal network, your other LAN devices might not be resolvingkodiakbrewing.com
properly.- Try adding an entry to the
hosts
file on your laptop (the one you’re using on the LAN) like
10.0.0.87 kodiakbrewing.com
10.0.0.87 www.kodiakbrewing.comThis will tell your laptop to resolve
kodiakbrewing.com
to the local IP10.0.0.87
instead of looking it up on an external DNS.II) Slow Loading on LAN: If the site is loading slowly when using the LAN IP, it could be related to a few things:
- Check the network speed and see if there are any issues or bottlenecks between the devices.
- If you’re trying to access the site via
https://10.0.0.87
, but your rewrite rules force everything tokodiakbrewing.com
, this might cause a conflict if the browser is looking for valid SSL certificates for the internal IP. This could cause delays. You may want to test without the redirect by commenting out the rewrite rule and checking the loading speed. - Clear your browser cache or try another browser to make sure it’s not using cached DNS information or SSL settings.
About
ALTERNATE_WP_CRON
You asked about the
ALTERNATE_WP_CRON
line:define('ALTERNATE_WP_CRON', true);
This defines an alternate way for WordPress to run its scheduled tasks (CRON jobs). Normally, WordPress relies on visitors to trigger scheduled tasks (like publishing scheduled posts), but if you have issues with CRON not running on time due to low traffic or hosting limitations, this alternate method triggers CRON jobs on every page load.
It’s a fallback mechanism for setups where the default method doesn’t work well. Since you’ve commented it out, WordPress is likely relying on its default CRON setup, which should work fine if you have regular traffic. If you’re not having scheduling issues (like missed scheduled posts or updates), you can leave it commented out.
You can find about
ALTERNATE_WP_CRON
in the official WordPress documentation: Alternative CronHello @rompstar ,
- You’ve set
AllowOverride Limit Options FileInfo
, which is fine for enabling specific types of overrides, but if you want to ensure WordPress works optimally, you might want to setAllowOverride All
. This allows.htaccess
to manage all the necessary directives (like mod_rewrite for permalinks). - The
RewriteRule
you’ve set for forcing HTTPS looks good, but make sure that your SSL certificate is correctly installed and active for bothwww.kodiakbrewing.com
andkodiakbrewing.com
. - The
Require all granted
directive is set correctly, which means access shouldn’t be an issue. However, double-check that file permissions on/srv/www/wordpress
and its subdirectories are correct (755 for directories and 644 for files). - Since you’re able to access the site externally but not via
localhost
or on the server itself, there might be some issues with howlocalhost
is being handled. Review your Apache error logs to see if there’s any additional information being logged when you try to access the site via localhost on your server. - You’ve already shared your
hosts
file, and it looks fine. However, ensure the machine’s/etc/hosts
file includes an entry like:
127.0.0.1 kodiakbrewing.com
127.0.0.1 www.kodiakbrewing.comIf everything else looks fine, and you’re still facing issues, you could try to restart Apache after making the changes:
sudo systemctl restart apache2
Let me know if this helps or if there are still issues to look into!
Hello @rompstar ,
From what you’ve shared, here are a few things you could check to resolve this:
I) Apache Configuration (Virtual Hosts):
- Ensure that your Apache configuration is properly set up to handle requests from both
localhost
and your LAN IP. Sometimes, virtual hosts may be set to listen only to certain IP addresses or domains. Check/etc/apache2/sites-available/000-default.conf
or any custom virtual host configurations for properServerName
orServerAlias
settings. - Also, check that Apache is set to listen to both
localhost
and your LAN IP. You can verify this in/etc/apache2/ports.conf
by ensuring it includes the following:
Listen 80
Listen 443II) Hosts File:
- Your hosts file is likely fine, but just ensure there’s no typo or missing configuration. Since you’re trying to access it from your server itself, ensure
127.0.0.1 localhost
is correctly set and that there are no conflicts.
III) Firewall:
Although you mentioned the firewall is disabled, double-check that no other networking rules are blocking local access (e.g., iptables or any external security service on the server that might restrict loopback requests).
IV) DNS Resolution:
- Given that your site is accessible externally, it’s possible that requests to
localhost
or your LAN IP are being redirected or blocked internally. If you’re using a custom domain likekodiakbrewing.com
, ensure that your DNS settings are correctly resolving to the internal server when accessed from within the LAN. - Try accessing your server via
https://127.0.0.1
instead oflocalhost
directly on the server itself to see if it resolves.
V) WP-Config Settings:
- In your
wp-config.php
, you’ve definedWP_HOME
andWP_SITEURL
ashttps://kodiakbrewing.com
. When you access the site locally vialocalhost
or10.0.0.87
, WordPress may redirect to the domain you’ve set. You could try temporarily changing these values tohttps://localhost
(orhttps://10.0.0.87
) to test whether that resolves the issue:
define('WP_HOME','https://localhost');
define('WP_SITEURL','https://localhost');VI) SSL/HTTPS Configuration:
- You have
FORCE_SSL_ADMIN
set totrue
, which forces HTTPS for admin access. If your SSL is misconfigured forlocalhost
, it could be causing access issues. You can try setting this tofalse
temporarily:
define( 'FORCE_SSL_ADMIN', false );
By testing with these changes and checking your Apache configuration, you should be able to figure out why
localhost
access is failing.Forum: Developing with WordPress
In reply to: hyphen has a negativ impact on SEO?Hello @sacconi,
First of all, this forum is primarily for WordPress-related technical issues, not SEO discussions. For more in-depth SEO advice, you may want to visit a dedicated SEO forum or seek help from SEO professionals.
Based on current SEO practices in WordPress, the hyphen between the page title and site title is quite common and is not inherently negative for SEO. In fact, it’s often used as a separator to make page titles more readable for users and search engines alike. Search engines like Google do not penalize websites for using hyphens as separators in page titles. They often prioritize the relevance and content of the title itself, as well as other SEO factors like meta descriptions, keyword optimization, site performance, and mobile-friendliness.
However, it’s always a good idea to ensure that your page titles are clear, and concise, and include relevant keywords that describe the page content. If you’re concerned about how your titles appear, you can adjust them using an SEO plugin like Yoast SEO or Rank Math to have better control over how they display.
NOTE: I know some basic SEO; I am not an an SEO expert. For further SEO optimization, it’s best to refer to SEO guidelines or consult an SEO expert.
Hello @rompstar,
It seems like your query is missing some important details that could help us in troubleshooting the issue. Could you provide a bit more information about the following?
- Server Configuration: Are you using Apache, Nginx, or any other web server on your Ubuntu setup? Any specific configuration details for virtual hosts or binding?
- Local Network Configuration: Can you access other services or websites hosted on your Ubuntu server from within the LAN? Is this WordPress site the only service facing the issue?
- DNS Setup: Are you relying on any DNS configurations to access your site? For example, are you using a domain name mapped to your localhost or server IP?
- Firewall Settings: Have you checked the firewall rules on your Ubuntu server or network that might block requests from the local network? Are you using UFW or iptables?
- Hosts File: Have you checked whether the
hosts
file on your server or client machines is correctly set up to handle local network access? - Is the issue only with
localhost
?: Can you try accessing the site using your server’s LAN IP, e.g.,https://192.168.0.0
, and see if it works that way?
Forum: Fixing WordPress
In reply to: Image resolution too low, please helpHello @simpie5000,
I hope you are doing well.
As far I see here you are a Elementor Pro user. Therefore, regarding this issue, you should contact Elementor’s official support team directly via: https://elementor.com/support/
According to the www.ads-software.com Forum Guidelines, it is advised Do not post about commercial products
Forum: Everything else WordPress
In reply to: Which one to points?Hello @artwilight ,
Instead of recommending a specific plugin, I suggest you evaluate each based on your site’s needs. You can look into the free versions of Ultimate Member, MyCred, Members and GamiPress, as they offer core features for free and allow you to upgrade as your requirements grow. This way, you can test performance and functionality firsthand before making a final decision.
Please be aware of the www.ads-software.com forum guidelines “Do not post about commercial products“
Forum: Everything else WordPress
In reply to: How do i pass the Total products value to worldpay gatewayHello @1websites,
To share your HTML code properly on the forum, it’s best to avoid posting the raw code directly in your message, as it can break the formatting. Instead, you can use a code-sharing platform like Pastebin or CodePen.- Pastebin: Go to pastebin.com, paste your code there, and share the link in the forum.
- CodePen: Visit codepen.io, create a new pen, paste your code, and then share the pen link in the forum.
Forum: Everything else WordPress
In reply to: after Woocommerce deactivation elementor is not loadingHello @asma89,
Go to Settings > Permalinks and click “Save Changes” without altering anything. This will refresh your permalinks structure. Also, check if the page you’re trying to edit is still published. Deactivating WooCommerce might have changed the status of the page.
If this issue does not resolve then you should reach out WooCommerce and Elementor support.
Free version Support –
Elementor Support for Pro version users –
Forum: Fixing WordPress
In reply to: Phantom update statusHello @abisti,
It sounds like you might be experiencing a stuck update notification, which can sometimes happen due to database inconsistencies or plugin conflicts. Here are a few things you can try:- Go to Dashboard > Updates and click “Check Again” to refresh the update status.
- Clear the object cache if you’re using a caching plugin that includes object caching.
- Try disabling all plugins, then check the update status, and re-enable them.
- Make sure your theme doesn’t need updates, as that could trigger the notification as well.
Forum: Fixing WordPress
In reply to: problems with the Additional CSS section after 6.6.2 updateHello @johams,
It sounds like you might be dealing with a CSS caching issue or possibly a conflict with the Kubio plugin, especially after the recent WordPress 6.6.2 update.
Here are a few things you can try:
- Clear Cache: Make sure to clear your browser cache or use a hard refresh (CTRL+F5 or CMD+Shift+R). If you’re using a caching plugin, try clearing its cache as well. Some hosts also have server-side caching that might need to be cleared.
- Check Plugin Conflicts: Since you’re using Kubio, there could be a conflict. Try temporarily disabling the Kubio plugin to see if the CSS changes are saved properly without it. If the issue is resolved, it might be worth checking for Kubio plugin updates or contacting their support.
- Customizer Conflict: WordPress might not be saving changes if the Customizer (where Additional CSS is inserted) is experiencing issues. Try adding the CSS directly to your theme’s
style.css
file instead to test if it’s working there.
Forum: Developing with WordPress
In reply to: removing hover effect on specific pagesHello @sacconi,
Please include the theme name.
Forum: Everything else WordPress
In reply to: Submit request for delete of www.ads-software.com accountHello @ishwar365,
Deleting your www.ads-software.com account will not impact your existing websites.
But if you use your www.ads-software.com account for things like contributing to WordPress, plugins or themes contributing , participating in forums, or accessing certain services, those activities will be affected by the deletion.