I added a redirect code to my admin-functions.php file and now I can not login to my admin page... This is the code I entered at the very bottom. Is there anyway I can get back
As Ken says.
If you saved a copy of the entire php code file into a notepad file (always a good idea before you make changes in any code file), then you can copy and paste it back in via wp admin, save it, and it should reset everything.
If that's not possible, and if what Ken suggests is not working, I would put in a hosting support ticket (if you're hosting at WA):
https://my.wealthyaffiliate.com/websites/support
~Jude
Thank you for your response...However, I can not get into the wp admin page. It will not let me login :( I am trying to put in a support ticket but every time I hit send I get an error to fix the first name variable.
I was able to log back into my admin. I think I will stay away from the editor from now on. Thanks for your help
Glad you got it resolved.
If your site is hosted at WA, not sure why you weren't able to put in a WA hosting support ticket.
Since you can log in to the WA community you should always have access to hosting support:
Click on the SiteRubix blue tab in the top left menu > scroll down
to Site Support.
As for editing code files, always copy/paste the original code file into notepad and save it, just in case.
Even better, create a Test site - this could be a siterubix or an unused domain specifically for that purpose. You can play around there and not mess up your main site. How To Create A Test Site ~Jude
Can you use ftp manager to get to your files. if you can you can edit the file and remove the content you added.
How do I use ftp manager? Is that the filezilla I downloaded? I was able to login with my my ftp username and password but when I open the file admin-functions.php file it says this file is deprecated
As I cannot see your site I'm not sure what hosting you're using. If you have access to cpanel you can log directly into that, go to File Manger and click the file you want to edit.
I was able to find the correct file and find what I had edited. Thank you so much for your help
See more comments
I changed my admin-functions.php file, how do I fix this?
I added a redirect code to my admin-functions.php file and now I can not login to my admin page... This is the code I entered at the very bottom. Is there anyway I can get back
Wish we could help. Good luck. I know you need more than that, but you will find someone who can answer your problem.
As Ken says.
If you saved a copy of the entire php code file into a notepad file (always a good idea before you make changes in any code file), then you can copy and paste it back in via wp admin, save it, and it should reset everything.
If that's not possible, and if what Ken suggests is not working, I would put in a hosting support ticket (if you're hosting at WA):
https://my.wealthyaffiliate.com/websites/support
~Jude
Thank you for your response...However, I can not get into the wp admin page. It will not let me login :( I am trying to put in a support ticket but every time I hit send I get an error to fix the first name variable.
I was able to log back into my admin. I think I will stay away from the editor from now on. Thanks for your help
Glad you got it resolved.
If your site is hosted at WA, not sure why you weren't able to put in a WA hosting support ticket.
Since you can log in to the WA community you should always have access to hosting support:
Click on the SiteRubix blue tab in the top left menu > scroll down
to Site Support.
As for editing code files, always copy/paste the original code file into notepad and save it, just in case.
Even better, create a Test site - this could be a siterubix or an unused domain specifically for that purpose. You can play around there and not mess up your main site. How To Create A Test Site ~Jude
Can you use ftp manager to get to your files. if you can you can edit the file and remove the content you added.
How do I use ftp manager? Is that the filezilla I downloaded? I was able to login with my my ftp username and password but when I open the file admin-functions.php file it says this file is deprecated
As I cannot see your site I'm not sure what hosting you're using. If you have access to cpanel you can log directly into that, go to File Manger and click the file you want to edit.
I was able to find the correct file and find what I had edited. Thank you so much for your help
See more comments
Can someone please help? I am trying to run the plugin wp-client but when I enter the API key i received, after paying for plugin on developers site, I get an error that it cou
Hi Alexis2205. Are there any specific installation instructions?
The support site for this plugin offers an option to submit a support ticket if you are having trouble:
https://wp-client.com/support/
How to connect to host for wp-client plugin?
Can someone please help? I am trying to run the plugin wp-client but when I enter the API key i received, after paying for plugin on developers site, I get an error that it cou
Hi Alexis2205. Are there any specific installation instructions?
The support site for this plugin offers an option to submit a support ticket if you are having trouble:
https://wp-client.com/support/
Wish we could help. Good luck. I know you need more than that, but you will find someone who can answer your problem.