hardcodded links, help?
-
Hello everyone, I have been handed a job of looking after our work website. The previous company have made a few mistakes and I have been given the task of cleaning and setting up proper SEO as we have no page ranking with google.
I downloaded the same theme (iTheme 1-1) and have customised it locally to match the site online. I have created a static home and allowed the blog to appear on another section all with a little research.
But when looking at our current site online not all the URLs display the correct title, the blog page has a Data base quary. I have checked the permlinks and they are setup to Day and Name which is correct. AFter a little investigating I noticed they have hardcoded the site links in the navigation, where as my local site is generated.
here is the current header.php code online code:<div id="page"> <div id="wrapper"> <div id="header"> <h1><a href="<?php // echo get_settings('home'); ?>"> <?php // bloginfo('name'); ?> </a></h1> <div class="description"> <?php // bloginfo('description'); ?> </div> <?php // include (TEMPLATEPATH . '/searchform.php'); ?> </div> <!-- /header --> <div id="left-col"> <div id="nav"> <ul> <!--<li class="page_item current_page_item"> <a href="/" title="Welcome...">Home</a></li> --> <li class="page_item page-item-55"><a title="Home" href="http://www.steam-uk.com">Home</a></li> <li class="page_item page-item-49"><a title="Blog" href="http://www.steam-uk.com/?page_id=49">Blog</a></li> <li class="page_item page-item-14"><a title="Clients" href="http://www.steam-uk.com/?page_id=14">Clients</a></li> <li class="page_item page-item-540"><a title="Case Studies" href="http://www.steam-uk.com/?page_id=540">Case Studies</a></li> <li class="page_item cat-8"><a title="Social Stuff" href="http://www.steam-uk.com/?cat=8">Social Stuff</a></li> <li class="page_item page-item-572"><a title="Awards" href="http://www.steam-uk.com/?page_id=572">Awards</a></li> <li class="page_item page-item-592"><a title="Contact Us" href="http://www.steam-uk.com/?page_id=592">Contact Us</a></li> </ul></div>where as mine, is using this code:
<body> <div id="page"> <div id="wrapper"> <div id="header"> <!-- <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> --> <!--searchform was here--> </div> <!-- /header --> <div id="left-col"> <div id="nav"> <ul> <!--<li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"> <a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>--> <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?> </ul> </div><!-- /nav -->the current website is http://www.steam-uk.com
Now Im a slight novice when it comes to wordpress, so hopefully someone could help with some advice on how to change this or just to get the URL titles correct so I can sort out the SEO Problems…
sorry for the long post
lister
The topic ‘hardcodded links, help?’ is closed to new replies.