WordPress.org

Support

Support » Requests and Feedback » Ok People of WordPress, It's About Time…

Ok People of WordPress, It's About Time…

  • For a fully featured revamped Permalinks control panel. Maybe even renamed to a URL manager or something to that extent.

    A lot of times one of the things I spend the most time with wordpress sites is in the permalinks section, trying to figure out why my seo-optimized /%month%/%postname%/ tag or (anything similar here) keeps showing up a 404 not found page in the front end of the page.

    I have looked to this fix: http://www.kevinworthington.com/how-to-fix-permalinks-in-wordpress-when-all-else-fails/

    And it has worked a decent amount of the time, but for my latest example today I have a wordpress install on the main directory of a site, and another wordpress install in a sub directory, and wow does that not like to play nice.

    There’s got to be a way to make this better, maybe not revamp the whole thing but obviously we are all open to suggestions here.

    Thoughts?

Viewing 15 replies - 16 through 30 (of 36 total)
  • Can some super duper admin help me out to post there? I have at least 5-6 similar examples of this.

    In other examples I have to include the ?page_id= at the end of my permalinks for those to work. When I started using WordPress a few years back I had no real issue with permalinks, this has all been within the past 1-2 years. The more I think about it, the more it’s actually closer to 50% of hundreds of WordPress installs with custom permalink malfunctions (default always works, but I do a lot of SEO). Out of those hundred(s), I can count on two hands the number of times it worked correctly without any extra work outside of WP admin.

    I’m wondering if it’s because of this other thing with this template and maybe at least a couple others. The reading setting is set to front page displays posts. I added a code in a blog.php template to pull the posts so it works like this instead. I doubt it matters but who knows.

    It sounds like you’re having .htaccess problems, which usually mean your server isn’t set up right…

    Report a bug: http://codex.wordpress.org/Reporting_Bugs

    Post on the bug tracker, explain exactly what you’re doing. Don’t just link to that post. Tell them
    – THIS is my theme
    – THIS is my permalink setting
    – THIS is where I installed WordPress on my server
    – THIS is my .htaccess

    You may also want to toss in who your web host is, what version of apache and php you’re running.

    I will do, when it’s fixed and next week because im in the middle of traveling trying to finish this correctly.

    Permalinks broke again. Not sure what triggered this. Going to try the fix again.

    Also I read something else about bluehost but didn’t have time to go thru all the topics. This is a wordpress installation inside a directory which is inside another directory but there’s no other WP installations.

    Ok, i think i figured out what’s up all along

    Time time with the fix, I didn’t include the trailing slash at the end of my custom permalink, which made the blog posts work now. I am seeing something in the htaccess in the above directory that indexes are off so this would make sense.

    nope, no dice there

    updating a page or post or publishing one breaks permalinks

    This is something specific to …whatever you’re doing. And you’re not giving me enough info to debug, nor am I sure what to ask at this point.

    Here’s what I would do to debug:

    1. Get rid of ALL plugins and ALL themes. Use the basic Twenty Ten theme and no plugins. See if it works.
    2. Undo the ‘magic fix’ you found, and go back to plain, normal, WordPress.
    3. Turn OFF pretty permalinks (just use the ugly ?p=### one)
    4. Delete your .htaccess file.
    5. Now. If THAT works, THEN turn on ‘standard’ permalinks (YYYY/MM/DD/POSTNAME) — You may need to recreate your .htaccess, and if so, do it from the directions on the Permalinks page.

    See where that gets you.

    Vincent Tobiaz

    @vinautomatic

    1-no did not work
    2-not working still
    3-worked after this step
    4-worked after this step
    5-didn’t work after this step

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Well … That actually tells me something. But you won’t like it.

    Your server isn’t parsing .htaccess correctly. Now. That could be because of what you did in the file, it could be your server, or it could be the account on the server. But that’s a lost of debugging to go through.

    After step 5, what was the complete and total content of your .htaccess file?

    Vincent Tobiaz

    @vinautomatic

    Plain wordpress htaccess is what it is after:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Vincent Tobiaz

    @vinautomatic

    im like 99% sure it was that htaccess (but that isn’t what your theory suggest I think), but let me double check tonight I will re-try these steps.

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    Do me a weird favor… use this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    I have a sneaking feeling that will crap out and ERROR on your site. And if so, that’s GOOD! It would mean that mod_rewrite is ganked.

    Vincent Tobiaz

    @vinautomatic

    Changed htaccess, everything worked fine after the change, went to update a page and blog post permalink still broke.

    I have a couple of ideas I will try out as well.

    For instance, when reading this: http://codex.wordpress.org/Changing_The_Site_URL

    I see in the database that it has some old URLs from previous locations of this blog (another directory and also even was a wordpress.com blog before that)

    I will try to get the database URLs to align with each other.

    Meant to post this before but never finished…sorry…

    tonbotoka

    @tonbotoka

    You are certainly not the only one having that issue. Mostly, I attribute it to me not knowing how to do anything properly, though…

    Vincent Tobiaz

    @vinautomatic

    ok, I think I figured it out

    guy had moved his site ANOTHER time before this, thus when I did the find and replace in the DB it only changed the single previous wordpress install location, guy had about 400 pages/posts so I didn’t see that until I looked through all of them. So I did the find and replace for the other previous wordpress install location and it seems to be working fine, will confirm again after I finally fix the other things.

Viewing 15 replies - 16 through 30 (of 36 total)
  • The topic ‘Ok People of WordPress, It's About Time…’ is closed to new replies.
Skip to toolbar