Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 21st, 2011, 11:21 AM   #1
Tomcromp
Newbie
 
Join Date: Jul 2011
Posts: 4
Rep Power: 0 Tomcromp is on a distinguished road
Wordpress posts page not found

Hello when I try make a new post then try view it, it says page not found eg http://londonsparky.com/essex-electrician could some please help me need help asap
Single.php code: if you need any other pages please say
<?php
/**
 * @package WordPress
 * @subpackage Default_Theme
 */

get_header();
?>

	<div id="content" class="widecolumn" role="main">

	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

		<div class="navigation">
			<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
			<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
		</div>

		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
			<h2><?php the_title(); ?></h2>

			<div class="entry">
				<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>

				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
				<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>

				<p class="postmetadata alt">
					<small>
						This entry was posted
						<?php /* This is commented, because it requires a little adjusting sometimes.
							You'll need to download this plugin, and follow the instructions:
							http://binarybonsai.com/wordpress/time-since/ */
							/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
						on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
						and is filed under <?php the_category(', ') ?>.
						You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.

						<?php if ( comments_open() && pings_open() ) {
							// Both Comments and Pings are open ?>
							You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.

						<?php } elseif ( !comments_open() && pings_open() ) {
							// Only Pings are Open ?>
							Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.

						<?php } elseif ( comments_open() && !pings_open() ) {
							// Comments are open, Pings are not ?>
							You can skip to the end and leave a response. Pinging is currently not allowed.

						<?php } elseif ( !comments_open() && !pings_open() ) {
							// Neither Comments, nor Pings are open ?>
							Both comments and pings are currently closed.

						<?php } edit_post_link('Edit this entry','','.'); ?>

					</small>
				</p>

			</div>
		</div>

	<?php comments_template(); ?>

	<?php endwhile; else: ?>

		<p>Sorry, no posts matched your criteria.</p>

<?php endif; ?>

	</div>

<?php get_footer(); ?>
Tomcromp is offline   Reply With Quote
Old Jul 21st, 2011, 1:53 PM   #2
Ugur KAZDAL
Developer
 
Ugur KAZDAL's Avatar
 
Join Date: Jul 2011
Location: Istanbul
Posts: 7
Rep Power: 0 Ugur KAZDAL is on a distinguished road
Send a message via MSN to Ugur KAZDAL
Re: Wordpress posts page not found

you see error page when u want to view the page?

if so, You must change permalinks settings in your admin panel, then this will be fixed
Ugur KAZDAL is offline   Reply With Quote
Old Jul 27th, 2011, 3:17 AM   #3
michalrick
Newbie
 
Join Date: Jul 2011
Posts: 5
Rep Power: 0 michalrick is on a distinguished road
Re: Wordpress posts page not found

Page not found in wordpress refers to many error. 1 permalink 2. plugin 3. themes.
mostly the permalink is responsible for this, you can also update your theme
michalrick is offline   Reply With Quote
Old Jul 27th, 2011, 3:24 AM   #4
Tomcromp
Newbie
 
Join Date: Jul 2011
Posts: 4
Rep Power: 0 Tomcromp is on a distinguished road
Re: Wordpress posts page not found

Yeah it was the permalink it was missing a / at the end. Thanks for your help.
Tomcromp is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Get on the First Page of Google for Any Keyword? praveen1 Other Tutorials and Articles 9 Dec 1st, 2012 4:15 AM
Reloading page causing erros NaikTharki PHP 4 Jul 30th, 2010 7:37 PM
Ignore included file not found and show the rest of the page? buddhi225 ASP 1 Jun 1st, 2009 12:37 AM
Detect spam posts on comments page Klarre PHP 6 Aug 5th, 2008 2:13 PM
Page Replacement Program (C++) redhatter Existing Project Development 1 Nov 20th, 2005 10:38 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:14 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC