WordPress.org

Ready to get started?Download WordPress

Forums

Ok People of WordPress, It's About Time... (37 posts)

  1. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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?

  2. Vincent Tobiaz
    Member
    Posted 3 years ago #

    Before it's too late, yes of course i've been to the wordpress article about permalinks millions of times, and about 200 other pages on the topic as well

  3. ClaytonJames
    Member
    Posted 3 years ago #

    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,

    Is it possible that you might be encountering some sort of odd behavior dictated by the way (the order) by which directives are being applied? What I think I mean is, if there is an .htacces file in /root, and another .htaccess file in /root/blog, could httpd be applying the directives from two different files in such a way as to cause you 404's?

    Is it possible that an .htaccess in a sub-directory could be subject to the rules found in the .htaccess file in the directory above it first?

  4. Vincent Tobiaz
    Member
    Posted 3 years ago #

    Yet again, another wordpress install, different server another bunch of dead permalinks

    This is getting seriously ridiculous. What a waste of time.

    In this example, http://www.innovative-results.com

    The blog and pages itself work fine but if you try to get to an individual post I get a post not found.

    NEVER seen this before. WordPress permalinks continues to surprise me and make life miserable.

  5. Vincent Tobiaz
    Member
    Posted 3 years ago #

    for every WP install I do I will post here the permalink results just to make a point and get the word out that this NEEDS to be fixed in an upcoming version.

  6. You know... The problem here is that no one can reproduce this. I don't think its WordPress. I think you've got a weird server or a bad setup.

    But if you really think this is WordPress, you should open a bug report in trac.

  7. Vincent Tobiaz
    Member
    Posted 3 years ago #

    this is with literally dozens of different hosts

    only like 20% of them work correctly, especially since there's so many odd setups in the industry

  8. Vincent Tobiaz
    Member
    Posted 3 years ago #

    by odd setups i mean is previous work done on sites, redirects, htaccess files, but I have taken all out and let wordpress refresh everything on a lot of them and still no dice...

  9. I've set up hundreds of sites and NEVER had any issues like this.

    What's in your htaccess and what are your permalinks? Just pick on you can still edit. Maybe we have an answer.

  10. Vincent Tobiaz
    Member
    Posted 3 years ago #

    I hope so :)

    http://www.innovative-results.com/personal-fitness-training-blog/

    All the continue reading links...are not founds.

    I just pasted a fresh htaccess in with the normal stuff:

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

    updated my permalinks to
    /personal-fitness-training-blog/%postname%/
    and /%category%/ /%tag%/ like usual.

  11. Is wordpress installed in personal-fitness-training-blog?

    I mean, is your index.php and WP-config.php in that folder? If so, you should NOT have that in your permalinks.

    What folder is your .htaccess in?

  12. Vincent Tobiaz
    Member
    Posted 3 years ago #

    No, it's installed in the main directory which is also where htaccess is.

  13. Vincent Tobiaz
    Member
    Posted 3 years ago #

    on a side note, this is bluehost, no redirects set in cpanel as well

  14. Vincent Tobiaz
    Member
    Posted 3 years ago #

    i just fixed it....

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

    For the win, again.

    Edit: This is definitely something with WordPress.

    Double Edit: Or so I think...i really may never know.

  15. No... And if you keep giving up, you're never going to get this resolved.

    And I repeat. You should open a trace ticket if you truly feel this is WordPress.

    Reading that link, I see this:

    3. From the dashboard, set permalinks to “Custom Structure” of your choice and Save it.
    Mine is: /index.php/%year%/%monthnum%/%day%/%postname%/

    Are you using index.php in your permalinks?

  16. Vincent Tobiaz
    Member
    Posted 3 years ago #

    No Actually i'm sorry for the confusion

    This fix works modified.

    I set to default, like he says in the previous step, but continue to use the same permalink structure I wanted, with no issue whatsoever. Then I replace with the original rewrite.php file in wordpress to remove the php errors.

    What is this bug tracker you speak of? I just googled and found it - looks confusing lol.

    So I just tried to login with my same credentials as the forum and LOL It doesn't work.

    WHY ME?! :( *sigh*

  17. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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.

  18. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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.

  19. 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.

  20. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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.

  21. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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.

  22. Vincent Tobiaz
    Member
    Posted 3 years ago #

    nope, no dice there

    updating a page or post or publishing one breaks permalinks

  23. 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.

  24. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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

  25. 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?

  26. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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

  27. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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.

  28. 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.

  29. Vincent Tobiaz
    Member
    Posted 3 years ago #

    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...

  30. tonbotoka
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic