Wordpress: deleted page automatically restored - wordpress

I got this problem on my WordPress site. When I delete the page and also delete it in the trash permanently it automatically restored even though I didn't restore the page. Can someone help me with this?

hope your having a great day ,It seems your issues is a little unclear , Are you able to download your theme and debug it into a local development environment , instead of your live website , you can even try it on a free web-hosting service that offers you a subdomain so you don't break your website
Setting up a local development environment https://www.youtube.com/watch?v=ru3KjHP5vxw
Required
1.Xammp🔗LINK : https://www.apachefriends.org/index.html
2.Wordpress 🔗LINK : https://wordpress.org/download/
Steps:
Download Xampp and wordpress
Install Xampp to C:\
Extract WordPress archive
Copy word press extracted folder to C:\xampp\htdocs
Go to localhost on browser
Click on phpmyAdmin on top right
Choose user authentication from the top tab
Select a new user
Make sure you select create a new database with this username
go to localhost/word press
Install db and start installing word press
create new credentials for word press admin panel
finish installation and login.
Possible fixes for your website
updating WordPress to latest version https://wordpress.org/download/
Plugin conflict with WordPress like a page builder for example Element or
try disabling each plugin one by one to understand which one causes the error by adding a new page if any of those plugins break the page editor
try to reinstall it but backup first .

Related

Uninstall WPS Hide Login

I was working on a project (just for fun) some weeks ago and Ive installed the WPS Hide Login for security purposes. Unfortunately, Ive forgot the admin address and I would like to know how to uninstall this plugin without accessing the control panel (with I do not have access).
It`s possible to do only accessing the phpMyadmin?
Either go to your MySQL database and look for the value of rwl_page in the options table, or remove the rename-wp-login folder from your plugins folder, log in through wp-login.php and reinstall the plugin.
From the project git page

problem mooving woocommerce to another domain

I have a woocommerce website installed and work normally , I want to change the theme without make changes on the website so all still ( products , pages, ...etc) .
I want to copy the same website into another domain to do changes without stop my first website .
this what i have do :
1- copy all files from the old to new website.
2- import database frm the old .
3- past into the new domain all files
4- import the tables of the old database to the new database
5- change the wp-config to work with the new database
6- change the domain into table : wp_options
and i launch the new domain : the first page is ok without errors
but when i enter to preview product i have error that page dosen't exist , and all other pages the same error . can any one help me ??? any ideas ?
When moving a WordPress site a few things to make it easier.
Manually, zip up uploads/plugins/theme or if you have some crazy thing going on wp-content. Generally, nothing else needs to be moved. (this excludes things like robots.txt etc you may have to move)
After importing the DB you need to run a search and replace to swap out the domain. It is used in more places than you think.
Go to settings and re-save permalinks twice. - This fixes most issues with pages not loading/404.
There are plugins out there that make this easier.
Updraft - Don't need the paid version. Can setup new site then add files and import them.
All in One WP Migration - Haven't seen anything this doesn't move but can be slow and harder with large sites.
Plugins like All in One WP Migration or Duplicator can be helpful, but from time to time they may fail.
With AIOWM you must create a backup and a blank WP installation, install the plugin in this blank installation and import the backup. Beware that many features are paid.
With Duplicator you create a backup and an installer that you've to upload (via FTP) to the new host and there execute the installer.php script to recover the backup.
Both of them take care of the search&replace needs.
If you want to go manual, you have to copy all files via ftp, or if you've a Cpanel or similar you can upload a Zip file and then extract it via the panel (I guess you don't have the ssh access to the server).
Than you've to create a database dump via PhpMyAdmin and restore it in the new server, thank you've to change two option in the database: the site url, and the wordpress address url.
That should let you login to the website backend, but BEWARE you've to do the search and replace on your database.
To do so, easyly, you can use Better Search & Replace plugin (https://it.wordpress.org/plugins/better-search-replace/).
Guessing that http://old_domain.com is your old domain and https://new_domain.com is the new one, usually I go this way on S&R:
- Search for "old_domain.com" and replace with "new_domain.com"
- Search for "http://new_domain.com" and replace with "https://new_domain.com" if you have an active SSL certificate
Than go to Settings -> Permalink and save twice.
Everything should be fine now :)
Remember to clean every cache if you've one active.

Wordpress on IIS - Plugins were successfully installed but they don't show

I have installed WordPress on IIS 8.5 (Windows server 2012 R2) by installing PHP and MySQL without any problem. The WordPress website works normally and plugins (like any kind of sliders) installed with no error. but the installed plugin doesn't show on WordPress website.
-PHP have set on PHP Manager.
-Directory Browsing is enable.
-Full Permission granted on folders to : IUSR, IIS_IUSRS, windows current user.
-Various plugins have been tested: MetaSlider, LayerSlider, MasterSlider, NextGenGallery and so on.
as you said that "MetaSlider, LayerSlider, MasterSlider, NextGenGallery" these plugins are not working. I made a test with the MetaSlider plugin.
first thing you need to change in WordPress permalink setting.
make sure you use this setting in permalink:
then select the plugins and click on add new and installed the MetaSlider plugin.
and active that plugin.
add slide show using that and create a new page and added the slideshow.
after doing this publish the site and check the page by using preview.
if you still face some problem than clear the cache and the history of the browser and try to access the page again.

WordPress website pages are redirecting to adult site pages

I have a website built on WordPress platform. Today, when I opened the website and when I clicked anywhere on the website, adult site pages are opening up continuously.
Can anyone please suggest what could be done to resolve the issue?
Your site is hacked by someone and some script injected in your WordPress installation or database which causing to load this video your website need to scan your website using plugin like SECURI You can get this on Securi.net
Here are some solutions that you can try(Remember to take a backup before using this)
Check and clean all your recently modified files
Contact your hosting provider if you are not using dedicated server.
If you have some inactive themes and plugins which you don't need more remove them.Hackers can hide script there.
-You can upload new word-press core files which you haven't customised.
Install fresh copy of themes and plugins if you not customised them.
Change your secret keys in your wp-config file.
Check users in your word-press and delete suspected ones.
Check permission of your installation directory .if not secure them make changes.
Change you WordPress password
If this all not works to solve problem let me i will look into it.

WordPress Local Install Error (XAMPP) - Page 2 is Blank

I'm trying to install WordPress for local use with XAMPP. I started off by installing and unzipping both the XAMPP and WordPress folders. I placed the XAMPP folder in my C:/ drive and my WordPress folder within the "htdocs" folder. After that, I made a new "config" file for my local server based on the "config-sample" file.
Here's where things get tricky: when I try to use the "install.php" file, I am brought to a screen that asks for credentials. I give it some generic credentials and then I submit it in order to install WordPress. However, when I submit the form, the loaded page is completely blank and the URL appears as "localhost/wordpress/wp-admin/install.php?step=2".
When I go into the database, it shows me that WordPress created all of the necessary tables, but didn't create any log-in credentials for me. I was doing some research and there were a couple pages that mentioned the need for increased PHP RAM, but I'm unsure of how to increase the RAM for local use or if it's even a problem. If anyone had an error like this happen to them, I would really appreciate some feedback as to what could be causing this problem.
I had the same exact problem, with an almost blank screen on step-2 passage.
Adding in wp-config.php these lines solved everything:
define('WP_MEMORY_LIMIT', '128M');
set_time_limit(60);
I've installed Wordpress 4.0 from a zip file on XAMPP 1.8.3 on my Win7-32bit PC.
Setting up the DB and all, I got the same "blank screen" at the step 2.
So, I went in to phpMyAdmin, and edited the "wp_users" table on my entry. I modified the user_login and the user_password (using an MD5 converter). Saved the entry and got into the localhost url for wordpress. Got into the log in, and everything seems to be working without any issues.
As a note: I installed a fresh/clean install so there were no custom themes nor plugins.
Hope that helps.

Resources