The title says it. I renamed a page in wordpress along with the permalink (the slug also changed) and now I can't find it on my site.
The menu updated along with my changes, but the page content isn't there when I click on it.
Here's the offending page
If anyone can tell me what I did wrong and particularly how to fix it, I'd really appreciate it.
Thanks in advance!
Try regenerating permalinks - editing permalink settings triggers that regeneration.
Also, if you have any kind of cache plugin running, purge it's data too.
This was a conflict with a portfolio feature in my theme (Bello by WeGraphics)... I renamed the permalink and it works fine now
Related
I have a WordPress site where my front page is showing the latest posts.
If I have my permalinks set as plain showing...
https://example.com/paged?=2
The page loads. However, If I change the permalinks to Post name, giving me...
https://example.com/page/2/
That results in a 404.
.htaccess seems to be set up correctly. The first page has posts and the links are being generated in the pagination controls. Using Post name as the permalink setting my posts are properly linked...
https://example.com/my-wordpress-post
But https://example.com/page/2/ does not work.
Any ideas? I really need to set the permalinks to Post name. Could it be a server issue?
First thing I would recommend is to confirm your .htaccess file is set up correctly to process permalinks. If you create a new page, can you access that page with his human-friendly permalink, for example? If not, you may need to fix your .htaccess file to handle those rewrites properly.
Otherwise, can you provide more context for this issue? Is it safe to assume you have your homepage set up with a list of paginated posts?
I figured this out. Instead of selecting Post Name, I select the Custom Structure radio button instead and manually added /%postname%/ and then clicked saved.
Then it worked. :)
A Wordpress site of mine seems to have changed some of my pages permalinks by adding __trashed after the slug.
Note that not all pages are affected, neither do other post types.
Anyone might have seen the same problem & a clue what might have caused it? I can remove it manualy, but it's kind of weird and I don't want it to happen again :)
I'm using WP v 4.5.3 & the plugins are up to date.
plugins used:
Bulletproof security
comet cache (former zencache, former quick cache)
Yoast SEO
Mailpoet
Captcha by BestWebSoft
Event organiser
ACF
Posted my question above also # the Wordpress forums, it seems to be caused by the Press permit addon pack: PP Collaborative Editing Pack
It changes page names when you edit and save your sites menu.
For more info, see this thread: https://wordpress.org/support/topic/wordpress-permalinkslug-changed-page-to-page_trashed/
Simply export the page then change the page title (existing) then import the exported page. When a page shows trashed in permalink then not considered as a page so you need to remove that.
no need of deletion the existing page with trashed in permalink before a fresh copy imported.
I changed http://www.artbabyalbania.com/trashed/homepage-4 to http://www.artbabyalbania.com/homepage-4 to http://www.artbabyalbania.com/ (set as a front static page from settings)
quick edit the page and change the slug. I changed https://restorify.io/jobs and it worked
Okay so my problem is that, I am currently working on a website which is already been created using wordpress. My problem is that when you see the website page, there is all the data and everything is present. But when I come to the backend of the page in wordpress its not showing any content at all. I mean its like there has never been the data at all in this page. Its so confusing. Please answer me this. And kindly remember that I am not a good coder so anything that is related to coding please ellaborate it with examples.
I 've fixed it.
The problem is in charset of db.
Open wp-config.php file and just change charset to utf8 & comment the old one.
define('DB_CHARSET', 'utf8');
Thanks
Like the other commenters mentioned, you can also insert content into pages on Wordpress with pages on custom themes.
Remember to back up your site before you make any changes.
Try to change your theme by going to 'Appearance->Themes' in the Wordpress admin window and activating a new theme. Head to the page in question and see if the content is still there. If it isn't, it's being added in a custom theme, which is probably what's happening.
If that's all you need to know, you're all set - otherwise, you can use this process to find what's creating the content:
Go to your Wordpress installation directory (you'll know you're there when you see folders like 'wp-admin' and 'wp-content'), then go to 'wp-content->themes' and see what themes you have installed. You can dig around in the php files there to find the content being created. You'll need to play around with PHP if you want to learn more from there.
I have a wordpress site which was working all fine but suddenly it got hacked by someone. I immediately deactivate my theme and then after sometime activate it. it got recovered but all contents of pages and posts is not showing up but title is showing. I checked databse tables. It contains all posts, also checked wp-admin. It also contains all data. Also tried by deactivating plugins and then activating it. Dont know what to do. please help me, I badly need it. Pleaseee
here is the link
http://islamiroohanimission.org
index page is okay. But go on any menu. it will give the message no post is found.
go to your functions file and see if they messed with your DEFINE posts to remove those parts of the page.
I have a page template set up as the front page but it's not loading for some reason. I've done this plenty of times in the past just fine.
I should be getting a body class of "portfolio-page-template" but rather I just get the regular "page-template".
I've tried resetting the permalinks, deleting/recreating the Portfolio page, changing back to the default theme and changing back, and still no dice.
Anybody know of a fix?
Need more info.
Did you save it as home.php did you override it in the settings? http://img.lajlev.dk/5a842c1e3dc470468c322af0fe79c004.png
Had a similar problem, and while it’s not an eloquent solution but when my working home page template started defaulting to my taxonomy.php template without reason, I tried all of the things you mention and then:
deleted the taxonomy template,
deleted the .htacces and refreshed the permalinks
selected and set the page-template-home.php again
noticed all was well
put my taxonomy template back and surprise - everything worked
very strange.
If this is not your issue, I can give you a few pointers on what to check for when setting up a custom page template, and what to check for if it fails.
Check the status of theme path or theme sittings