douwayuan3063 2017-01-05 18:44
浏览 41

Magento localhost迁移index.php和admin问题

On the server, my website uses mod-rewrite to structure urls without index.php but after I downloaded the website to my local machine, none of the links work without index.php. I'm using the same files, the same .htaccess and I'm using the same domain in localhost.

Other issue is that the admin login just shows a blank page, no errors. I've enabled errors using this in index.php, and enabled it in php.ini:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
  • 写回答

1条回答 默认 最新

  • duanfang5849 2017-01-06 07:43
    关注

    On localhost may be url rewrite engine is off or either not working. If you don't want index.php in url then you can remove that just go to System > Configuration > General Tab > Web > Search Engines Optimization > Make it YES For adding index.php in url make Search Engines Optimization = NO And for admin if you are using linux then check permissions of the folder. Check console for errors in inspect element.

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度