• Resolved ghe2001

    (@ghe2001)


    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)
  • Can you post your url so we can your site and help you.

    Thread Starter ghe2001

    (@ghe2001)

    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…

    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.

    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

    Thread Starter ghe2001

    (@ghe2001)

    I don’t have cPanel.

    In the Settings/General panel, both the WP Address and Site Address are 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

    (@ghe2001)

    Colin,

    Resetting the Permalink->SaveChanges didn’t do anything. I’ll look into the rest of your suggestion…

    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

    (@ghe2001)

    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

    (@ghe2001)

    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

    (@ghe2001)

    Make that my .htaccess that was bent. Sorry.

    No problem I’m glad I could help.

    Thread Starter ghe2001

    (@ghe2001)

    Done!

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

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