.htaccess help needed. block of green rep will be given

Discussion in 'WordPress' started by pilar, May 28, 2008.

  1. #1
    Hi there,

    For a new website www.demakelaarinzwolle.nl I am trying to configure the permalinks and .htaccess file. Currently a post is appearing as following: http://www.demakelaarinzwolle.nl/?p=4 (default WP permalink).

    I am have installed a plugin named "All in One SEO Pack" by Uberdose, but unfortunately the post is not showing up as I wished. I think it has something to do with the .htaccess file.

    Can anybody help me with this how to config the .htaccess file?

    Currently it's like this:

    
    
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/~demakelaar/demakelaarinzwolle.nl(.*) [NC]
    
    RewriteRule ^(.*)$ /~demakelaar/demakelaarinzwolle.nl/$1
    
    
    Code (markup):
     
    pilar, May 28, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Have you actually changed your permalink structure in WordPress? I don't believe the All in One SEO Pack does that for you.
     
    mizaks, May 28, 2008 IP
  3. pilar

    pilar Peon

    Messages:
    863
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No have not, should i do that first?
     
    pilar, May 28, 2008 IP
  4. Jodarl

    Jodarl Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I assume you checked your Permalinks setting is set to the 2nd or 3rd option.
    This is the setting I use for my site
    As for the .htaccess file, maybe you try the below, it works for me.

    Hope this help.
     
    Jodarl, May 28, 2008 IP
  5. gr8liverpoolfan

    gr8liverpoolfan Notable Member

    Messages:
    6,719
    Likes Received:
    538
    Best Answers:
    0
    Trophy Points:
    285
    #5
    Go to your permalinks, and choose the option you want.

    If your htacess is writable, WP will do it automatically. If not, copy the code and enter it into your htaccess.
     
    gr8liverpoolfan, May 28, 2008 IP
    pilar likes this.
  6. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Go to permalinks and change it to whatever format you want to use, i personally use %category% %postname% (don't copy paste but use the wordpress permalinks help page for your desired format, even if it is this one). Then CLICK save. If you have server side writing enabled for htaccess it should work with one go. If not then it will give you a message that you have to manually update htaccess cause its not possible for them to edit it automatically. What exactly should be written in your htaccess will be given to you there. Copy the code given, and open up htaccess and add anywhere below your already existing codes. Save it. Now try browsing/viewing the site and if it will work. Help is always a pm or a post away. And trust me, it will work :) Cheers.
     
    godsofchaos, May 28, 2008 IP
    pilar likes this.
  7. pilar

    pilar Peon

    Messages:
    863
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks guys.. it works now. Rep has been added
     
    pilar, May 28, 2008 IP