projectmonkey
projectmonkey

Reputation: 79

Redirect of entire site not working for sub-folders

I have implemented this change to .htaccess. RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?stakeholdermap\.com$ [NC] RewriteRule ^(.*)$ https://www.stakeholder-map.com/$1 [L,R=301]

stakeholdermap.com/stakeholder-definition.html resolves to stakeholder-map.com/stakeholder-definition.html.

But https://www.stakeholdermap.com/project-management/project-monitoring-and-control.html goes to https://www.stakeholder-map.com/home/stakehol/public_html/project-management/project-monitoring-and-control.html. I have checked for clashes on CF and there isn't anything.

Using just Redirect 301 / https://www.stakeholder-map.com/ works for first level pages, but I get: This site can’t be reached

The webpage at https://www.stakeholdermap.com/project-templates/excel-project-plan.html might be temporarily down or it may have moved permanently to a new web address.

ERR_HTTP2_PROTOCOL_ERROR

How do I get pages in subfolders to redirect correctly?

Upvotes: 0

Views: 24

Answers (0)

Related Questions