• I have a strange problem. I made a prototype website in my test server. (https://www.4uwerkplaats.nl/oudede/). Works perfectly. Then made a backup with “All in one Migration”. Restored it on the domain (https://www.oudede.nl) I have done this many times with other websites. Never failed.

    The problem is that the permalinks in some places behave strange. Can’t say what it is exactly, but these are the symptoms.
    -The Visual Builder of the Divi Theme doesn’t work unless i set permalinks to “plain”
    -In my projects page, when i click on a project it can’t find the single project page.
    Example: https://www.oudede.nl/nieuwe-boeken/, click on any book and you get 404, page not found.
    In admin: when i go to Project > View
    https://www.oudede.nl/project/de-stationsweg-in-ede-de-geschiedenis-van-een-laan-met-allure/
    I get 404 again.
    In Caldera forms i made a field that directs to URL https://www.oudede.nl/privacy. However when i click it, you go to https://www.oudede.nl/online-collectie/
    (see below what the manufacturer of the online collection software told me to add to the header)

    To me it seems like something is messing with my permalink structure.
    In my .htaccess i have this. Is that correct?
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    In the header i had to put <base href=”https://www.oudede.nl/online-collectie/”&gt; in order to show an external archive system. A online collection
    Could that be the cause?

    In the Database table Options i see for “home” and “siteurl”: https://www.oudede.nl
    The table wp_links is empty

    Who can solve this mystery !? Please !

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Your menu links seem to work. Is the issue limited to links which include /project/? Is that a post_type? It could be the rewrite rules for “project” haven’t been generated yet. Visit the permalinks settings screen to update rewrite rules, no need to change or save, just visit.

    If that doesn’t help, there’s a failure of the SQL to fulfill the query. By examining the SQL, one can often learn what the conflict is and gain a clue to the root cause. The query monitor plugin will help you examine the SQL queries that are made.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks not correct’ is closed to new replies.