Moderator
t-p
(@t-p)
Have you tried: – Flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as Cloudflare. That will solve many weird JavaScript issues.
– deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
– resetting the plugins folder by FTP. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
– switching to the unedited default Theme (Twenty Sixteen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
If you trash a page/post, “-trashed” is added to its slug. If you have links pointing to that page (e.g., in a menu) those links will be to the trashed page. Trashing a page does not remove menu items that point to it. So, if you trash a page, remember to clean up your menus.
Thanks Steve. I didn’t think I’d trashed these particular pages but I guess I must have. My problem now is how to rename them without the offending word. What do you mean by clean up my menus?
Thanks again
Tony
Sorry t-p. I’d missed your post earlier. I’ll try some of those things now.
If you trash a page, remove it from your menus. If you restore them from trash, the “-trash” will be removed.
That was truly astonishing, Steve! It was like actual magic. The interesting thing is that I hadn’t deleted the affected pages but rather the one which sits above them (and on the same hierarchical level). The word _traashed had not appeared in that particular page. However, when I restored that all the links in the other corrected themselves instantly. I had to pinch myself! The page in question does link to the affected pages via images in a gallery so perhaps that is what caused it.
Anyway, problem solved.
Many thanks.
PS t-pp – in addition I am now thoroughly flushed!
ah, yeah. If B is a child of A, then the URL is site.com/A/B. If you trash A, then the URL becomes site.com/A-trashed/B.