Forums

Help - only homepage works - all other links 404 (5 posts)

  1. gfcampbell
    Member
    Posted 3 years ago #

    had a little corruption trouble with my HTAccess file and hosting co corrected that for me (was getting 500 error) and now I only get the index page, all other pages are 404.

    site is luckyrobot.com

    Can someone help me out?

  2. gfcampbell
    Member
    Posted 3 years ago #

    I think I fixed it... changed my permalink settings from w/m/d back to default, then back again.

    No I need to reconnect my disqus comments back in...

    Thanks,G

  3. dblast
    Member
    Posted 2 years ago #

    This just happened to me. Any ideas why the permalinks changed all by them selves?

  4. jimmy779
    Member
    Posted 2 years ago #

    Happened to me too. It would be interesting to know why it works by changing the permalinks. Please share, if you do know, thanks.

    Jimmy Deng

  5. PBP_Editor
    Member
    Posted 2 years ago #

    mod_rewrite is usually the issue here. make sure it is enabled in the server configuration

    If you are on apache make sure rewrite module is enabled

    You can got to the httpd.conf file and change this

    #LoadModule rewrite_module modules/mod_rewrite.so

    remove the # and it will be active.

    If you dont have access to this file you can drop this in your htaccess file which should be on your server root

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.