• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Wordpress Installations | If I set a static page, I get an redirect error

Lukas N

New Pleskian
Hey People,

If I install a new WordPress Website with the WP Toolkit from Onyx, I'm not able to set a static Page in Wordpress.
I always get Redireciton errors...
On my older installations this Problem does not exist...

Here an example:SkullBro.de | Skullbro.de Gaming Clan | Gaming Communities
This Website is set to a Static Page.
If you want to access you need to do this
SkullBro.de | Skullbro.de Gaming Clan | Gaming Communities
https://neueseite.skullbro.de//
I don't have any Idea... why it needs the extra "/"


Thanks

Lukas
 
I never used Wordpress (I know, I'm going the way of the Dodo...), so I don't know what a "static page" is in Wordpress parlance, but what I'm seeing is that your main page redirects to... herself. Lots of 301! :eek:

I strongly suspect a .htacces issue (you're hosting under Apache, aren't you?). Can you post the content of your .htaccess?
 
Static page is as its name says, a fixed page in WordPress where for example, recent articles are not shown. See his home page for you to see the application of this concept in practice.

Given that you installed and configured a theme, it means that at some point after installation the site was running normally so I really doubt the problem is related to the Plesk installer.

I suggest you do the following tests:
1. Check the .htaccess, as the colleague suggested above.
2. Try to change the theme, does the problem still occur?
3. Disable all plugins. Is the problem still occurring?
4. Check the permanent links. Did you change them? If not, try any default options provided by WordPres.
 
Please check the "hosting settings" and the preferred domain (with or without www or either one) and the forced SEO 301 SSL redirect. Normally, infinite redirects are caused by a mismatch between this setting and the Wordpress setting what the site URL is or a mismatch between a forced SSL redirect and a non-SSL siteurl in Wordpress. The webserver redirects to the non-www or non-SSL version, Wordpress however knows that is ought to run on https:// or www-version. Or the redirect requests SSL, but in Wordpress the siteurl is http://, not https:// and so on ...
 
Something is up, there's a double slash in the URL....

Check your wp-config.php file and see if you have WP_HOME defined. If so, this URL should NOT have a slash at the end.
 
Static page is as its name says, a fixed page in WordPress where for example, recent articles are not shown. See his home page for you to see the application of this concept in practice.

Given that you installed and configured a theme, it means that at some point after installation the site was running normally so I really doubt the problem is related to the Plesk installer.

I suggest you do the following tests:
1. Check the .htaccess, as the colleague suggested above.
2. Try to change the theme, does the problem still occur?
3. Disable all plugins. Is the problem still occurring?
4. Check the permanent links. Did you change them? If not, try any default options provided by WordPres.
This Problem occures with every Theme... if I use a Static page that's what happens

This is my .htaccess
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


Please check the "hosting settings" and the preferred domain (with or without www or either one) and the forced SEO 301 SSL redirect. Normally, infinite redirects are caused by a mismatch between this setting and the Wordpress setting what the site URL is or a mismatch between a forced SSL redirect and a non-SSL siteurl in Wordpress. The webserver redirects to the non-www or non-SSL version, Wordpress however knows that is ought to run on https:// or www-version. Or the redirect requests SSL, but in Wordpress the siteurl is http://, not https:// and so on ...
Wordpress Settings are correct, checked it twice now. I already have disable the SEO safe redirect in the hosting settings.

Something is up, there's a double slash in the URL....

Check your wp-config.php file and see if you have WP_HOME defined. If so, this URL should NOT have a slash at the end.
In my wp-config.php is nothing like WP_HOME but this does also not exist in any other Wordpress instance. And these dont have this problem.
 
This problem seems to be related to WordPress and not to Plesk, but I'll try to do anything to help you :)

I'd like to do some other testing to see what the likely cause of the problem is, which would be difficult to do through this forum. I sent him an MP asking for more information.
 
Back
Top