PPCMD
Forum Replies Created
-
@franz1989 I was referring to the plugin as of version 5. Although the plugin was basic, it worked without any issues. It would be great if the previous version could also be regularly updated as newer releases of WordPress may have issues.
Thanks. I cleared my site’s cache and reinstalled the plugin. It is working now. However, I would recommend making a minimal version of the plugin with the earlier features, as it will not be possible to use v5 as it will be outdated.
Forum: Fixing WordPress
In reply to: Cannot login to WordPress Dashboard due to blockage of cookiesCould someone please help me? I cannot understand what the problem is. I tried disabling Wordfence login security on my main site to see if it was causing the issue. Still, nothing changed.
Forum: Fixing WordPress
In reply to: Cannot login to WordPress Dashboard due to blockage of cookies@johnstonphilip Nope, it gives the same error when I try logging in with Internet Explorer or Microsoft Edge. I’m currently using Firefox. There is no issue with the site at my main domain. The sites on the subdomains use the same users database table, so is this linked the problem? It was working perfectly fine earlier.
Forum: Fixing WordPress
In reply to: Enable Auto update for ThemesThanks. I found it and could enable automatic updates.
Forum: Fixing WordPress
In reply to: how to insert a on a particular pageIf it’s HTML5 (or basic HTML that works with WordPress), you should copy the code onto the HTML code of the specific page. If you’re using the classic editor, switch to the Text tab. If you’re using the block-editor (default in the latest WordPress versions), press Ctrl+Alt+Shift+M or select Code Editor.
Forum: Fixing WordPress
In reply to: TRANSFER WEBSITE TO PARENT FOLDER@todi4444
View the wp-config.php file of your website. You’ll find a value named$table_prefix;
. If it’s$table_prefix = 'wp_';
, the database table will be namedwp_options
.Forum: Fixing WordPress
In reply to: TRANSFER WEBSITE TO PARENT FOLDERFirst move your website files to the parent folder. Then, open your website’s database using phpMyAdmin or the software to manage and edit databases. Since you have cPanel installed on your server, you should have phpMyAdmin by default. Go to the table named
wptableprefix_options
. There you will notice two lines namedsiteurl
andhome
under theoption_name
column. Click on Edit and change it to https://www.mywebsite.com. Repeat the same for the other value as well. It should work as it did for me.Forum: Fixing WordPress
In reply to: My website was hacked. What should I do?Thanks. I restored my most recent backup of my site from earlier backups I had made myself. My website is fully normal and I blocked the IP addresses and deleted unused themes.
Forum: Fixing WordPress
In reply to: Site hacked – how to delete/disble 40K Admin usersHi. Sorry that your site was hacked. If you have a backup of your database, remove the
tableprefix_users
andtableprefix_posts
tables. Then restore your old tables. You can also delete everything from the Pages/Posts and Users pages on your WordPress backend and restore your original data from a .XML file.If you have no backup, manually erase the unwanted pages and users from the WordPress backend.
Forum: Fixing WordPress
In reply to: My website was hacked. What should I do?I contacted my host and all they said was it could’ve been due to installing themes and plugins from unauthorized sources which I hadn’t. I had enabled Wordfence to immediately lock out invalid usernames and prevent people from registering as “admin”. Still, somehow it was hacked. Anyway, I created a new child theme and reinstalled the parent theme from the official WordPress website, and deleted all the other themes as they may have been infected. Also, I found the details of the hacker from my email inbox.
IP: 103.140.30.215
Hostname: 103.140.30.215
Location: pakistanWhen I looked up this IP on the internet, I found people have frequently searched for a range of IP addresses out of which this was just one. The complete range is
103.140.30.0/24
, which I blocked.Thanks for all the help. Is there anything else to be done?
Forum: Fixing WordPress
In reply to: Do I need a child theme?Hi. I myself use a child theme on my site and from my experience, it has quite a lot advantages. Using a child theme will let you make customizations to your site without it being deleted when your parent theme is updated. The design of your site still remains the same, but you can override any part of your parent theme and activate your child theme, so that your changes aren’t deleted every time you update your parent theme. I mainly use a child theme to override the default Footer Text of most WordPress themes. Also, an added advantage is that your site’s theme cannot be detected by other sites. If you would like to know how to create a child theme, it is easy. Just create the below two files, add them in a directory named
parent-theme-child
and upload the folder to yoursite/wp-content/themes/.Style.css
/* Theme Name: Twenty Fifteen Child Theme URI: https://example.com/twenty-fifteen-child/ Description: Twenty Fifteen Child Theme Author: John Doe Author URI: https://example.com Template: twentyfifteen Version: 1.0.0 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: twentyfifteenchild */
Functions.php
<?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { $parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); }
Forum: Fixing WordPress
In reply to: Pasting an HTML page copied from a browserThere is no plugin required to write HTML5 code. All you have to do is press Ctrl+Shift+Alt+M to switch to the code editor if you’re using the Block-based Editor. If you’re using the classic editor, switch to the Text tab.
Forum: Fixing WordPress
In reply to: Will a woocommerce store hurt my seo blog rankings?“but may come a level higher than your posts.”- i assume you mean product listings.
correct?
Yep. The link to your store page or your products.
Forum: Fixing WordPress
In reply to: Will a woocommerce store hurt my seo blog rankings?I have been using WooCommerce for a couple of years. From my experience, simply creating a WooCommerce store will not cause an issue with your SEO ranking. It only depends on whether your store or your blog posts have higher traffic. Your posts will still continue to display on search engines such as Google, but may come a level higher than your posts.