Hi guys! Help me please with designing 404.php for my wordpress site. I have a problem with php, I didn’t know it well.
Heres what I got.
My php code what i find 404.php
PHP Code:
<?php get_header(); ?>
<div id="page">
<h1>Page Not Found</h1>
<p>I'm very sorry, but the page you requested has not been found! It may have been moved or deleted.</p>
<p>I'm not blaming you, but have you checked your address bar? There might be a typo in the URL.</p>
<p>If there isn't, you could try searching my website for the content you were looking for:</p>
<?php get_search_form(); ?>
<p>Or maybe you were looking for one of my popular posts:</p>
<ul>
<li><a href="http://www.kravchukdesign.com/popular-post1">Popular Post 1</a></li>
<li><a href="http://www.kravchukdesign.com/popular-post2">Popular Post 2</a></li>
<li><a href="http://www.kravchukdesign.com/popular-post3">Popular Post 3</a></li>
<li><a href="http://www.kravchukdesign.com/popular-post4">Popular Post 4</a></li>
</ul>
<p>Alternatively, you can go to <a href="http://www.kravchukdesign.com">my home page</a> or <a href="http://www.kravchukdesign.com/archives">browse my archives</a></p>
<p>One last thing, if you're feeling so kind, please <a href="mailto:info@kravchukdesign.com">tell me</a> about this error, so that I can fix it. Thanks!</p>
</div>
<?php get_sidebar(); get_footer(); ?>
Please help me with it, because it doesn’t work well. Here error page. As you see, it doest work well for my site, it’s hiden. http://www.kravchukdesign.com/dsegds/
Can you please correct my code for my site
Thank you.
You’re not using the same page structure for that page as you are for your others.
On your home page, the main content area is wrapped in <div class="content-area fullwidth">, which seems to have been styled correctly to sit beside the scrolling sidebar.
You either need to use the same structure for your 404 page, or style it to match the other pages. At the moment, it is taking up the full width of the viewport, and the sidebar is overlapping the left-hand edge of the page.
Sorry, that link demands a login or create an account at dropbox. Can’t you find a register-free-for-downloads file sharing service?
Maybe try this one: https://www.filetolink.com/ You’ll get a link to the uploaded file that you can post. (I’ve used it but have no knowledge of how safe it is.)
We may just be having a problem identifying the nature of the issue. So any additional info or test results that you can provide might help.
Whatever the delay, this is still Sunday, we are temporarily understaffed (vacations, moves, etc), and I am not knowledgable enough to help with this issue. There should be someone else along from o’er the pond in a few hours. Please be patient. You’re not forgotten.