• The Blog on my site is redirecting strange and does not let you get to the comments section. I have the site set in settings/reading to Static HOME=/Welcome/ and Blog=/Blog/

    When you click the title of the POST it takes you the same page and puts the Web address twice in the browser URL bar. and never lets you get to the comments… Any ideas? Seems to be a redirection issue of something with the settings.

    Thanks in advance

    https://www.londonclique.com/blog/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try resetting your custom permalinks to the default setting. If that works, then set a custom permalink structure back up again.

    https://codex.www.ads-software.com/Using_Permalinks

    Thread Starter ifcure08

    (@ifcure08)

    That was the first thing I did … I just tried it again, I switched it to default and then clicked the link on the post and it gave a 404 – I switched it back to %postname%

    here is the code form the archives.php

    <?php get_header(); ?>
    <div class="top"></div>
    <div class="main">
    
    	<div class="col2">
    
    		<div class="left">
    
    			<div class="content">
    <h2>London Clique News</h2>
    	<?php if (have_posts()) : ?>
    
    		 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>
    
     	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    
    	 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    
    		<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    
    	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    
    		<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    
    		<?php } ?>
    
    			     <div style="text-align: center; margin-top:0px;"><?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?></div>
    			<div class="clearer"></div>
    
    		<?php while (have_posts()) : the_post(); ?>
    			<div class="post">
    
    				<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    				<p class="small"><?php the_time('l F jS, Y') ?> in <?php the_category(', ') ?> | <?php comments_popup_link('No comments »', '1 Comment »', '% Comments »'); ?></p>
    
    			</div>
    
    		<?php endwhile; ?>
    
    			<div class="left"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    			<div class="right"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    			<div class="clearer"></div>
    
    	<?php else : ?>
    
    			<h1>Not Found</h1>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    	<?php endif; ?>
    
    		</div>
    
    	</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    It’s not a code issue. It’s a permalink/configuration problem. What urls did you enter in Admin/Settings/General?

    Thread Starter ifcure08

    (@ifcure08)

    https://www.londonclique.com – This seems really odd

    Definitely a permalink/rewrite issue. I can access the first post on your blog page using https://www.londonclique.com/blog/?p=172

    The resulting page has a meta title of:

    Nothing found for Blog : Www Londonclique Comwww Londonclique Com Blog

    and a displayed url of:

    https://www.londonclique.com/blog/://www.londonclique.comwww.londonclique.com/blog

    Try working through this list:

    https://quirm.net/2009/09/04/basic-wordpress-troubleshooting/

    Thread Starter ifcure08

    (@ifcure08)

    It was the “Page Links to” Plugin…

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘blog doing dumb things with addressing’ is closed to new replies.