Ok, i am in the middle of creating a new site and i am having a funny problem with my permalinks for subpages. At one point i changed my permalink structure to /%category%/%postname%/ but then i moved the location of some sub pages to be below other sub pages. But for some reason the subpage link was trying to go to the location where the page originally was, not where it currently is. So then i tried changing my permalink structure to the default (postID), but still those sup pages are trying to redirect to the old location of the page with the old permalink structure. Here is an example go to http://fenderbluesjunioramps.com/ click on "Mods, Parts, & Extras" in the top menu then click "Tubes" in the right menu. You will see that it redirects to the homepage, but the address bar on top says "http://fenderbluesjunioramps.com/fender-blues-junior-amp/accessories-parts-mods/tubes/" that is where the page lived when i originally posted i. How come the links does not get updated when the page moves and permalink structure changes? thanks!@!!!!!
i think it is on, this is what it currently has in my htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress i think the problem is in the function that is calling the pages. here is what it looks like: <?php if ($aOptions['show_subpages']) : global $id; $aSubPages = get_page_children($id, ''); if (count($aSubPages) > 0) : ?> <div id="child_pages"> <h3>More Pages</h3> <ul class="icon jump"> <?php foreach ($aSubPages as $page) { echo('<li><a href="' . $page->guid . '">' . $page->post_title . '</a></li>'); } ?> </ul> </div> <?php endif; ?> <?php endif; ?> i think it has something to do with the line: <?php foreach ($aSubPages as $page) { echo('<li><a href="' . $page->guid . '">' . $page->post_title . '</a></li>'); } if i knew PHP at all i'm sure i could figure out what that means. My guess is that it's hard coding what the page links should be, and when i changed the permalink structure it messed up the pages i created, but the problam is that i changed permalink structure back and those pages are still messed up. any ideas.... thanks!