• Hi I have just set up a blog and I am now trying to create my own theme following a tutorial…

    I have just added the lines

    <div id="header">
    		<h1><a href="<?php echo get_option('home'); ?>"><?php bloginfo(’name’); ?></a></h1>
    		<?php bloginfo('description'); ?>
    	</div>
    	<div id="container">
    		<?php if (have_posts()) : ?>
    			<?php while(have_posts()) : the_post(); ?>
    				<h2><a href=”<?php the_permalink(); ?>“><?php the_title(); ?></a></h2>
    			<?php endwhile; ?>
    		<?php endif; ?>
    	</div>

    and it works as far as displaying but on clicking the links i get

    http://domain.co.uk/�http://domain.co.uk/?p=5%EF%BF%BD

    (which can’t be found for obvious reasons!)

    why does it append and not overwrite? I created a second installation of wordpress to see if that made any difference but apparently not. I was tinkering with Pretty Permalinks and have since found out that my web host is runing IIS 6 and not Apache… does that mean anything with whats happening here?

    Thanks
    Matthew

Viewing 1 replies (of 1 total)
  • Thread Starter cawleymj

    (@cawleymj)

    FIXED IT!

    The slightest of things but I think because I copied and pasted the code from the tutorial (Which admitedly it said don’t do!) the quotes surrounding the link were not like proper double quotes – they were at an angle.

    That could have taken a lot longer to figure out, but i realised that when i changed the theme back to default it worked again so it was nothing that i had changed elsewhere!

Viewing 1 replies (of 1 total)
  • The topic ‘Appended URL – Why?’ is closed to new replies.