Url Issues - Some Links Without Www Prefix Do Not Work

Having some strange URL issues.

For example, this page www.digitalsave.co.uk/blackberry-motion-32gb-smartphone.html works fine with or witohut www. being at the start.

www.digitalsave.co.uk/blackberry-motion-32gb-smartphone.html ---- goes to correct product page

digitalsave.co.uk/blackberry-motion-32gb-smartphone.html ---- goes to the correct product page

But this one for example - www.digitalsave.co.uk/doro-8040.html - will not work with out the www prefix. It just links to homepage

www.digitalsave.co.uk/doro-8040.html ---- goes to product page

digitalsave.co.uk/doro-8040.html ---- goes to homepage


Any ideas where I start with this one? Thanks

This video shows the issue

https://www.youtube.com/watch?v=KTUD9x0Jcq0&feature=youtu.be

When I checked, digitalsave.co.uk/doro-8040.html redirects to www.digitalsave.co.uk/doro-8040-smartphone.html

this digitalsave.co.uk/doro-8040.html

takes me here

http://www.digitalsave.co.uk/doro-8040-smartphone.html

digitalsave.co.uk/doro-8040.html has 301 redirect to http://www.digitalsave.co.uk/doro-8040-smartphone.html

but when you remove www and the page without www (http://digitalsave.co.uk/doro-8040-smartphone.html) leads you to http://www.digitalsave.co.uk/

You've got disoriented with 301 redirects!

At first, make sure that both config.local.php and store-front settings have www.

digitalsave.co.uk/doro-8040.html has 301 redirect to http://www.digitalsave.co.uk/doro-8040-smartphone.html

but when you remove www and the page without www (http://digitalsave.co.uk/doro-8040-smartphone.html) leads you to http://www.digitalsave.co.uk/

You've got disoriented with 301 redirects!

I changed that link (added -smartphone) after creating this post to see if that would correct the issue.

How do I fix the www issue?

At first, make sure that both config.local.php and store-front settings have www.

Yes, both have the www. at the start. However, in the config I noticed https_path is empty - should this have www.digitalsave.co.uk as well? [url=https://postimg.org/image/zahjazgyf/][/url]

I changed that link (added -smartphone) after creating this post to see if that would correct the issue.

How do I fix the www issue?

Yes, both have the www. at the start. However, in the config I noticed https_path is empty - should this have www.digitalsave.co.uk as well?

No, settings are correct now

As for www, may be some additional rules were added to .htaccess earlier?

You might also want to search the DB (cscart_seo_redirects) and see if there are any 'src' values that match the SEO names that don't redirect properly.