Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter sassandperil

    (@sassandperil)

    ok, quick update.

    Figaro- Thank you. I followed your video for updating the database upon moving from sub to root, but I did sub to sub instead. (I had already moved my /blog files to a new subdirectory /wordpress prior, hence why my permalinks and site weren’t functioning right)

    I followed your instructions for export. Then I changed all instances of https://www.sassandperil.com/blog to https://www.sassandperil.com/wordpress except for the Blog name, which is just https://www.sassandperil.com. I did this in the .sql dump file and imported everything back into the database. So now my DB is up-to-date with my subdirectory change, no?

    All my links are working great besides one…my ‘ABOUT’ page. The ‘write’ tab shows it there and it appears in the preview but not upon site viewing. Does anyone else see it?

    If the only trouble you are having is with the about page, try deleting it and creating a new one.

    Thread Starter sassandperil

    (@sassandperil)

    I deleted it all together and the ‘about’ link/tab is still up there, and of course it is still empty. I added a new one, same thing, content in the preview…no content upon site view.

    I’m going to paste the code of my header.php with the About page added back in. Could it be that the theme I am using is outdated or needs to be further customized? I seem to have read that somewhere looking for a solution to this. Perhaps I am missing something from this line of code?

    <!-- navigation ................................. -->
    <div id="navigation">
    
    	<form action="<?php echo bloginfo('home'); ?>" method="get">
    		<fieldset>
    			<input value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    			<input type="submit" value="Go!" id="searchbutton" name="searchbutton" />
    		</fieldset>
    	</form>
    
    	<ul>
    		<li<?php if (is_home()) echo " class=\"selected\""; ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
    		<?php
    		$pages = BX_get_pages();
    		if ($pages) {
    			foreach ($pages as $page) {
    				$page_id = $page->ID;
       				$page_title = $page->post_title;
       				$page_name = $page->post_name;
       				if ($page_name == "archives") {
       					(is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ' class="selected"':$selected='';
       					echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Archives</a></li>\n";
       				}
       				elseif($page_name == "about") {
       					(is_page($page_id))?$selected = ' class="selected"':$selected='';
       					echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">About</a></li>\n";
       				}
       				elseif ($page_name == "contact") {
       					(is_page($page_id))?$selected = ' class="selected"':$selected='';
       					echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Contact</a></li>\n";
       				}
       				elseif ($page_name == "about_short") {/*ignore*/}
               	 	else {
                		(is_page($page_id))?$selected = ' class="selected"':$selected='';
                		echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">$page_title</a></li>\n";
                	}
        		}
        	}
    		?>
    	</ul>
    
    </div><!-- /navigation -->

    I suspect you need to create a page named “About” and change your Permalinks to something besides the Default to get that thing working.

    Next time mention you’re using Blix… it has some wrinkles!

    Thread Starter sassandperil

    (@sassandperil)

    Chris K, yesterday I changed the permalinks to “month and name” however I get a ‘page not found’ on every single post and the about page. So I reverted back to default.

    Today, I deleted the page “ABOUT” but it is still there even after clearing cache/cookies, logout/login, etc!! This is leading me to believe that there’s something overriding it in the Blix theme. To test this I added a new page called “CONTACT” and upon preview it does not add a new tab to the nav it just looks like this with “ABOUT” still present.

    I’m completely stumped. What section would I find the code to be changed? How do I make the friggin’ thing go away so that I can start over? Much thanks.

    Thread Starter sassandperil

    (@sassandperil)

    I’m giving up. On Yahoo that is. I have spent days now trying to update my permalinks to no avail. I have visited countless articles online about Yahoo’s lack of customization. If I cannot access the .htaccess file I cannot fix my permalinks, it’s obvious.

    Why did they even partner with WP in the first place!?

    Over it. Thanks to all for helping me try.

    Hey I just wanted to let you know that I’ve found that if you switch to the default Permalink setting and make sure that you pages can be seen, then switch back to your custom or ‘pretty’ setting everything should work.

    Had the same issue but I let WordPress admin do the work of adjusting things rather than dig into my database.

    Maybe this will help?

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Can I move files from /blog to the root?’ is closed to new replies.