php - Drupal 7: Localhost/user link defaults to website/user -
i new drupal , playing around existing drupal site.
i did ftp transfer of files local computer directory. got on vagrant box , can access site via http://192.168.56.101/html
.
i can http://192.168.56.101/html/anything-but-user
, brings me proper area on site. can't localhost/html/user
, because redirects me website url rather local url.
i tried clearing cache (with drush). scanned files in system , changed web url local url [not sure if need other command], , can't seem find in .htaccess
files lead me this.
the href="/user
appreciate advice or in figuring out solution.
--updated
there module called "secure pages" causing user , registration links locked , static prevent redirects phishing sites. had disable module using "drush pm-disable securepages" in terminal.
some typical items may want check:
check if same problem using browser. if browser works, pretty sure cookie problem. solve that, delete cookie in browser have problem.
make sure "clean urls" enabled. refer "https://drupal.stackexchange.com/questions/165029/clean-url-leads-to-duplicate-url-after-migration-to-another-hosting/165044?s=1%7c3.9647#165044" more details on that.
make sure value of "base_url" set correctly (in settings.php).
if module secure pages enabled, try (at least temporary) disable moduel see if helps.
Comments
Post a Comment