Emerson Maningo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: bluehost/ww.wp.xz.cn/.comThat depends on whether you can control your free domain name. Basically if you have access to the domain settings, you can configure the name server to point to your Blue Host instead of WordPress.com.
So that when a user access your site in the browser, it will load the site from Blue Host and not from WordPress.com. There are lot of tutorials in the Internet on how to change the domain name server (NS). I believe your domain registrar or Blue Host will have that one.
Site registration is a feature that’s already built-in inside multisite core. It needs to be enabled, you can checkout this tutorial by WPMU: https://premium.wpmudev.org/blog/wordpress-multisite-masterclass-user-site-registration/
Through site registration, you give an option to your user to create a site when they register. I’m not sure there is a plugin to handle this that provides greater flexibility and customization. I didn’t find any in the plugin repo.
Forum: Fixing WordPress
In reply to: 5 comments looks like spamWell if you think its spam, you can delete it. You can install Akismet and configure it to work with your site. It’s much easier handling this automatically than removing those spam manually.
Forum: Fixing WordPress
In reply to: Problem 404 error instead of redirecting to the correct pageThe lines you added on the wp-config.php can be removed, its meant for testing only and should not cause other issues.
Sorry I don’t have anymore ideas on fixing this, maybe other volunteers here will jump in.
Forum: Fixing WordPress
In reply to: Website is broken..I looked up your site and I think the issue is a wrong CDN configuration. The product images are pointing to your CDN incorrectly.
For example:
https://www.krezicart.com/wp-content/uploads/https://ae01.alicdn.com/kf/HTB1UPtRNVzqK1RjSZFvq6AB7VXaw.jpg_350x350.jpglooks not right. It should be:https://ae01.alicdn.com/kf/HTB1UPtRNVzqK1RjSZFvq6AB7VXaw.jpg_350x350.jpgif you want to render images from CDN correctly.As a quick troubleshooting / fix, you can turn off the CDN via W3TC total cache, clear your site cache and browser cache and re-test. And check if you have now the images rendered from your site.
Otherwise you really need to fix that CDN image path to render it correctly.
Please review the CDN settings or your CDN hosting configuration.
Forum: Fixing WordPress
In reply to: Problem 404 error instead of redirecting to the correct pageIs this parent theme? If it is hard-coded in the parent theme template, then it might be a bug inside the theme. Did you try contacting the theme author? You should inform the theme author on this. There is a hard coded code inside the theme that broke links in the site.
If you are not using a child theme, you can try to create a child theme: https://developer.ww.wp.xz.cn/themes/advanced-topics/child-themes/ to see if you can override the problematic theme template with a fixed template of yours.
Child theme is a recommended solution to customize parent theme or to change something with the parent theme template. You can control this and the changes won’t be overridden by theme updates.
Other things I suspect is that you might have wrong site URL in the database. This can result to 404 errors. What I would suggest is to add this to wp-config.php for testing purposes to see if fixes your 404 errors:
define( 'WP_SITEURL', 'http://replacewithyourdomain.tld' ); define( 'WP_HOME', 'http://replacewithyourdomain.tld' );Replace
replacewithyourdomain.tldwith the domain you are testing.
If its already added in wp-config.php but incorrect, please revise it and test again.If that still don’t work, I would suggest keeping in touch with your theme author for this issue.
Forum: Fixing WordPress
In reply to: How do I center the content on my websiteIt looks centered to me at least. Your main content is wrapped in
hm-containerdiv container. When I inspect, its 1200px wide and there is a 40px equal padding in both left and right. I see two inner divs wrapped inside this container, its the content and the sidebar.It appears slightly to the left because of how your content is displayed. You only have content but you don’t have sidebar. The empty sidebar only consumes white space.
Forum: Fixing WordPress
In reply to: Home Cache Error?Check if you have activated any caching plugin and deactivate it first. Clear your browser history and re-test.
If you see the updated web in your own computer, you could be hard coding the IP address of the site. And you are editing the latest site. But the entire web does not yet know about your new site. Have you configured your site name server correctly? Is it pointing to the correct IP address?
Try pinging your site in other computers, does it return the same IP address in any computers?
Other things to look at is when you have a cache folder or cache plugin files in your
wp-contentdirectory. Backup your site first and then try deleting these files.And check your wp-config, that you don’t have any line in there that defines cache to true.
Forum: Fixing WordPress
In reply to: Problem 404 error instead of redirecting to the correct pageCheck how its being outputted. It is using a custom shortcode, or hard coded in the theme template, or hard coded inside a content?
I suspect that its using relative URLs. It’s why its not resolving correctly to absolute full URLs in some cases causing that issue.
Once you see how its outputted, you can change to point to full URLs and test again.
Forum: Fixing WordPress
In reply to: Elementor Won’t Load (It Was Working Earlier)This could be a bug inside Elementor. It’s because the plugin function
sanitize_settingsis expecting array as the data type for the first argument. But exactly happens is that its possible a string could be given.To fix this, is to inform the Elementor developer regarding this issue and provide some steps to reproduce.
I’ve used IIS with WordPress and never encounter permission issues related to updating. It’s possible there is some configuration issue.
Have you tried following this guide?
https://www.customfitonline.com/news/2013/6/20/solve-wordpress-on-windows-server-problems/
These users should given full access: IUSR & IIS_IUSRS. Beyond this, I could not offer any other better solution, you can try raising this issue to Microsoft IIS community support.
Forum: Fixing WordPress
In reply to: MIGRATION – 2 websites, different hosts, same domainIf the site transfers to new hosting, it requires changes to DNS to point to the new hosts. Assuming this is already done, the problems you are seeing is might be due to DNS propagation It’s not yet completely resolving to your new hosts. It could by the installer.php file is not being located. Give it a few hours or at least a day to completely propagate.
You can check the progress by doing a ping to the website. Check the IP address that is being returned by the ping command if its still the old host or the new host. With this you will know if there is something wrong with the domain DNS configuration.
If you are sure that the IP address of the site is now pointing to the new hosts, then re-run the duplicator script and see how it goes.
Forum: Networking WordPress
In reply to: Multisite migrationIf you are migrating to a multisite manually, you should use correct prefix to be appended to the site. Depending on how you are doing this, this can be a complex procedure as it involves a lot of things in the process which can cause a lot of issues with your site.
The correct prefix is being added by WordPress the moment the site is created in multisite (e.g. in
Site -> Add new site). If you migrate to this site, the prefix should still be preserved and still correct. It should not change.I would suggest to use a multisite migration plugin in this case, which handles the process automatically and correctly.
Forum: Developing with WordPress
In reply to: Filter/multi-taxonomy queryTake a look at documentation for taxonomy parameters in
WP_Query:https://developer.ww.wp.xz.cn/reference/classes/wp_query/#taxonomy-parameters
For example displaying posts from several taxonomies:
$args = array( 'post_type' => 'post', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'movie_genre', 'field' => 'slug', 'terms' => array( 'action', 'comedy' ), ), array( 'taxonomy' => 'actor', 'field' => 'term_id', 'terms' => array( 103, 115, 206 ), 'operator' => 'NOT IN', ), ), ); $query = new WP_Query( $args );Looking at your code example, it does not seem to use
tax_queryparameter.HTTP_USER_AGENTconstant does not exist in your server that’s why you get undefined error. Your theme should be checking if that constant is set before using it on the code. This should remove the error.The error looks coming from a theme. Did you try contacting the theme author regarding this error? Perhaps you can try updating to the latest theme version at your test site to see if its fixed already.
Just a note that you should not edit the parent theme files directly as this would be overwritten by theme updates. You should be using a child theme. Here is the link to WordPress documentation: https://developer.ww.wp.xz.cn/themes/advanced-topics/child-themes/