ProjectArmy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp-admin: Sorry, you are not allowed…Are you’re able to visit
/wp-login.phpand login (that’s when you see this error)? Or is it the same thing?^V
Not affiliated with Sucuri, but wanted to share some info. It’s very rare that hackers will leave only 1 file/backdoor. They will infect multiple and/or upload multiple files, so when you delete one they have others to fall back on. You would need to make sure you don’t have any other infected files or files that don’t belong with WordPress. They can be anywhere, in any directory.
If you use cPanel hosting, some hosting providers enable “virus scan” feature. If you have it, try using it and see if it picks up anything malicious.
You can also try downloading all files as zip file, then running a scan on your computer with your own antivirus. Some antivirus programs do pick up malicious code.
Also, make sure your core, plugins and theme are all up-to-date.
Lastly, you can try using your access.log to try to figure out where/how hacker keeps uploading files to your hosting account. You need to look for entries related to the hacked file being uploaded, if someone is accessing it or posting to it. Stuff like that. Not easy, especially if you have a lot of traffic.
Oh, and make sure you update all your passwords… not only WordPress, but also FTP, cPanel, hosting account, etc. Just to be sure.
^V
Forum: Fixing WordPress
In reply to: Blog Images in Google Images?It’s up to Google to index images. If they decide to index them, they will. If they don’t, they won’t. However, you can try and nudge Google to index more images by using image sitemap – which you would submit to Google Search Console. This would help Google see more images, but again it’s not guaranteed they will index them.
You can try this plugin to create image sitemap:
https://en-ca.wordpress.org/plugins/advanced-image-sitemap/^V
Forum: Fixing WordPress
In reply to: Media Security Plugin SuggestionsThere’s no plugin that I’m aware of, but you can do something like this using .htaccess and depending on how secure you want it to be with a little bit of PHP.
Here’s a good tutorial on how to protect it:
https://wordpress.stackexchange.com/questions/37144/how-to-protect-uploads-if-user-is-not-logged-in^V
Forum: Fixing WordPress
In reply to: 404 error for inner pages after installing SSL“Mod Rewrite” is an Apache module, it’s not available through Nginx. All rewrites on Nginx are handled by nginx.conf file. This is also where you would enable HTTPS.
Here are some articles relevant to your situation:
Nginx configuration for SSL:
https://www.digicert.com/ssl-certificate-installation-nginx.htmWP Super Cache nginx configuration:
https://gist.github.com/adeubank/e12ede1d15c23f77fd37Also, make sure you’ve updated your database and home/site URLs to use HTTPS version.
I would recommend setting up Really Simple SSL plugin, to make sure SSL is working with your WP correctly. Installing this plugin won’t fix your 404 issues, you still need to troubleshoot your nginx.conf file using articles above. But after you fix it, consider using this plugin.
^V
Forum: Fixing WordPress
In reply to: 500 Error – when trying to change the domain nameYou said you purchased domain from wordpress.com. In order to use self-hosted WordPress and be able to access it from the domain you bought, you will need to point your DNS records to your hosting company’s IP address. Wherever your LAMP server is hosted, actual server.
Keep in mind, wordpress.com has nothing to do with self-hosted WordPress. It’s 2 completely different things. The only reason wordpress.com is part of this situation is because you bought domain from them.
So, back to your LAMP server. When you set it up, and installed WordPress – were you able to access WordPress using a temporary URL or IP address before making changes to wp-config.php? I just want to make sure everything worked fine, without any 404/500 errors.
^V
Forum: Fixing WordPress
In reply to: 500 Error – when trying to change the domain nameI want to make sure I understand. Where exactly did you setup self-hosted WordPress following those instructions? Does your computer use Ubuntu OS and that’s where you set it up, or do you have a LAMP server?
When it comes to change of address and change of hosting provider, your domain’s DNS records must be updated to reflect the new IP address. Or you can use your new hosting provider’s nameservers to point domain to their servers.
When you updated wp-config.php WP_HOME and WP_SITEURL, you would have to change your DNS records too to point domain to your new server… away from WordPress.com. No DNS changes is the reason why you kept going to WordPress.com site. You can read more about DNS changes in WordPress.com here:
https://en.support.wordpress.com/domains/custom-dns/^V
Forum: Fixing WordPress
In reply to: Login Fails – Always returns to login pageFirst, have you tried clearing your browser cache/cookies? Sometimes they can cause login issues.
Second, what type of hosting do you have? Few weeks ago, I saw same login issue with one of our clients on a VPS and it turns out that his disk space was full. After deleting some files, login began working just fine. If you’re on shared hosting, this is most likely not the case.
^V
Forum: Fixing WordPress
In reply to: Getting 404 when trying to access admin siteIf you want to try replacing wp-login.php, you can download fresh copy of WordPress, unzip it, then delete wp-login.php in cPanel and upload the fresh version from your computer. You can download latest copy here:
https://wordpress.org/download/This is a long shot, if it doesn’t work you’ll need to disable all plugins as I described in my previous answer.
Forum: Fixing WordPress
In reply to: Getting 404 when trying to access admin siteYes, I do see that it’s not working. Our next step would be to disable all plugins via FTP, to see if any of them cause this issue. Do you have FTP access or access to control panel like cPanel for hosting? This is how you access actual files of the website.
^V
Forum: Fixing WordPress
In reply to: Lost All Media Files– BUT the are in files for siteNo sorry, I don’t know if there’s a way to attach files to posts they are used on.
^V
Forum: Fixing WordPress
In reply to: Lost All Media Files– BUT the are in files for siteWhen you upload files through media library, WordPress tags them in database. If database is reset, files will remain on the server but WordPress won’t “see” them.
What you need is this plugin Add From Server. You’ll need to specify where your files are, then this plugin will help you add them to database so WordPress can “see” them.
https://wordpress.org/plugins/add-from-server/^V
Forum: Fixing WordPress
In reply to: Getting 404 when trying to access admin siteLet’s see if I can help.
The typical login URL is
example.com/WP login.php. Is this what’s showing 404 error?If yes, it’s possible that it was hidden by a security plugin. So the URL is custom. Do you know if any security plugins are installed?
Since you also did an update recently, try checking out this help article:
https://codex.wordpress.org/Login_Trouble#New_Login_File^V
Glad to hear you were able to get in. Do mark this thread as resolved if you get a chance.
^V
Forum: Fixing WordPress
In reply to: Starting with a new theme – How to?You’re right, it would be far more helpful to have a developer help you complete this project.
It’s hard to say why your plugins never had any updates, many different reasons.
When developing an existing site it is helpful to clone it either to your local computer (requires more advance knowledge) or clone it to a sub-domain on your existing hosting account (easier).
When you do pick a theme, you should setup child theme. Many themes come with one. Child theme ensures that changes made are not overwritten when you update parent theme. Child theme allows you to copy files from parent theme to modify. If WP sees a file like header.php in child theme directory it will use it, ignoring header.php in parent directory. If no file present in child theme directory, then it uses files from parent theme directory.
If you hire developer you should make sure they create child theme and do not edit files in parent theme directory.
You can check out marketplace like upwork.com where you can post a job and receive bids from developers. Either fixed price or hourly work.
Another similar marketplace is freelancer.com.
It’s hard to say how much this would cost because price varies depending who you hire and where they are located.
Hope that helps.
^V