Forums

Turning on Pretty URLs breaks site. (10 posts)

  1. revoltpuppy
    Member
    Posted 1 year ago #

    Hello, I am having trouble with turning on Pretty URLs.

    My WordPress is installed in the /blog directory.

    Under Settings < Permalinks < Common Settings, it is set to Default. If I change it to anything else, my blog fails to load content, saying "Apologies, but the page you requested could not be found. Perhaps searching will help."

    There are no errors reported, and the rules are inserted into the .htaccess file.

    What's the next strategy?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Is mod_rewrite enabled on your server? Did you update your .htaccess file (or it writeable)?

  3. el.danieldeepak
    Member
    Posted 1 year ago #

    Even i get the same problem. What to do?

  4. revoltpuppy
    Member
    Posted 1 year ago #

    I'm pretty sure mod_rewrite is turned on, considering the default htaccess had some mod_rewrite commands in it, but if there's a way to tell for sure, how could I do this?

    And yes, the changes were made in my htaccess file when WordPress updated it.

  5. el.danieldeepak
    Member
    Posted 1 year ago #

    can i have a permalink like this yourdomain.com/%postname% ?

  6. 123milliseconds
    Member
    Posted 1 year ago #

  7. revoltpuppy
    Member
    Posted 1 year ago #

    I don't think I have access to any command line stuff, as my site is being hosted through Dreamhost.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    the default htaccess had some mod_rewrite commands in it

    Have you tried removing those rewrite rules temporarily?

  9. el.danieldeepak
    Member
    Posted 1 year ago #

    Do not use %postname% alone with wordpress version > 2.7 .

    Instead try using %category%/%postname%

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic