locate a page with permalink url in wordpress folder
-
Is it possible to find a file containing the text content in the WordPress folder by the permalink with a post I.D?
I lost a specific page, but I have a backup of WordPress folder,
Can I find that page there somehow?
I’ve got the url permalink with the post I.D of that page if that helps to locate the page. -
Hello test22mail123456,
WordPress uses a MySQL database to store all blog information. If you only have the backup of the WordPress folder, then you don’t have the database content. These files are stored separately in a different folder on your server.
If you have the backup of the database as well, let us know. Then we’ll be able to further assist you.
Also, if you used a backup plugin/tool or the Export tool provided by WP, then probably have the posts data.
Hope this helps.
-
It wasn’t a blog content, it was text that I added with a plugin called ‘Portfolio Post Type for ThemeTon themes’, each item has a permalink that I can view it by using the url.
In the WordPress folder that I saved, I found html files with the blog page and the main page.I think that because I’ve got url’s for the items in the Portfolio,
I can find the html files for those pages in the WordPress folder like the others. -
The HTML files you found are PHP files, which contains the markup of the web pages, not the content you entered using the WordPress editor.
These PHP files are used to display the style, structure and handles the dynamic content. The content you added to the portfolio is stored in the database. This is done to ensure you don’t lose the blog information when you change a theme.
That’s why the Export tool provided by WP exports the blog information (originally stored in the database) only, not the themes or plugins.
Hope this makes sense.
To ensure you don’t lose your data, I’d recommend using a tool like VaultPress that automatically backups your data, or install a plugin like All-in-One WP Migration.
Hope this helps.
-
Hi test22mail123456,
There are no sites listed in your account so it sounds you are referring to a self hosted WordPress.org site, rather than a WordPress.com site:
We are only able to help with WordPress.com sites here, but these forums are the best place to post for help with a WordPress.org site:
https://wordpress.org/support/
If you don’t already see the answer you are looking, feel free to start a new topic :)
- The topic ‘locate a page with permalink url in wordpress folder’ is closed to new replies.