WordPress --> PermaLinks --> Nightmare

Discussion in 'WordPress' started by WebGyver, Jul 30, 2007.

  1. #1
    I think I accidentally blew up my BLOG over the weekend.

    http://www.webgyver.info

    First, I thought it would be a good idea to change the PermaLink structure from "ugly" to something more SEO-friendly.

    Now, I can't get to some of my posts, other posts only show up with some of the information, and I'm receiving tons of 404 notifications.


    Questions:

    1. Has anyone done anything similar (and successfully resolved it)?

    2. What do I need to do to my .htaccess file to fix this? And does anyone have a working example?

    3. Is there anything I need to change in the database to make the links work again?

    4. Is there any PHP code I need to add to my index.php?



    Any and all help would be greatly appreciated.

    Yes, I have been Google-ing this thing to death since Saturday. No luck. Most everyone refers to the WordPress documentation, which is shrouded in mystery (all the examples are very abstract).

    Any real-world experience would be greatly appreciated.



    PS: Yes, I have seen http://forums.digitalpoint.com/showthread.php?t=412782 and had already changed the .htaccess to 666 -- didn't seem to make any difference.
     
    WebGyver, Jul 30, 2007 IP
  2. kaltek

    kaltek Peon

    Messages:
    307
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm no expert but did you try "Update permalink structure" ?
     
    kaltek, Jul 30, 2007 IP
  3. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #3
    What have you entered in Options > Permalinks ?
    Try:
    Custom structure: /%postname%.html

    And try this in your htaccess:
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Code (markup):
    That's what I use on all my blogs to get urls like:
    domain.com/post-name.html
     
    Kerosene, Jul 30, 2007 IP
  4. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Look under the permalinks option in the control panel and it will provide you with the code needed to add to the .htaccess file.

    It certainly looks to be the cause of the problem.
     
    cormac, Jul 30, 2007 IP