MBWD
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 404 error after sub-directory install and server moveI created a file structure in my new CPanel account that mirrors the file structure on the old host. That is, on the new server, in the www directory of my CPanel account, I created a subdirectory of the same name as the subdirectory where WP is installed on the old server. I copied all WP files from oldserver/www/subdirectory to newserver/www/subdirectory. Then I copied .htaccess and index.php from newserver/www/subdirectory and placed them in root.
I exported the database from the old CPanel/phpMyAdmin account and imported it into the new one. That went off without a hitch and the database is obviously properly connected.
I have double-checked that the home and siteurl entries in the imported database are identical to the original. I’ve also verified that the .htaccess and index.php files in both versions of the site are identical, with one exception, as follows:
In the original root-level index.php was this line:
‘require(‘./subdirectory/wp-blog-header.php’);’
According to the Codex, this is incorrect. I changed it in the new root-level index.php to read:
‘require( dirname(__FILE__ ) . ‘/subdirectory/wp-blog-header.php’);’
(Note: the subdirectory is not actually named ‘subdirectory’.)
I tried changing it back to match the original just in case that was the problem, but the 404 continues no matter which version of that line I use.
Nothing else anywhere in the site files has been changed or renamed.
Forum: Fixing WordPress
In reply to: Default WordPress theme accidentally deleted. What to do?You can always just download the default themes from WordPress again and reinstall them. Here is twentyfifteen: https://wordpress.org/themes/twentyfifteen/
The others are just as easy to get.
Forum: Fixing WordPress
In reply to: How can I disable two-factor authentication?Can you please post a link to your site?
Forum: Fixing WordPress
In reply to: Site not opening, browser showing 501 redirect errorVery glad to help.
Forum: Fixing WordPress
In reply to: Site not opening, browser showing 501 redirect errorI’m not sure what you mean by “through my laptop”, but if you have some method of uninstalling the plugin, such as through CPanel, do that. Renaming it will disable it, so you don’t have to upload it again until you know whether or not it’s the problem. The point of all this is to get HelloBar to stop working so you can see if your problem continues. If it stops, chances are good that HelloBar is the culprit.
Forum: Fixing WordPress
In reply to: WordPress unknown admin users.Wordfence allows you to block anyone who tries to sign in with a username that doesn’t exist. I highly recommend that you enable that feature. Also, read this article and put it into practice so this never happens to you again: http://codex.wordpress.org/Hardening_WordPress
Forum: Fixing WordPress
In reply to: WordPress unknown admin users.Yes, you can delete them. And I would change your password again to be safe.
Forum: Fixing WordPress
In reply to: Site not opening, browser showing 501 redirect errorIf you are able to access your site files through FTP or CPanel, rename this plugin “HelloBar-disabled” and then try to log into your site again. If you can do so, you know that it was the problem. If not, then the next step would be to disable all plugins and see if you can get in then.
Forum: Fixing WordPress
In reply to: Site not opening, browser showing 501 redirect errorI am able to see your site with no problems. Do you get the error when you try to view it, or when you try to log in?
Forum: Fixing WordPress
In reply to: Whats going on? Hacked? Words have been switch to hieroglyphicsWhat was the problem?
Forum: Fixing WordPress
In reply to: unable to login and need to uninstall a pluginDo you have access to the site files via FTP or CPanel?
Forum: Fixing WordPress
In reply to: Whats going on? Hacked? Words have been switch to hieroglyphicsMy next suggestion would be to actually disable that plugin and see if the problem goes away. It’s hard for me to say beyond that what it might be, but that is where I would start.
Forum: Fixing WordPress
In reply to: New user backend greyed outThe next step that is usually suggested at this point is to actually disable all plugins and then see if the problem goes away. If it does, re-enable each one and then see if it returns. If it returns after enabling a specific plugin, there is most likely a conflict. This is the most common source of site malfunctions, so it makes sense to start there first.
Forum: Fixing WordPress
In reply to: How to use shortcodes properly?Er, I beg your pardon. Your PHP WILL say do_shortcode but the name of the shortcode within the parentheses and quotes will depend on the plugin. It will not actually say ‘shortcode’. Hope that didn’t confuse anybody.
Forum: Fixing WordPress
In reply to: How to use shortcodes properly?Your PHP do_shortcode will not actually say do_shortcode. That is just a placeholder for the actual function that you will put there.
However, I got the feeling you wanted to know how to put a shortcode on the HTML page in your dashboard. To do that, you would just go to where you normally enter text, in the Text view, and type [shortcode]. BUT–you don’t actually type the word shortcode! You type the command that the specific plugin gives you.
For example, when I want to use the Stripe plugin, I will type [stripe] and it will appear. When I am running my events calendar, I will type [calendar]. It depends on the plugin.
Again, this will only work on pages when you are logged into your dashboard. It won’t work in a PHP file.