Deleted Page Still In WordPress Database - database

So I want my blog page to show up in the permalink URL as "blog" but apparently I've already created a page named "blog" at some point and deleted it. So the url in the permalinks becomes blog-2 and won't let me change it.
Does anyone know how to get rid of the old blog page so I can name the new one /blog in the permalinks?

When you deleted your page, did you move it to the Trash? If so, it may still be in your in there. Try emptying your trash and then see you can use the /blog URL without any suffix.

Related

Duplicate in Gatsby path to markdown file for blog post

I am editing this Gatsby starter to make a personal website: https://www.gatsbyjs.org/starters/rolwin100/rolwinreevan_gatsby_blog/
Note that the problem I'm having with my site also happens when I develop the starter (with no changes made).
My desired outcome is pretty simple, I just want to be able to click on a blog post at site-name.com/blog/post-name that works. So, I set the path in my markdown files to be blog/post-name, replicating the starter exactly. However, when I run gatsby develop and click on the posts, the weirdest thing happens, For ex, from running the starter I get: There's not a page yet at /blog/blog/code-splitting-in-react (pictured fully below). But the page /blog/code-splitting-in-react does exist and when you adjust the url to that it brings up the page perfectly.
So the question is-- where is that extra 'blog' coming from in the path and how do I get rid of it??
error messages when I click on a blog post
You said that you are setting the url to blog/post-name. That is a relative path. It is going to start from whatever url you currently are. For example if you are in http://example.com/bla/foo you'll end in http://example.com/bla/foo/blog/post-name. You need to add a slash at the beginning: /blog/post-name.

Advanced Url Provider and 404 error page

I have activated the Advanced Url Provider and a 404 error page in DNN 7.4.2. Works so far.
But: I deleted a page (also from the recycle bin) from the third level, let's say the Url was http://www.example.org/Level1/Level2/deletedPage - When I enter that Url now, I would expect that the 404 error page is displayed (as it is when I enter http://www.example.org/xxx/yyy/zzz) - but no, the parent page is displayed (http://www.example.org/Level1/Level2), with the Url of the deleted page, and in the IIS log file I find a http response status 200.
Any ideas?
Happy DNNing!
Michael
I would think when you delete a page, an custom Urls for that page would get deleted, but check the TabUrls table to see if there is an entry for /Level1/Level2/deletedPage in there.
The answer is simple. DNN takes the rest of the Url as query string parameters which could be used by a module, and the page does not "know" if that is needed or not.
In this example: As no page is available under
http://www.example.org/Level1/Level2/deletedPage
but a page is there under
http://www.example.org/Level1/Level2
it could be that a module needs or reacts to the querystring
?deletedPage
which is displayed as
http://www.example.org/Level1/Level2/deletedPage
by the Url provider. Therfore the behaviour is correct. An explanation can be found here, chapter "DNN pages & 404s" at the end of page 1 and beginning of page 2.

Post, Comments, Pages, etc, not showing up in Wordpress Admin

I recently moved my WordPress site from one host to another. I cancelled the previous host already because everything displayed just fine on the front end.
However, when I go to Admin Panel, I get a lot of empty pages. The comments, Posts and other pages display a correct count of items at the top, but the actual content is not displayed.
I have disabled all plugins, changed the theme, tried Wordpress Repair, none worked.
Also, some times when I refresh the page, the first item on the list appears, I refresh again, the page goes blank, I refresh again, the page appears but no comments.
The way it works, it almost seems like the script gets terminated while retrieving data.
Picture of Comments page
Picture of Comments page
I'd appreciate your help!
Seems like pages are not getting rendered due to some error. Kindly change the define( 'WP_DEBUG', true ); in wp-config.php to find them & troubleshoot. Once issues are fixed pages will render properly.

How do I fix a 1/2 broken DNN path?

Somehow my DNN has a broken path a particular url serves pages, but doesn't work for delete or advanced options (delivers a 404 error)
The taburls table has no entries for this tab.
If I change the url through the tabs table then I'm able to delete the page without issue.
I tried accessing the page options via tabid, but the tabid gets converted to the friendly name and then 404s.
I tried turning off friendly urls in my web.config but I may have done it wrong since the entire site would not load (yellowscreen of death)
I'm wondering where DNN is storing this path that is breaking the advanced options of whatever page is at the path.
How do I fix this url so it displays page options and lets me delete pages?
First thing I would try is going to the Admin/Page Management screen, can you make the changes you need to via that interface? If so, after making the changes, are you able to access the page and all the features/options correctly?
If that doesn't work, check the TabPath column in the TABS table to see if there are any bad paths in there for specific pages that you are having problems with.

How do I find the pages I add in DotNetNuke?

I'm using DotNetNuke for the first time and I am unable to locate the URL of the pages I add.
I've attempted Google-ing it and clicking every link to look for the URL being listed somewhere and I'm having no luck. How can I locate these pages?
Thank you.
If you go to the Admin/Pages page (might be called Page Management) you can find a list of all the pages on your site. You can right click on a page and choose "View" to view the page, then copy the URL from the browser

Resources