Thread Starter
gf
(@gf)
thanks but reading through that i dont think thats the issue.
if anything is:
dsa/home
dsa/contact
it fails.
Where did you install WordPress? What url is entered as the site url in Admin/Settings/General? Have you set up a custom permalink structure? What are you using to create the page menu at the top of the site? It doesn’t look like wp_list_pages or wp_page_menu to me
Thread Starter
gf
(@gf)
hi
WordPress is installed on our dedicated server. If you dont use this theme it still doesn’t work.
to get to the admin panel i go to: http://dev.iceni-tv.co.uk/dsa/wp-login.php
doesn’t work even if i use a default theme.
Below is the navigation code.
<!-- Main Menu -->
<div id="menu">
<ul>
<?php
// Get array of pages and output with CSS classes to allow for image replacements
$pages = get_pages('sort_column=menu_order&parent=0');
foreach ($pages as $key=>$page) {
?>
<li>
<a href="<?php echo $page->guid; ?>" title="<?php echo $page->post_title; ?>"
class="<?php echo $page->post_name; ?><?php echo (($urlParts[0] == $page->post_name OR ($urlParts[0] == '' AND $page->post_name == 'home')) ? ' selected' : ''); ?>">
<?php echo $page->post_title; ?>
</a>
</li>
<?php
}
?>
</ul>
</div>
Try resetting your custom permalinks to the default setting for now and see if that helps.
Thread Starter
gf
(@gf)
thats fixed that, but to get it working with perma links i need to sort htaccess?
If you make the .htaccess file in the WP root writable, WP will take care of that for you.