Plesk for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk for Linux
Symptoms
- The WordPress instance
example.com
was cloned tosubdomain.example.com
via Plesk WordPress Toolkit extension. - All images on the
subdomain.example.com
website were replaced with one picture. - In the WordPress Admin Dashboard of
subdomain.example.com
domain, some pictures were replaced with the same image.
Cause
The .htaccess
file for subdomain.example.com
domain, contains redirect rules to original website example.com
.
Resolution
- Log into Plesk.
- Go to Domains > subdomain.example.com > File Manager.
- Open the
.htaccess
file. - Comment the lines with the redirect rules to
example.com
website:
For example, from:
CONFIG_TEXT: RewriteCond %{HTTP_HOST} ^.example.com\.com/wp-content/uploads/2014/05/example\.png [NC]
RewriteRule ^(.*)$ http://example.com/wp-content/uploads/2014/10/example.png [L,R=301]To
CONFIG_TEXT: #RewriteCond %{HTTP_HOST} ^.example.com\.com/wp-content/uploads/2014/05/example\.png [NC]
#RewriteRule ^(.*)$ http://example.com/wp-content/uploads/2014/10/example.png [L,R=301] - Save the changes.
Comments
0 comments
Please sign in to leave a comment.