• Suddenly I can no longer reach my previous entries or archived stuff. Attempts to do so give 404.

    I know they are on the server database because I can see them if I go to the DB directly.

    Also, if I login to administer the blog I can find all the earlier posts and edit them (but not view them). So why don;t the links to archived material etc.work any more (they have worked OK for 18 months).

Viewing 9 replies - 1 through 9 (of 9 total)
  • Your blog’s address is https://www.accampbell.uklinux.net/blog/ but the previous links are https://www.acampbell.org.uk/blog/page/2/

    (They also appear to be javascript generated, since my cursor doesn’t change on mouseover, nor does right clicking allow me to “Copy shortcut”.)

    Are you sure you have the right settings in options?

    Thread Starter anthonycampbell

    (@anthonycampbell)

    I tried changing Options to https://www.accampbell.uklinux.net (thus cutting out the referral for my domain name) but the same thing happens. I think the links to the archive is wrong in some way but I don’t know how this has happened or what to do about it.

    Have you change permalinks options recently?

    Thread Starter anthonycampbell

    (@anthonycampbell)

    No.

    A couple of people have suggested I need .htaccess.
    Is that correct, and what should it contain?

    Generally they contain something similar to what is below:

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

    # END WordPress

    WordPress ought to either generate this file for you, or it will give you the code for it. That depends upon whether or not .htaccess is writeable. It’s actually more secure if it isn’t writeable, so just put the code it gives you into a file, save it as htaccess.txt (windows PCs don’t let you save things to .htaccess) and upload it to your root, then change the filename to .htaccess.

    Obviously, if you already have an .htaccess file there, you’ll want to keep it, so just add the code to the end of the file.

    Thread Starter anthonycampbell

    (@anthonycampbell)

    Thanks for this. In the meantime I had a look at Permalinks. I found I had customized this a long time ago according to the docs, but I reverted to the default and the archives etc are now coming up!

    However there is an odd problem with logging in to administer the blog. When I am doing this on Firefox with my desktop I get a Site Admin prompt and this takes me into the admin page without asking for a password. I can then write, edit etc without difficulty.

    If I use a different browser or the same browser on a different computer I get a “Login” request and then I cannot log in at all. I tried changing the passoword using the method above but this does not help.

    Thread Starter anthonycampbell

    (@anthonycampbell)

    Thanks for this. But HOW do I get WP to produce this code?

    In the meantime I had a look at Permalinks. I found I had customized this a long time ago according to the docs, but I reverted to the default and the archives etc are now coming up!

    However there is an odd problem with logging in to administer the blog. When I am doing this on Firefox with my desktop I get a Site Admin prompt and this takes me into the admin page without asking for a password. I can then write, edit etc without difficulty.

    If I use a different browser or the same browser on a different computer I get a “Login” request and then I cannot log in at all. I tried changing the passoword using the method above but this does not help.

    How did you manage to change the password, sorry I didn’t quite follow you there…

    The reason you can still login when you are using the same browser/computer, is because you still have the cookies that tell WP you are logged in. Other browsers and computers don’t have these cookies, which is why you are asked to login again.

    Thread Starter anthonycampbell

    (@anthonycampbell)

    I thought that might be it. Unfortunately I can now no longer log in!

    While I was still logged in earlier I set the password but it doesn’t seem to work.

    I have never managed to get the Send Password feature to work.

    When this happened once before I went into the database and changed the password there, but I don’t think that is what needs doing now.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Previous entries, archives can’t be reached’ is closed to new replies.