Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Thread Starter PPCMD

    (@ppcmd)

    @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.

    Thread Starter PPCMD

    (@ppcmd)

    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.

    Thread Starter PPCMD

    (@ppcmd)

    Could 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.

    Thread Starter PPCMD

    (@ppcmd)

    @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.

    Thread Starter PPCMD

    (@ppcmd)

    @gappiah

    Thanks. I found it and could enable automatic updates.

    If 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.

    @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 named wp_options.

    @todi4444

    First 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 named siteurl and home under the option_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.

    Thread Starter PPCMD

    (@ppcmd)

    @bygosh

    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.

    Hi. Sorry that your site was hacked. If you have a backup of your database, remove the tableprefix_users and tableprefix_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.

    Thread Starter PPCMD

    (@ppcmd)

    @carike

    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: pakistan

    When 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?

    @neptune1

    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')
        );
    }
    

    @grantjb

    There 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.

    @lowead

    “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.

    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.

Viewing 15 replies - 1 through 15 (of 33 total)