- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019
12:46 PM
09-09-2019
12:46 PM
I moved a cloudways install of magento 2 (2.3.1) locally.
I used git to upload the files, and successfully ran composer install on my end.
I changed the URL in the core_config table to be localhost/pathtoproject
When I try to access the URL, my exact url gets added to what I typed in. meaning, when I type localhost/pathtoproject, it gets changed to localhost/pathtoproject/localhost/pathtoproject/
How can I fix this?
Thanks
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019
02:12 PM
09-09-2019
02:12 PM
Hi @media_bloke,
Make sure that you have added slash in the end of base url in core_config_data table.
http://localhost/pathtoproject/
Instead of
http://localhost/pathtoproject
Correct one: http://localhost/pathtoproject/
I hope it will help you!
Make sure that you have added slash in the end of base url in core_config_data table.
http://localhost/pathtoproject/
Instead of
http://localhost/pathtoproject
Correct one: http://localhost/pathtoproject/
I hope it will help you!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019
02:12 PM
09-09-2019
02:12 PM
Hi @media_bloke,
Make sure that you have added slash in the end of base url in core_config_data table.
http://localhost/pathtoproject/
Instead of
http://localhost/pathtoproject
Correct one: http://localhost/pathtoproject/
I hope it will help you!
Make sure that you have added slash in the end of base url in core_config_data table.
http://localhost/pathtoproject/
Instead of
http://localhost/pathtoproject
Correct one: http://localhost/pathtoproject/
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019
05:28 AM
09-10-2019
05:28 AM
Re: Magento 2 adding my url to my url
Thanks. I'm used to Javascript where you can't use http for local development, so I had left out the http:// entirely.
I added it, and it fixed this particular issue. On to the next one!