WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] HTACCESS Breaks Site, Pretty Permalinks aren't working (13 posts)

  1. madhatterdesign
    Member
    Posted 5 years ago #

    So on this URL: http://cecicreative.com/blog/

    I cannot get Pretty Permalinks to work. I tried some suggestions I found to add an .htaccess file and allow it to be writable by Worpdress, but the htaccess file breaks the site completely, including the admin section.

    What needs to be done? Do I need to contact my web host? If so, what do I need to tell/ask them?

    Thanks in advance!

  2. madhatterdesign
    Member
    Posted 5 years ago #

    Also, I'm not using any plugins, so I know they aren't causing the issue. I've searched the forums and can't find anything that resolves my issue.

    I am happy to provide any information needed. Thanks in advance.

  3. djavin
    Member
    Posted 5 years ago #

    Maybe try and add this in a .htaccess:

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

    # END WordPress

    This is what my installation of WP adds to the .htaccess when i turn on pretty perma links. I don't know if it will work, but give it a try anyway :)

  4. madhatterdesign
    Member
    Posted 5 years ago #

    Thanks, djavin, I did try this. It breaks the site completely, coming up with an internal error.

    Any other ideas? Again, is this something I need to contact my webhost about? If so, what exactly do I need to ask them to do?

    Any help is appreciated. Time is getting short! Thanks!

  5. Samuel B
    moderator
    Posted 5 years ago #

  6. chanel
    Member
    Posted 5 years ago #

    Don't listen to anyone that tells you it's not possible (ie: http://wordpress.org/support/topic/245465?replies=18). Contact your host and if they are on a Linux server, they can allow it to happen for you.

    That's what I did last night.

  7. Samuel B
    moderator
    Posted 5 years ago #

    Don't listen to anyone that tells you it's not possible

    you, however, are on a linux server - so your comment is not pertinent

  8. chanel
    Member
    Posted 5 years ago #

    you, however, are on a linux server - so your comment is not pertinent

    Well, I was told it still cannot be done, even though I am on a Linux server. That's why I said that.

  9. madhatterdesign
    Member
    Posted 5 years ago #

    The site is hosted on a Linux server. I still have not gotten this figured out. Anyone else having this problem??

    By the way, none of the alternative permalink structures are working for me. Only the default, which is unacceptable.

    Any idea why the htaccess file breaks the site completely?

    When I contact my webhost, what do I need to ask them to do for me? Please, anyone?

  10. chanel
    Member
    Posted 5 years ago #

    Call your host and ask them to do it for you. For me, I had to submit a service ticket thru their help desk. I think they did more than tamper with the .htaccess file. My host is Host Dime.

  11. madhatterdesign
    Member
    Posted 5 years ago #

    Ask them to do what, though? That's what I'm not understanding. I've contacted them with a general "help me" but gotten no response. It's a client's website, not mine, so I have no control over who the web host is.

    Thanks for your help, chanel!

  12. madhatterdesign
    Member
    Posted 5 years ago #

    Ok, I contacted the web host and there was just an issue with the htaccess file. They've fixed it, but WordPress' permalinks page still shows that the mod_rewrite wasn't added...even though it has been at this point. Oh well...it's working so I'm happy.

  13. akkaralol
    Member
    Posted 4 years ago #

    Even though your issue has been resolved, I thought I'd post a solution to others having this problem (there seem to be quite a few people with the issue).

    If your installation is in a directory other than the root (in this case /blog/), change the line in your .htaccess

    RewriteBase /
    to
    RewriteBase /blog/
    and also change
    /index.php
    to
    index.php
    (remove the slash) as it's not in the root directory.

Topic Closed

This topic has been closed to new replies.

About this Topic