wordpress permalink problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OTerror
    Confirmed User
    • Aug 2005
    • 2527

    #1

    wordpress permalink problem

    I'm trying to change the default "ugly" directory to post..it says to edit my .htaccess file but I dont see one in wordpress how can I fix this?
    ICQ 424142850
  • scouser
    marketer.
    • Aug 2006
    • 2280

    #2
    You might need to make one.
    For me, wordpress (2) always creates the .htaccess file for me though.........

    Comment

    • StarkReality
      Confirmed User
      • May 2004
      • 4444

      #3
      If you are using a newer version of wordpress, there is no need to write anything to a .htaccess file (which can be made in a text editor, named to .htaccess and uploaded) because wordpress handles permalinks internally.

      Go to -> Options -> Permalinks in your admin navigation, select "Custom, specify below" and insert something like /%post_id%-%postname%.html

      The example above would create permalinks like /124-the-name-of-my-blog-post.html

      Advantages:
      1. No ugly deep directory structure, which would prolong the process of g**gle crawling your blog
      2. If you create two posts with the same title, which can happen easily, for example if you import large sponsor feeds, it's still two seperate permalinks because of the unique post id in front.
      3. Keywords repeated in the .html file name
      4. Changes in category name or deletion of categories don't affect the posts or make them invalid.

      Comment

      • OTerror
        Confirmed User
        • Aug 2005
        • 2527

        #4
        Originally posted by StarkReality
        If you are using a newer version of wordpress, there is no need to write anything to a .htaccess file (which can be made in a text editor, named to .htaccess and uploaded) because wordpress handles permalinks internally.

        Go to -> Options -> Permalinks in your admin navigation, select "Custom, specify below" and insert something like /%post_id%-%postname%.html

        The example above would create permalinks like /124-the-name-of-my-blog-post.html

        Advantages:
        1. No ugly deep directory structure, which would prolong the process of g**gle crawling your blog
        2. If you create two posts with the same title, which can happen easily, for example if you import large sponsor feeds, it's still two seperate permalinks because of the unique post id in front.
        3. Keywords repeated in the .html file name
        4. Changes in category name or deletion of categories don't affect the posts or make them invalid.
        Thanks Ill give this a try see if it works.
        ICQ 424142850

        Comment

        • OTerror
          Confirmed User
          • Aug 2005
          • 2527

          #5
          did not work it says to update my .htaccess file
          ICQ 424142850

          Comment

          • Fat Panda
            Porn is Dead. Move along.
            • Aug 2006
            • 13296

            #6
            i have always had to paste the code they give you into notepad, then save as .htaccess and upload it to you sites root directory...good luck

            Comment

            • Fat Panda
              Porn is Dead. Move along.
              • Aug 2006
              • 13296

              #7
              i have always had to paste the code they give you into notepad, then save as .htaccess and upload it to you sites root directory...good luck

              Comment

              Working...