WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] changed my server, permalinks not working ok

[Resolved] changed my server, permalinks not working ok

  • i have a blog, and i was using permalink 301 redirection plugin to redirect my previous posts:
    http://www.myblog.com/?p=20
    to my new way:
    http://www.myblog.com/google/stuff.html
    /category/postname.html or something.

    i have moved today to my new server, and i get 404 error pages when trying to access my blog posts. the only way i can use permalinks is this way:
    http://www.myblog.com/index.php/category/postname.html
    or anything, it must have /index.php/ before the category and the postname. With that way, my blog works. But i dont want that ugly /index.php/ in the name of the posts.. can it be something related to .htacess? this is what it looks like now:

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

    # END WordPress

    thanks if u can help me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • this error was because i had mod_rewrite not enabled. i have enabled it now, i have checked that it works by redirecting another page. But i cant still use pretty permalinks! they keep me getting a 404 error page. i think the error is in the .htaccess:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !index.php
    RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
    </IfModule>

    # END WordPress

    because my config on my apache doesnt have a module mod_rewrite.c because its not needed anymore on apache 2.0
    whats the way my .htaccess should be? any sugerence?

    desactivated, then activated the redirection plugin. Now all works fine. this helped me as a diary to solve my problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] changed my server, permalinks not working ok’ is closed to new replies.