문제

Short question, hopefully short answer is needed.

I migrated my drupal 6 site from live server, to localhost.

I copied all data from live server to /var/www, changed the settings.php to the new mysql database login information.

The main page opens flawlessly on localhost.

Problem is, every other sub-page. I get 404 error on every link.

What did I forget to update? I checked .htaccess didn't find anything there, that I think is relevant information, but I am not an expert in drupal systems nor in migrating them.

Thanks for you help :)

도움이 되었습니까?

해결책

Make sure your localhost will run your htaccess file.

Turn clean URLs off.

Check your DB and replace any calls to your live server with your localhost.

That should sort it out. If not post some more info.

다른 팁

Check that you have emptied the cache tables (apologies if you have already done this).

If you can get to it, admin -> performance -> clear caches, otherwise go to the DB and truncate all tables with cache in their name.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top