Quality WordPress Plugins made in Germany Questions or support needed? Get help now!
Real Physical Media SEO redirect does not work as expected?

If you have a look at your Real Physical Media SEO redirects and none of your redirects does work as expected, you need to configure something in your Apache / Nginx configuration.

How do I know if my server is miss configured?

If you open the old SEO URL you should notice a plain white screen with “404” or a very technical screen. The main issue is that your server is not forwarding the request to your WordPress instance.

It is recommended to do the following changes only if you are a technical and know what you do! If not, please forward this article to your hosting provider or server admin.

Please connect to your WordPress installation via FTP and open the file .htaccess:

# BEGIN WordPress

# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

# END WordPress	

This is an example and can differ from your .htaccess file. In this case we need to add the following lines on top of the file:

# Multisite needs a custom 404 redirect (soft redirect, see also https://stackoverflow.com/a/41824195/5506547)
ErrorDocument 404 /index.php

Learn more about WordPress .htaccess file here. If you are using a pure nginx server you need to talk to your technical.

Was this article helpful?
Dislike 0