• Resolved paulboner

    (@paulboner)


    I just started clicking on my pages….. any of them….. they all 404

    I log into admin….. they are all there %100

    They were all working just yesterday when I checked the site and nothing has been changed

    Any ideas?

    site is https://www.streamsouthpark.com

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you do any modification to the permalink? If yes try to reverse what you did. When ever the permalink is set the WP will write some script to .htaccess file which is in your WP root folder. If your root folder is not writable than the WP should have shown the code to put in that file.

    any way check and make sure the .htaccess file is ok!

    Thread Starter paulboner

    (@paulboner)

    Thanks,

    I checked the .htaccess file….. it’s 0 KB in size….. it also says in Filizilla that it was last modified like 30 minutes ago?? I don’t know what’s going on

    what’s the permalink?

    Thread Starter paulboner

    (@paulboner)

    Ok, I checked the permalinks…. nothing has changed

    If you check the site, all the links go to the correct URLs (and that page has the correct permalink)…. but EVERYTHING goes to a 404 page. The pages are there, I don’t get it.

    It doesn’t even go to my default 404 page that wordpress has….. the one that shows my site with a search box saying something like, “ooops there’s no page here”

    Help?

    Thread Starter paulboner

    (@paulboner)

    I don’t know anything on .htaccess files but it would make sense that something changed here somehow. Anyway to reset this or fix this?

    Help?

    download the .htaccess file and open it with notepad and check what’s in there. the default entry as follows

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

    the jaffnacity is my site name. so you will have yours. Don’t copy and paste this information to your .htaccess file.

    Try resetting your custom permalinks back to the default setting via Settings -> Permalinks. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

    Thread Starter paulboner

    (@paulboner)

    Woo! My site is fixed. Thanks friends!!!!!!!

    Thanks nsathees…… that didn’t work…. but a simple Google search of, “default .htaccess wordpress” turned this up…….

    WordPress doesn’t have a “default” htaccess per se. If you’re using the default permalink structure you won’t have that file. (unless you manually created it) If on the other hand you want to use so-called “pretty permalinks” WordPress will automatically create that file. Be advised that using “pretty permalinks” requires your server to have mod_rewrite (an Apache module that rewrites permalinks on the fly) enabled.

    Here is a very basic htaccess file using “pretty permalinks”

    # BEGIN WordPress

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

    # END WordPress

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘All my pages are suddenly 404 – HELP?’ is closed to new replies.