how to set mod_rewrite on wordpress for SEO friendly URL's

Discussion in 'Databases' started by FanAddict, Oct 7, 2006.

  1. #1
    ^ title basically says it... my site is www.portablemp3players.info as you can see none of the full story links are SEO friendly with description url's....

    How can I do this?
     
    FanAddict, Oct 7, 2006 IP
  2. intoex

    intoex Peon

    Messages:
    414
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    explore preferences in admin panel - there is format of links - in this case WordPress will generate .htaccess file
     
    intoex, Oct 7, 2006 IP
  3. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #3
    Yes, I was told that my hosting doesn't support that, and I was wondering if there was a way in Cpanel to turn it on...
     
    FanAddict, Oct 8, 2006 IP
  4. intoex

    intoex Peon

    Messages:
    414
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hm, contact better host admin
     
    intoex, Oct 8, 2006 IP
  5. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #5
    I just contacted my hosting support, it will probably be a week before I hear back unfortunetly :(
     
    FanAddict, Oct 8, 2006 IP
  6. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #6
    Okay, I asked my hosting company what I should do.. they said add:

    php_flag
    mod_rewrite on

    To my .htaccess file... when I do I get errors.. here is my .htaccess file:
    DirectoryIndex index.php
    Options -MultiViews

    <IfModule mod_php4.c>
    </IfModule>

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^dir/(.*) sefriendly.php
    </IfModule>





    Anyone know what's up??
     
    FanAddict, Oct 8, 2006 IP
  7. Affector

    Affector Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    h-m-m, I had some problems (similar kind) with Joomla, but after "rewritengine On" all work fine, even I never looked into his magic .htaccess and never asked what is it? Simple it works.
    :)
     
    Affector, Oct 11, 2006 IP
  8. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #8
    Yes thank you all has been sorted out now :)
     
    FanAddict, Oct 17, 2006 IP