• Hello,

    My WordPress configuration

    • Version de PHP/MySQL : PHP8.1.8 / MySQL 8.1.18
    • Theme : Astra / Spectra
    • Add-on : Akismet , all-in-one-wp-migration , duplicate-page , google-site-kit , polylang , really-simple-ssl , ultimate-addons-for-gutenberg , wordpress-seo , wp-smtp
    • Website?:?https://brainsecureconsulting.eu/
    • WP : 6.1.1

    Issue?:

    Since the WordPress upgrade to 6.1.1, only the main page works.

    On the menu, each link (Services, Contact,..) redirect to with page (even if the URL is OK and in the Editor I see correctly all pages)

    Have you any idea please ?

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Permalinks setting

    • Go to?Settings?>?Permalinksin your WordPress dashboard and click save.
      this should solve the issue.
    Thread Starter gloops100

    (@gloops100)

    Permalinks settingGo to Settings > Permalinksin your WordPress dashboard and click save.

    I did it : same issue

    The page that is displayed for all subpages is not one that is generated by WordPress. To me, this looks like a misconfiguration in the hosting. I would recommend that you contact your host’s support team to clarify this.

    Thread Starter gloops100

    (@gloops100)

    I’m hosting the website on my server.

    should be a problem with PHP or Apache ?

    No, the page that is displayed there looks more like an upstream caching tool. It looks like this for me:

    View post on imgur.com

    I’ve never seen it like this, I can’t tell which server software displays it like this. The source code says something about “Asustor Inc” which is probably a NAS manufacturer.

    Thread Starter gloops100

    (@gloops100)

    yes it’s the NAS manufacturer.

    I don’t know what I can check… Any idea ? Contact the NAS support ?

    I think yes, that would be the best way.

    Thread Starter gloops100

    (@gloops100)

    Hello,

    I got an answer from the NAS manufacturer, they checked and the issue seems come from my website configuration ; PHP or .htaccess.

    Any idea please ?

    threadi

    (@threadi)

    My guess is that the system is ignoring the .htaccess file. Only NAS support can actually clarify this. You could try deleting the .htaccess file and recreating it via the backend under Settings > Permalinks. But whether this works depends on the NAS.

    Thread Starter gloops100

    (@gloops100)

    The htaccess is not ignored. If I modify it wrongly, the website doesn’t work anymore.

    I think the htaccess is not correct but I don’t very well the redirection and configuration.

    threadi

    (@threadi)

    You don’t need to know that. Just follow the steps above and WordPress will create the file for you.

    Thread Starter gloops100

    (@gloops100)

    I did already but it didn’t work because my website is not directly in the folder “web”.

    It’s in web\wordpress

    I’ve also other application in “web” folder, that is why I need redirection and exception

    threadi

    (@threadi)

    Ah, well, that’s something important that you haven’t described yet. However, I’m surprised that the domain doesn’t show this directory at all in its path, so something in your network is probably redirecting the domain to the NAS directory. And here it depends very much on how this forwarding takes place. This is outside the control of WordPress, which is why you can’t see it there. If NAS support couldn’t tell you anything about this, it’s probably also because you haven’t described this configuration to them either.

    One assumption I would make is that the domain is redirected to the WordPress subdirectory via rules in the web directory. However, this means that all rules defined in the web directory also apply in the wordpress subdirectory. Edit the .htaccess file of WordPress (which is located in the wordpress directory) and add the following line BEFORE the entry that WordPress generates there:

    RewriteEngine Off

    This will override all rules that might come before it. After that, the ones defined by WordPress are set in the lines below.

    If this does not work either, it must still be a NAS setting that is simply unknown here. As you can see from my description, the necessary adjustments are very close to the system and not specific to WordPress.

    Thread Starter gloops100

    (@gloops100)

    The forwarding is done in the htaccess ??

    If I remove it, we arrive in a blank page on the NAS.

    Here the redirection :

    RewriteCond %{HTTP_HOST} ^(www.)?brainsecureconsulting.eu$ [NC]
    RewriteRule ^(/)?$ wordpress/index.php [L]

    I can share with you the htaccess if you want to check ??

    • This reply was modified 3 months ago by gloops100.
    threadi

    (@threadi)

    Have you tried my tip above? What was the result?

Viewing 15 replies - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.