Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Url Issues - Some Links Without Www Prefix Do Not Work Rate Topic   - - - - -

 

Posted 14 November 2017 - 02:11 PM #1

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



 

Posted 14 November 2017 - 02:27 PM #2

This video shows the issue

 

 



 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3,430 posts

Posted 14 November 2017 - 02:33 PM #3

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



 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4,103 posts

Posted 14 November 2017 - 06:01 PM #4

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

takes me here

 

http://www.digitalsa...smartphone.html


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Alt-team
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 18-Jan 11
  • 2,405 posts

Posted 14 November 2017 - 10:39 PM #5

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

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

 

You've got disoriented with 301 redirects! 


CS-Cart add-ons | CS-Cart development service | CS-Cart Design

GET A FREE QUOTE 


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,479 posts

Posted 15 November 2017 - 06:07 AM #6

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 

Posted 15 November 2017 - 11:44 AM #7

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

but when you remove www and the page without www (http://digitalsave.c...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? Capture.jpg

 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,479 posts

Posted 15 November 2017 - 01:12 PM #8

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? Capture.jpg

 

 

No, settings are correct now

 

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 9,994 posts

Posted 15 November 2017 - 08:25 PM #9

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.