www to non www redirect in htaccess not working for subdirectories / pages

Status
Not open for further replies.

tstdom22

New Member
Messages
6
Reaction score
0
Points
1
Hi,

I've added a redirect for http to https, which is working well.

But when trying to redirect www to non www, this only seems to work for the top level domain name.

IE:
http://www.phantomvaper.com

Redirects to,

https://phantomvaper.com/store

This is the intended behaviour. However, the following redirect wont work...

https://www.phantomvaper.com/store

To

https://phantomvaper.com/store

I have tried every combo I can think of but just dont seem to be able to get the intended every page redirects to https and non www.

Can anyone shed some light please?

Thanks,
Shaun
 
Status
Not open for further replies.
Top