Viewing 10 replies - 1 through 10 (of 10 total)
  • More info would help, for instance: Using permalinks? Making the page in WP admin Write:Pages? New install/update of WP?

    Thread Starter Erwin

    (@erwin)

    Good point, sorry.

    I am using permalinks: https://strikdiploma.nl/%postname%/
    Pages indeed made within the WP admin thingie.
    WP version 2.0.3 which was upgraded from previous versions some time ago.

    Did your .htaccess get updated? What’s it look like?

    Thread Starter Erwin

    (@erwin)

    This is all that is in my .htaccess:

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

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.strikdiploma\.nl$ [NC]
    RewriteRule ^(.*)$ https://strikdiploma\.nl/$1 [R=301,L]

    Try commenting out those last three lines and re-uploading your .htaccess.

    You can do that by putting a # before each line — it is the equivalent of deleting it, but means that you can restore it easily if you need to.

    # RewriteEngine On
    # RewriteCond %{HTTP_HOST} ^www.strikdiploma.nl$ [NC]
    # RewriteRule ^(.*)$ strikdiploma.nl/$1 [R=301,L]

    Thread Starter Erwin

    (@erwin)

    No change. ??

    Hmm, this is frustrating. As far as I know I have a pretty standard WP install, but still it doesnt work. I don’t suppose it can be anything in the theme I use, can it?

    Just for grins…

    Try setting your Permalinks back to default. Do links work now?

    If so, Try setting your Permalinks to “Name and Date based.” Things still working?

    Thread Starter Erwin

    (@erwin)

    When setting things back to default, it works without any problem. So why doesnt it work with my permalinks?

    Have you tried the troubleshooting sections here: Permalinks?

    In particular, have you confirmed your host has mod_rewrite *and* AllowOverrides on?

    Thread Starter Erwin

    (@erwin)

    Would the permalinks as I have them right now (url/%postname%) work of mod_rewrite and AllowOverrides weren’t on? I’ll have a look at the troubleshootingthingie. ??

    Thanks for thinking with me!

    *edit*

    Seems my host moved my website to another server.. This is the php-config: https://strikdiploma.nl/info.php I did not find AllowOverride in there. It should be in there, shouldn’t it?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Link to page (eg ‘contact’) links to 404’ is closed to new replies.