• Zexanima

    (@zexanima)


    Okay so here is the wp site.
    https://usingallvoid.com/blog/

    As you can see, pages are not loading. Here is my /var/www/html/.htaccess

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

    Now if I change that to add RewriteBase /blog/ It works, but my page title says Page not found Not to mention if I change certain settings such as my permalink I have to reconfigure my .htaccess file all over manually. Any suggestions?

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

Viewing 7 replies - 1 through 7 (of 7 total)
  • dauidus

    (@dauidus)

    Make a backup of your current htaccess file. Then try deleting it on the server. A default file should be made in its place (at least, I believe this worked for me a while back). If not, you can always restore your backup.

    dauidus

    (@dauidus)

    Did this work for you?

    Thread Starter Zexanima

    (@zexanima)

    Nope, it just creates the default file with the settings I listed earlier.

    Thread Starter Zexanima

    (@zexanima)

    Any other suggestions?

    Thread Starter Zexanima

    (@zexanima)

    Okay, so I copied my index.php to my websites root directory. WP works fine now. However, when I visit my site it doesn’t display my index.html anymore and goes directly to my WP. I’ve checked apache’s httpd.conf and index.html is prioritized over index.php. Any suggestions?

    Thread Starter Zexanima

    (@zexanima)

    Problem solved (mostly).

    1) Had to have a copy of index.php in WP directly and site root directory.
    2) In site .htaccess I needed this line
    DirectoryIndex index.html index.php

    and in WP .htaccess it needed to be

    DirectoryIndex index.php index.html

    Thread Starter Zexanima

    (@zexanima)

    It’s not loading my wordpress title though. It just says “Page not found”

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Some issues with permalinks, htaccess, and all that.’ is closed to new replies.