Wordpress Permalink

Discussion in 'PHP' started by mackdesi, Oct 7, 2008.

  1. #1
    :eek::eek:

    Hi all,

    I am starting a new wordpress site and I already have the All in One Seo plugin running on there. But I am getting some 404 errors.

    For some reason WP is not handling the Special Characters in the Slug. This is an old DB that I am trying to build a site from as such The Title has special Characters like : ; & !

    Unfortunately there are tons of these in at least over 1000 different titles and the slugs carry them over.

    Any way I could change this through the phpmyadmin or through some tweaking of the plugins ??

    Do share your knowledge
     
    mackdesi, Oct 7, 2008 IP
  2. NatalicWolf

    NatalicWolf Peon

    Messages:
    262
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you sure your htaccess is working? Sounds more like a mod_rewrite issue.
     
    NatalicWolf, Oct 7, 2008 IP
  3. mackdesi

    mackdesi Guest

    Messages:
    293
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think rewrite is working alright ... its just that this is an old DB

    and I am creating this WP site from that.

    if I create a new post or edit an existing post it works right away

    Example :

    If the post title reads

    "This is Awesome!"

    then the permalink would be "mysite.com/category/postname/" so ... "mysite.com/seo/this-is-awesome!"

    of course due the the "!" this gives a 404

    the current .htaccess has the following

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /mysitesfolder/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /mysitesfolder/index.php [L]
    </IfModule>

    # END WordPress
     
    mackdesi, Oct 7, 2008 IP
  4. NatalicWolf

    NatalicWolf Peon

    Messages:
    262
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That doesn't appear to be the right rewrite...That just check if they requesting a file that doesn't exist and it returns them to the index page. I don't know how wordpress works on a request scale, so I'll recommend you to a site instead: http://www.searchenginejournal.com/seo-friendly-url-structure/4556/ I hope it helps in some way. But since I don't personally use WP, I can only over some pointers.
     
    NatalicWolf, Oct 7, 2008 IP