mortega
Member
Posted 1 month ago #
Built a custom theme for a microsite that am hoping to launch soon.
Ran into a major roadblock this afternoon and spent the better part of four hours trying to figure this out.
Everything is fine until you visit a single post as it shows EVERY post.
Below is my single.php code.
http://wordpress.pastebin.ca/1583006
Something to note: I created a separate header file for single posts called header2.php and a separate sidebar file called sidebar2.php. The header has a different navigation code for active tabs and the sidebar has less elements in it since single posts will not be as long as index pages.
Try the just using <?php get_header();?> in place of <?php include (TEMPLATEPATH . '/header2.php'); ?> and see if that works first.
mortega
Member
Posted 1 month ago #
Nope, that doesn't change anything.
Previously I didn't have the comments.php file being called, but I threw it in there anyway just to try it out, to see if the shows up once, or repeats each time and it doesn't show up at all. I don't know what that is indicative of, but found it interesting.
mortega
Member
Posted 1 month ago #
Sent the URL to the contact on your website.
I think that this might be some sort of permalink/rewite problem. It's impossible to generate a 404 on the site and even entering raw, ugly, permalinks results in what looks very like your blog listing.
For example, http://domain.org/?p=4 is rewritten to http://domain.org/privacy/. Yet it's displaying the Blog listing again.
mortega
Member
Posted 1 month ago #
I've tried changing the permalink structure, saving, etc. and haven't noticed a difference.
I've never used (let alone know anything about) any of this before:
Pretty permalinks are available under
* Apache web server with the mod_rewrite module
* Microsoft IIS 7+ web server with the URL Rewrite 1.1+ module and PHP 5 running as FastCGI
* possibly Microsoft IIS 6+ using a 404 handler or Mod-Rewrite Pro
* Lighttpd using a 404 handler or mod_rewrite or mod_magnet (see External sources)
What would you suggest?