• Resolved borongas

    (@borongas)


    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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 https://codex.www.ads-software.com/Using_Permalinks

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

    Thread Starter borongas

    (@borongas)

    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

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

    Thread Starter borongas

    (@borongas)

    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

    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?

    Thread Starter borongas

    (@borongas)

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

    Thread Starter borongas

    (@borongas)

    Fixed.

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

    Thanks for the help!

    Cheers
    B

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Permalink help’ is closed to new replies.