Wordpress .htacess and permalinks issue

Discussion in 'WordPress' started by nebraskaemarketing, Jan 21, 2008.

  1. #1
    I converted a joomla site to wordpress. That part went ok. I then followed the instructions from the wordpress forum to move the copied wordpress blog into the root directory. The core wp files are in the sub-directory I created, and I replaced the index.php file in the root with the modified index.php file..(./wp-blog-header.php changed to ./my_sub_dir/wp-blog-header.php) The .htaccess file only got the wordpress code appended to the old joomla .htaccess file at the end.

    Everything's worked perfect so far...and the site loads and navigates fine. The problem is the pages that are indexed by the search engines are like this:

    http://www.mydomain.com/news/the-effects-of-stress/burnout-can-be-caused-by-stress.html

    The blog permalinks are like this:

    http://www.mydomain.com/news/the-effects-of-stress/burnout-can-be-caused-by-stress

    ***no .html at the end, also, here's my current permalink structure: /%category%/%postname%

    I know it's probably something easy with .htaccess, and I don't want to mess up the work I've done so far...or loose the few hundred pages I have indexed so far.

    Any help would be appreciated. :D
     
    nebraskaemarketing, Jan 21, 2008 IP
  2. Veej

    Veej Active Member

    Messages:
    364
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
  3. Houdy

    Houdy Peon

    Messages:
    267
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try this as a permalink structure: %postname%.html
     
    Houdy, Jan 21, 2008 IP
  4. nebraskaemarketing

    nebraskaemarketing Well-Known Member

    Messages:
    169
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #4
    That's what I did and it worked: /%category%/%postname%.html
     
    nebraskaemarketing, Jan 21, 2008 IP