*

slycrespo

  • **
  • 21 posts
Ony main page works
« on: June 27, 2023, 01:59:58 PM »
Hello!
I moved the website from one domain to another. Now only the main page works. When I click on anything else, the message opens: The page isn't redirecting properly (see attached image). I have also attached an image from config.php

Please help!

*

questions

  • *****
  • 319 posts
Re: Ony main page works
« Reply #1 on: June 28, 2023, 01:21:59 PM »
Hi,

Have checked your website.

Disable all the plugins you have active. If then work, enable them one by one and see which one cause the issue.

Please keep me updated.

Thank you,

*

slycrespo

  • **
  • 21 posts
Re: Ony main page works
« Reply #2 on: June 28, 2023, 01:28:04 PM »
I turned off all plugins and there is no change. I forgot to mention that only categories don't work. If you click on an add on first page, it works.

*

questions

  • *****
  • 319 posts
Re: Ony main page works
« Reply #3 on: June 28, 2023, 01:50:21 PM »
Go to settings - permalinks and enable/disable or try to keep the permalinks disabled.

Does it work like this? I know I once had the same issue, but don't remember exactly the fix.

Thanks

*

slycrespo

  • **
  • 21 posts
Re: Ony main page works
« Reply #4 on: June 28, 2023, 02:26:24 PM »
When I enable Frendly URLs, i get error 404 everywhere and some warning (look at screen2).

*

questions

  • *****
  • 319 posts
Re: Ony main page works
« Reply #5 on: June 28, 2023, 03:03:03 PM »
Go back to settings - permalinks and set your .htaccess as per follows, this being the default one:

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

Edit: reinstall your ssl, there is issues with it. Check firefox (connection not secure), double check your wp-config too and make sure everything look good.

What server are you using? Windows / linux?
« Last Edit: June 28, 2023, 03:07:29 PM by questions »

*

questions

  • *****
  • 319 posts
Re: Ony main page works
« Reply #6 on: June 28, 2023, 03:16:06 PM »
May be because of the ssl certificate.
Reissue or fix
There is issues with it. Not shown by Chrome but seen displayed by Firefox.

*

MB Themes

Re: Ony main page works
« Reply #7 on: June 28, 2023, 07:33:45 PM »
That config for relative url is wrong.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Ony main page works
« Reply #8 on: June 29, 2023, 09:11:59 AM »
That config for relative url is wrong.

You're right.  ;)