nik1as
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?That worked!
Thank you so much! You made my day. ??
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?Can I write something “by hand” in .htaccess?
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?No. ?? It only says “Permalink structure updated”, nothing else, but it still doesn’t work. I have also tried reinstalling WP several times.
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?My blog is in public_html/addondomain, and there’s where the empty .htaccess file is as well.
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?I have scrolled down. There’s nothing there, I promise.
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?1. I get a 404 error:
Not Found
The requested URL /2006/12/30/test/ was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
2. Linux/Apache
3. The .htaccess file exists – I created it – and is empty.
Forum: Themes and Templates
In reply to: Why won’t my permalinks work without index.php?I have the same problem. It has worked fine on previous installations, but on this it insists on adding index.php. I realized there was no .htaccess file in the WP directory, so I created an empty one and tried updating the permalink options again. It is still not working, and the .htaccess is still empty.
What should I do?
Forum: Fixing WordPress
In reply to: Remove subpages from top menuIf Blix is going to be this hard to configure, I might as well just use another theme.
<b>Edit:</b> I’m now using the default theme, and I’ve added the depth parameter and everything works fine.
Thanks for your help. ??Forum: Fixing WordPress
In reply to: Remove subpages from top menuI tried it, but it didn’t work. It messed everything up – https://blog.toobigtofitinhere.com/
Forum: Fixing WordPress
In reply to: Remove subpages from top menuHmm. I can’t find it.
This is how my header.php looks:<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<?php require_once get_template_directory().”/BX_functions.php”; ?>
<html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘charset’); ?>” />
<title><?php bloginfo(‘name’); wp_title(); ?></title>
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen, projection” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php /*comments_popup_script(520, 550);*/ ?>
<?php wp_head();?>
</head><body>
<div id=”container”<?php if (is_page() && !is_page(“archives”)) echo ” class=\”singlecol\””; ?>><!– header …………………………… –>
<div id=”header”>
<h1>“><?php bloginfo(‘name’); ?></h1>
</div> <!– /header –><!– navigation …………………………… –>
<div id=”navigation”><form action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>” 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>-
<li<?php if (is_home()) echo ” class=’selected'”; ?>>“>Home
<?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.”>Archives\n”;
}
elseif($page_name == “about”) {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>About\n”;
}
elseif ($page_name == “contact”) {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>Contact\n”;
}
elseif ($page_name == “about_short”) {/*ignore*/}
else {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo “<li”.$selected.”>$page_title\n”;
}
}
}
?></div><!– /navigation –>
<hr class=”low” />
Forum: Fixing WordPress
In reply to: Page problemsAh, that’s right. I hadn’t updated the .htaccess file! I forgot that I had to do that manually.
Everything seems to work now. ??Thank you so much for all your help!
Forum: Fixing WordPress
In reply to: Page problemsYes, I understand the basic idea of the permalink structure, and right now I’m using the recommended one (/%year%/%monthnum%/%day%/%postname%/). I understand how that makes the path to specific posts, but I don’t understand what happens to the path to pages.
In the navigation bar, the url to my pages are toobigtofitinhere.com/page, but the “real” url is, as you said, /index.php/page.
What do I change in my admin panel so the links work?Forum: Fixing WordPress
In reply to: Page problemsYou don’t happen to know how I am supposed to set them up to get it work correctly?