Title: 2011 posts view == bad URL
Last modified: August 20, 2016

---

# 2011 posts view == bad URL

 *  Resolved [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/)
 * When I click on the name of a post, I get a URL to a directory that doesn’t exist.
   They appear fine on the home page. In admin, edit finds them, but view does not.
   The problem is the URL being generated by the PHP.
 * I haven’t been able to find anything about this problem in the codex, and I’ve
   asked in the Debian Users Group, also to no avail.
 * Any help with tracking down this problem will be greatly appreciated — I’m a 
   newbie, but I think it must be something wrong in my config…

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841428)
 * Can you post your url so we can your site and help you.
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841431)
 * [http://interface.slsware.com](http://interface.slsware.com) — I think. It’s 
   very new.
 * The bad url is something like:
    /blog/blog/2012/06/21/test2/
 * It should have only one ‘blog/’.
 * Let me know if you’d like to see the Apache2 config…
 *  [Colin Murphy](https://wordpress.org/support/users/colin-murphy/)
 * (@colin-murphy)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841432)
 * Have you tried flushing the rewrite rules. You can do this by going to Settings-
   > Permalink and click “Save Changes”.
 * If doesn’t work you should try deactivate all your plugin’s and revert to the
   twenty eleven theme and see if the problem has been resolved.
 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841433)
 * Go to your host’s cPanel and see where you have setup WordPress. I think it is
   a case of wrong directory settings.
 * Read the instructions and follow it.
    [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841445)
 * I don’t have cPanel.
 * In the Settings/General panel, both the WP Address and Site Address are [http://interface.slsware.com/blog](http://interface.slsware.com/blog)(
   I’m guessing that one of those is the problem). And I’m sorry, but I don’t really
   know what those mean or how they are used.
 * The Debian install package puts WP very much in its own directory: /usr/share/
   wordpress, and the config files in /etc/wordpress.
 * The Apache2 config has a file, ‘blog/’, in /var/www, and links that to /use/share/
   wordpress.
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841447)
 * Colin,
 * Resetting the Permalink->SaveChanges didn’t do anything. I’ll look into the rest
   of your suggestion…
 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841449)
 * It may be because you using blog as directory name.
    In settings>>>>General change
   blog in url to something else and then using ftp change directory name blog to
   the same name. and reset your permalinks.
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841534)
 * Bingo!!
 * My .htadmin was all wrong, as Colin suspected. I just changed it to what WP-Admin
   recommended, and that fixed it.
 * Thank you all very much.
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841535)
 * Why I Seem To Be An Idiot…
 * I’m a retired computer geek. I have a degree in computer science, and I’ve worked
   with computers for more than 20 years. I was a reasonably capable admin and programmer.
 * A couple years ago, I had a bicycle accident that significantly damaged my brain.
   I lost all my passwords, a lot of the *nix commands, and several points of IQ.
   I’ve been recovering, but I’m not all better yet — I notice that I seem to be
   getting smarter, but I’m told this can take quite a long time.
 * I’m writing here because so many of you responded to my plea of help, and you
   got me to figure out how to fix it.
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841536)
 * Make that my .htaccess that was bent. Sorry.
 *  [Colin Murphy](https://wordpress.org/support/users/colin-murphy/)
 * (@colin-murphy)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841546)
 * No problem I’m glad I could help.
 *  Thread Starter [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * (@ghe2001)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841550)
 * Done!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘2011 posts view == bad URL’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 4 participants
 * Last reply from: [ghe2001](https://wordpress.org/support/users/ghe2001/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/2011-posts-view-bad-url/#post-2841550)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
