Wordpress: pages are not updating despite emptying caches - wordpress

I have used the plugin All-in-One WP Migration to get the site from the development environment to the live site (you can export and import a complete website).
Some pages have updated correctly but not all of the pages (they remain in the old style and structure).
I have deleted my browser cache several times (tried several browsers on different computers even), deleted caches created by plugins several times (tried deactivating those plugins as well). However, despite trying to delete all the caches I can think of, some pages are just not updating. As the page templates for these pages do not exist anymore on the server, I am at a complete loss as to what's preventing all the pages from updating correctly.
What am I missing?

May I ask is your site already live? Cause I had the same issue as yours and I manage to get it updated by deleting the cache by "Flush Cache" on my WordPress admin page
Once you logged in to your WordPress admin site you'll find this and click that
Flush Cache
Flush Cache (2)
I am not so sure why that happens but I am thinking it might be because from the server and might need sometime on updating any changes made. It happened to me also when I have some updates on my site then once I save everything and go to my site, still the old ones are being shown but when I Flush Cache then it shows up the new ones... I think the reason because it still shows up the old ones is probably of the cache from the old ones in the server and by flushing them is being able to show the updated ones.

Related

Only a hard refresh will display the updated WordPress site

I cloned a website using the duplicator plugin and made changes to it. When logged in as admin I see the changes but when I use an incognito browser it still shows the cloned version (old version). I can see the changes when I do a hard refresh of the browser, but refreshing again reverts to the old copy. I tried emptying the cache, deleting cookies, deleting cache folder on wp-content but nothing seems to work?
I don't have any caching plugins installed.
The css changes seem to take effect, but the old pages are still loading.
It seems like the pages are somehow cached somewhere.
I had the hosting support check and they updated the A records but it still somehow doesn't fix the issue.
It's in a shared hosting on hostgator
Thank you.
Though this question does not follow guidelines of this forum, but you seem to be freshie. Just check if you are using cache plugin, then disable that for time being unless you follow proper documentation of that plugin and complete know-how about clearing cache.
By any change are you using wp fastest cache or W3 Total Cache plugins.
Please double check you are not using any cache plugins
make sure you dint enabled the cache in wp_config file
define('WP_CACHE', true);

Restore wordpress from local copy

I have a local wordpress backup which is a copy of the main dir from the previous webhost.
I runned the site using wampserver but when I tried to open the index page it said: "Error establishing a database connection".
I think this is because the database is not imported in phpMyAdmin. How can I make this work so I can access the site?
The WordPress database stores all of the site content - Posts, Pages, custom post types, images, and so forth. Unless you have a copy of the database, the files you have will only be useful for setting up the same plugins and theme that were being used on the old host.
There may be a couple of ways to restore your lost content:
Check Wayback Machine - if it's a larger site it may be indexed here, and you can go through page by page and rebuild.
Check Google's cache - if the site was only recently removed from the old webhost, the individual pages may be cached for a time. It would be wise to download as "complete webpage" each page and then go through page by page and rebuild. Same with images - if they've only recently been removed, you may be able to find (possibly lower-resolution) cached versions and download them. To check, do a Google search for site:http://example.com (replace with your URL).
If neither of these exist, you'll need to start from scratch on the content, but you'll have learned a valuable lesson about backing up. :)

Can't access Wordpress admin login page (redirect error)

I’m working on a wordpress site, it’s almost finished.
Left it lying on the server for a few weeks after the launch to gather user feedback, and now ready to make some minute adjustments.
Loe and behold, can’t login.
Going to parentsauxassembleesgenerales.org/wp-admin won’t show me the admin page, but will instead redirect.
Sure enough, I had an automatic update to 3.8.2 on April 9 that seems to coincide with the admin access being gone.
Contrary to most redirect errors for login pages after an automatic update on forums, the exact url it redirects to is not actually a valid url.
You see others reporting the url they are redirected to as being:
http://www.domain.org/wp-login.php/?redirect_to=http%3A%2F%2Fwww.domain.org%2Fwp-admin%2F&reauth=1
But mine displays: http://www.parentsauxassembleesgenerales.org-login.php/?redirect_to=http%3A%2F%2Fwww.parentsauxassembleesgenerales.org%2Fwp-admin%2F&reauth=1
And is therefore missing three characters: “/wp” to be identical to the other bugs I saw reported. Needless to say, I still tried all the fixes recommended elsewhere, namely:
(using FTP, Softaculous, dowload of WP 3.8.1 and 3.8.2 from wordpress.org, and PHPmyAdmin)
1- deactivating, renaming, removing plugins, theme, both plugins and theme
2- adding lines of code to wp-config
3- looking at the database to make sure the site url and home url were the right ones and the same
4- updating key files like wp-login.php with a fresh version straight out of a vanilla install.
5- moving the content and wp-config to a fresh install (only recreated the problem).
I’m sort of confused at Softaculous (wp install script in cPanel) for asking if you want automatic updates, but still enabling the small automatic updates (3.8.1 to 3.8.2 or 3.8.3) even if you don’t check the box for automatic updates. I don’t, and never will, want automatic updates on my wordpress: too many plugins and themes have a lag to the wordpress core deployment schedule. (I now know I can just add a line to wp-config.php, but the Softaculous interface could be clearer about the automatic update deal).
Am now in contact with the hosting service to look at solutions such as emptying webcache, restoring from their own weekly backups, their own diagnosis of the faulty redirect route, etc.
I’m looking for a solution that will do one of the following:
help me know what causes the redirect error so I can target the problem-solving
help me regain access to wp-admin login and the dashboard
I found the issue.
Despite deactivating the plugins, one of the plugins had caused a problem in the DB which remained even when deactivated, removed or renamed. Had to clean up the relevant redirects in the DB with PhpMyAdmin.
The plugin was Velvet Blues Update URLs, which was recommended for a very small move I was doing (moving the dev version of the site up one folder on the server file system).
I hadn't used this plugin before, but it seemed straightforward enough.
Not.
I usually migrate sites using UpDraftPlus with the pro addon for migration, which works fairly well, but felt longer than it needed to be for a one-folder-up move.
Not.
The search and replace feature on UpDraftPlus that covers both for file/folder locations and for urls is without compare, and even for what it was supposed to do, Velvet Blues Update URLs didn't deliver on its promise.

Wordpress posts not updating or publishing

Site: http://reikas.lt/
The thing is site was working good all the time, now suddenly whatever I edit(change permalinks, publish/edit post etc.) it does not have effect on the live site, it seems the settings are just not woring and posts are not there.
The second image of a slider was changed, the image ramained, then i deleted the image, it dissapeared after a while but the slide is still there(empty) even though its deleted from backend and new one is added (not appearing).
Intresting thing: FTP changes are working and it responds immediately to any CSS/HTML changes
Extra:
Tried disabling plugins
installing super cache and deleting the cache
Adding: define('CONCATENATE_SCRIPTS', false);
clearing local caches, but it appears from other computers its the
same.
Was just wondering maybe hosting cached database.? seems not logical tho.

Updates to Wordpress theme template/stylesheet are not reflected when a file is edited

I am developing a theme in Wordpress. I have an issue where updates to my stylesheet (style.css) are not being reflected in the browser after FTPing a new version of the file to the server. Edits will only show up in the browser after waiting a long time, (15+ minutes). I have tried all the things mentioned here (edit: now updated to address the issue), which have not worked. These include:
Making sure no caching plugins are installed in Wordpress
Clearing the browser cache
Trying from a different browser
Making sure I am editing and accessing the correct file
Checking webhost configuration panel for a caching plugin
Something seems to be caching the stylesheet but I'm not sure how this might be so.
It turns out that my hosting company (Certified Hosting) uses a webpage caching plugin called Varnish on their shared servers. Unfortunately there is no mention of this in the configuration panel - the only way to disable it for the domain is to submit a support ticket. Once they fixed it on the backend, my changes are now correctly being reflected without having to wait a while as before.

Resources