how to stop redirect to live site in development?

1 2 >
Posted: March 04, 2016 at 6:07 AM Quote #163444
In the process of upgrading to nop V3.70, I am working with a copy of the site & database on my laptop.  The localhost version browses fine, but when I click "Log in", I am redirected to the fully-qualified URL of the live site.

How can I "Log in" in to this development site?

---Jay R O
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 04, 2016 at 6:26 AM Quote #163445
jayro wrote:
In the process of upgrading to nop V3.70, I am working with a copy of the site & database on my laptop.  The localhost version browses fine, but when I click "Log in", I am redirected to the fully-qualified URL of the live site.

How can I "Log in" in to this development site?

---Jay R O


Did you customize theme? May be login link contain a static live url ..Please check it.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Do you want to version upgrade, custom development, create plugins or need any help? You are welcome!
  Best Regards,
     Sohel
Email & Skype: [email protected]

http://nop-station.com/

Elasticsearch|Customize|Plugins|Themes|Upgrade|Server Setup(Hosting)|Consultancy|API
Posted: March 04, 2016 at 6:34 AM Quote #163446
At database of your local can change the value if store table.

change value of column Url as "http://localhost:15536/" if it contain live site address.
change value of column SslEnable False, If it contain true.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 04, 2016 at 6:34 AM Quote #163447
sina.islam wrote:
At database of your local can change the value if store table.

change value of column Url as "http://localhost:15536/" if it contain live site address.
change value of column SslEnable False, If it contain true.


you can also do it from admin
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 04, 2016 at 6:55 AM Quote #163448
sina.islam wrote:
At database of your local can change the value if store table.

change value of column Url as "http://localhost:15536/" if it contain live site address.
change value of column SslEnable False, If it contain true.


In table "Store", I changed just column "SslEnable" from True to False, and now the link browses the login page of the local site as needed.

(I did not need to change column "Url")
(I was not able to do it from admin, because I couldn't get logged in locally)

Thanks sina.islam!!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: April 01, 2016 at 8:33 AM Quote #164978
I know it is a old post after that I want to share a experience about "redirect to live site".This type of problem other may face. Today I download my live site's database and restore  it at local sqlserver and change everything as we discuss at this post and everything try to work fine but the url appears with www. The easiest way to solve the issue go to sqlserver of your pc then write a query for update  Setting Table value of 'Pages should have WWW prefix' by 'Doesn''t matter'.
This post/answer is useful
-1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: April 02, 2016 at 9:34 AM Quote #165036
jayro wrote:
In the process of upgrading to nop V3.70, I am working with a copy of the site & database on my laptop.  The localhost version browses fine, but when I click "Log in", I am redirected to the fully-qualified URL of the live site.

How can I "Log in" in to this development site?

---Jay R O




i think need to change login link  live url to local url http://localhost: Please check it. and helpful link  https://www.nopcommerce.com/boards/t/27428/local-link-redirects-to-live-server.aspx
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: June 30, 2016 at 4:16 AM Quote #170931
Hi

I have the same issue even after updating Store table.

update [dbo].[Store]
set [SslEnabled]=0,
[SecureUrl]=null,
[Url]='http://localhost:15536/'

seosettings.wwwrequirement = NoMatter
theme = DefaultClean

any ideas?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Best Regards,
Konstantin Ivinsky,

Linkedin: http://ru.linkedin.com/in/ivinsky
Website: http://dev-partner.biz/
NopCommerce Developer: http://dev-partner.biz/landing/nopcommerce
Microsoft Gold Partner | Application Development Partner | Microsoft Azure Circle Partner | noCommerce Partner
Posted: July 27, 2016 at 11:02 AM Quote #172293
After changing store URL in DB I was still being redirected to live site. My solution was to clear Chromes cache. Close and restart browser. Next click to login took me to localhost login. Hope this helps someone else.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: November 30, 2016 at 6:06 AM Quote #179455
If you had on the live site an ssl certificate, make sure the setting for securitysettings.forcesslforallpages is set to false as well...
try searching it in the admin->settings->all settings
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2017
Learn more