You can only map domains with the plugin. Mapping URLs is not supported by the plugin or DNS.
Thread Starter
Jeanae
(@jeanae)
In this case http://www.studyfoundation.ch is a registered domain. It already points to http://www.studienstiftung.ch/en without your plugin. Could this be the problem?
In this case http://www.studyfoundation.ch is a registered domain. It already points to http://www.studienstiftung.ch/en without your plugin.
Yes, that’s what causing the infinite redirect..
Thread Starter
Jeanae
(@jeanae)
We have eliminated the redirect from http://www.studyfoundation.ch to http://www.studienstiftung.ch/en. The mapping seems to work now correctly. But I can’t access the subpages of the site. E.g. http://www.studyfoundation.ch/partners (previously http://www.studienstiftung.ch/en/partners) goes to “Not Found The requested URL /partners/ was not found on this server.”
What can causing this?
Beste regards Jean
What can causing this?
The URL has changed. You need to add some rewrite rules to your .htaccess to rewrite the old urls to the new ones.
Thread Starter
Jeanae
(@jeanae)
Any advise on how to change this .htaccess from the old url http://www.studienstiftung.ch/en to the new url http://www.studyfoundation.ch is highly welcome:
# WordPress
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]
# Media Library
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
# Disallow access to important files
<FilesMatch “(^\.|wp-config\.php|xmlrpc\.php|(?<!robots)\.txt|(liesmich|readme)\.*)”>
Order deny,allow
Deny from all
</FilesMatch>
# Prevent Directory Listings
Options -Indexes