Local Link Redirects to Live Server

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hi

I recently successfully upgrade nopcommerce 3.10 to 3.20 and I downloaded Database from Server , also using 3.20 source code downloaded from codeplex and upgrade with script successfully every thing works fine. The link on hover shows correct path at bottom of browser page but redirect to the page on which it should redirect after clicking the link but that is of Live Server.

For example , Should Redirect to Localhost:1221/aboutus  but redirect to http://www.example.com/aboutus

Not able to get much Help but if i use my previous local database it work perfectly but error remains if uses server database (downloaded & upgraded )



Can Any body have some suggestions?

Thanks in Advance
10 years ago
Hi,

Do you mean if you click on a link in the footer that you get redirected from your local setup to the webserver domain?

Make sure url's do not have the domain prefix, but start with / instead of http://www.mydomain.com or /help instead of http://www.mydomain.com/help .

If this is standard NopCommerce, then ask feature request to use links without domain qualifier. This helps moving application to and from various webservers and also allows to change domain name without having to redo a lot of content pages.

I will download 3.20 source and have a look. Hold on.

J.
10 years ago
Rohit.Techmind wrote:
Hi

I recently successfully upgrade nopcommerce 3.10 to 3.20 and I downloaded Database from Server , also using 3.20 source code downloaded from codeplex and upgrade with script successfully every thing works fine. The link on hover shows correct path at bottom of browser page but redirect to the page on which it should redirect after clicking the link but that is of Live Server.

For example , Should Redirect to Localhost:1221/aboutus  but redirect to http://www.example.com/aboutus

Not able to get much Help but if i use my previous local database it work perfectly but error remains if uses server database (downloaded & upgraded )



Can Any body have some suggestions?

Thanks in Advance


Is SSL enabled on the settings in the database you downloaded from server?
10 years ago
Thanks @wooncherk &  @Quantis001 for your valuable suggestions

But it Work as i set "SSLRequired" for my web store to "FALSE"

Thanks again
10 years ago
Rohit.Techmind wrote:
Thanks @wooncherk


No problem. :D
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.