SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Nov 2008
    Posts
    167
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Wordpress posts not Resolving to Valid URL with Custom Permalink

    Hi all,

    I just set up my Wordpress site at http://www.livestreams2009.com

    When I changed the permalink structure to a Custom structure - /%postname%/ none of the posts get resolved when you click on the link from the homepage.

    But when I leave the default Wordpress Permalink Structure (eg: http://www.livestreams2009.com/?p=123), the post links get resolved perfectly.

    My .htaccess file looks like the one below;

    Code:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Please help

  2. #2
    SitePoint Addict joaquin_win's Avatar
    Join Date
    Jul 2005
    Location
    Venezuela
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Confirm that mod_rewrite is really working:

    change htaccess content to:

    Code:
    RewriteEngine On
    RewirteRule . http://google.com/ [R=301,L]
    If request to your site are redirected to google, then mor_rewrite is working. If not make sure it is enabled.

    If it does work, then I'm not sure what the problem is. The htaccess looks like a correct wordpress htaccess.

    You could check if it has the correct read/write permissions: maybe it has not enough or too few permissions (some webhosts block access to world-writable files).


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •