Forums

[resolved] Permalink help (9 posts)

  1. borongas
    Member
    Posted 4 months ago #

    I have followed the extremely poor documentation on permalinks and still cannot get this working, if someone could please help that would be great.

    I created a blank file, called .htaccess, and placed it in my document root folder. (/var/www/html)

    I am assuming that is the right place for it since there is no documentation that tells me where this file belongs or what to put inside of it.

    I gave the file read/write permissions and then I enabled permalinks in WP. I got the message "Permalink Structure Updated" but when I navigate through my pages they are not coming up. All blank except the main home page.

    Can someone please help me get past this? Thank you in advance.

    -B

  2. kmessinger
    Member
    Posted 4 months ago #

    WordPress's index.php and .htaccess files should be together in the directory indicated by the Site address (URL) setting on your General Options page.

    from http://codex.wordpress.org/Using_Permalinks

  3. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Check with your hosts that mod_rewrite is running on your server.

  4. borongas
    Member
    Posted 4 months ago #

    Kmessinger- There is a file called index.php in html folder where I placed .htaccess (var/www/html).That is wordpress folder for my site, everything is in html.

    Esmi- I am the host, lol, mod_rewrite is not commented out in /etc/httpd/conf/httpd.conf so I am assuming it's running. Is there a way to test this?

    Thank you!

    -B

  5. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    If your wp-config.php file is in that folder, then that's where your .htaccess file should also be.

  6. borongas
    Member
    Posted 4 months ago #

    Ok, the file is in the right place.. Can anybody tell me why it's not working??

    This is the contents of my .htaccess file..

    #BEGIN WordPress

    #END WordPress

    Thanks!
    B

  7. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    The rewrite rules aren't being added. when you switch from one custom permalink structure to another and update the permalinks, do you see a message about the .htaccess file not being writeable?

  8. borongas
    Member
    Posted 4 months ago #

    Nope, I can switch between the permalink structures and it says "permalink structure updated" every time.

  9. borongas
    Member
    Posted 4 months ago #

    Fixed.

    Changed allowoverride to all in /etc/httpd/conf/httpd.conf

    Thanks for the help!

    Cheers
    B

Reply

You must log in to post.

About this Topic

Tags