Can’t access htaccess [closed]
I found the problem. A hacker placed a backdoor (wp-admin/29) and forced to rewrite the htaccess with it! Thank you for the hint @WebElaine
I found the problem. A hacker placed a backdoor (wp-admin/29) and forced to rewrite the htaccess with it! Thank you for the hint @WebElaine
They aren’t really connected. It’s just a redirect after all. The error means that some code in your website wrongly passes a WP_Error object to wp_kses_no_null(). In your position I’d put something like this into this function for debugging: if ( is_wp_error( $string ) ) { var_dump( $string ); debug_print_backtrace(); } This way you can … Read more
You don’t appear to have a valid SSL cert installed on your server that covers the hostname www.subdomain.example.com, ie. the www sub-subdomain`. The only way to resolve this and not get the browser warning is to install a valid certificate on your server that covers the required hostname. Otherwise, unless the user accepts this invalid … Read more
Access your site via ftp or cPanel/plesk, making sure that hidden-files are visible. Find your .htaccess file. Make a backup on the server by copying & renaming (uploading a .htaccess file with the wrong encoding could break it and make things even worse) Find the lines which start with / look like the following (or … Read more
Enqueue the script or style using wp_enqueue_script() or wp_enqueue_style()
According to the Codex instructions: https://codex.wordpress.org/Changing_The_Site_URL If you add these defines to your wp-config.php define( ‘WP_HOME’, ‘http://example.com’ ); define( ‘WP_SITEURL’, ‘http://example.com’ ); These will override the options saved in your wp_options table, you should then remove the /NewSite suffix from your General Settings page. (Or if wp-admin is accessible now you may be able to … Read more
First, you should not customize anything between # BEGIN WordPress and # END WordPress, it’s just not a good practice. You should add your own rules above WP rules. And you should also make use of some flags, like “L”. # BEGIN Custom <IfModule mod_rewrite.c> Options All -Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !on … Read more
RewriteEngine On RewriteCond %{HTTP_HOST} ^www.oldomain.com [NC] RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]
Did you also change the site URL in the settings? WordPress needs correct settings for these, otherwise the login page on steamsigs.com will still do the post to amazon40.com and you’ll never get the correct cookies set.
Have you tried the Smart 404 plugin? http://wordpress.org/extend/plugins/smart-404/