WordPress.org

Ready to get started?Download WordPress

Forums

.htacces and permalink problem (7 posts)

  1. jupaneanu
    Member
    Posted 7 years ago #

    I'm trying to make my permalink pretty...have been trying for two hours, but I'm just too dumb. I.ve created, uploaded and renamed the .htacces file to the root folder of my blog, made it writable, readable(664, tried 666 but wordpress wouldn't write anything in it). I've chosen my permalink structure and wordpress wrote this into the .htaccess file: # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    but I only get 404 error pages.Is there something I have to do next??? Please help a noobie with a slow brain!

  2. mrkingid
    Member
    Posted 7 years ago #

    after you change the permalink, have you just not done anything for 30 minutes or so? Just let it be for abit while the server does its thing.

  3. jupaneanu
    Member
    Posted 7 years ago #

    Yes I tried what you said. Nothing happened for a day.

    I've contacted my hosting service, and they said URL rewrote isn't possible because I have hosting for Windows and that feature is only available for Linux hosting packages.

    BUT I know somebody who has the same hosting service and his permalinks work just fine. Unfortunately for personal reasons I can't ask him for advice
    I'm really depressed, my pages look hideous.
    Do they affect traffic these ugly permalinks, or is the change to pretty ones just recommended for esthetic purposes?

    I'

  4. Chris_K
    Member
    Posted 7 years ago #

    Check out the Permalinks documentation here. In particular, look at the "Almost Pretty" permalinks -- you can use those, no mod_rewrite necessary.

  5. jupaneanu
    Member
    Posted 7 years ago #

    Thank you for your advice HandySolo, but it didn't fully resolve my problem. Turns out even the almost pretty permalinks didn't work so I uploaded a php.ini file to my webroot as instructed in the documentation. Now the homepage opens but when I click on a post or page it still gives me 404 error...any ideas, please?

  6. JeremyVisser
    Member
    Posted 7 years ago #

    I've contacted my hosting service, and they said URL rewrote isn't possible because I have hosting for Windows and that feature is only available for Linux hosting packages.

    I think you just answered yourself. Move to a Linux plan. (It'll save you a lot of headaches in the long run; not just in terms of permalinks.)

  7. jupaneanu
    Member
    Posted 7 years ago #

    Yeah I suppose it would be a solution, only problem is I don't a thing about Linux operating system, almost permalinks don't work either though...although I implemented the two lines of code specified, just in case I have IIS 6...I don't know what to do anymore...I've almost given up.

Topic Closed

This topic has been closed to new replies.

About this Topic