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

    https://survey.webpros.com/

.htaccess redirect 301 problem

Katja_Lampela

New Pleskian
The site in question used to be www.siteaddress.com and recently it has been changed to siteaddress.com.
Now some of the pages have been repositioned also. The problem seems to be now that the old www-starting links in the internet can't be redirected.

To be clear, this old link:
www.siteaddress.com/old-path/page.html
should be redirected to:
siteaddress.com/new-path/page.html/

but this regular htaccess redirection doesn't work:
redirect 301 /old-path/page.html/ http://siteaddress.com/new-path/page.html/

Any suggestions?
Thanks.
 
Back
Top