WordPress Permalinks Does Not Work in xampp Setup WordPress Permalinks Does Không phải làm việc trong xampp Setup

xampp provides a convenient way to quickly and easily install and setup a web server that works without much configuration. xampp cung cấp một cách thuận tiện để nhanh chóng và dễ dàng cài đặt và thiết lập một máy chủ web mà công trình mà không cần cấu hình nhiều. However, permalinks feature won't work with the default installation of xampp, even though you can properly customize the permalinks structure to create the .htaccess file. Tuy nhiên, Permalinks tính năng sẽ không làm việc với các cài đặt mặc định của xampp, ngay cả khi bạn đúng cách có thể tùy chỉnh cơ cấu Permalinks để tạo tập tin. Htaccess.

When you click on any permalinks, your WordPress blog will return a 404 error instead, saying the post not found. Khi bạn bấm vào bất cứ Permalinks, blog của bạn sẽ trở lại một lỗi thay vì 404, nói rằng bài viết không tìm thấy. Instead, you can only access your blog posts via default permalinks structure, which is in the form of http://www.mydigitallife.info/?p=123. Thay vào đó, bạn chỉ có thể truy cập vào bài đăng trên blog của bạn thông qua cơ cấu Permalinks mặc định, mà là ở dạng http://www.mydigitallife.info/?p=123.

This is because in xampp, mod_rewrite is not enable by default. Điều này là do trong xampp, mod_rewrite không được kích hoạt theo mặc định. Beside, AllowOverride directive in Apache configuration file is also set to None by default, causing Apache web server to ignore any .htaccess file, which used to rewrite the permalinks to the post's actual url. Bên cạnh đó, AllowOverride chỉ thị trong tập tin cấu hình Apache cũng được thiết lập để Không mặc định, gây ra máy chủ web Apache để bỏ qua bất kỳ. Htaccess, mà được sử dụng để ghi lại các Permalinks vào url thực tế của bài.

To use permalinks in WordPress that installed on xampp-based server, edit the httpd.conf that locates in C:\Program Files\xampp\apache\conf directory (folder). Để sử dụng Permalinks trong WordPress rằng cài đặt trên xampp trên máy chủ, chỉnh sửa httpd.conf mà nằm trong C: \ Program Files \ xampp \ apache \ conf thư mục (folder). Open httpd.conf in any text editor, search for “mod_rewrite”. Mở httpd.conf trong bất kỳ trình soạn thảo văn bản, tìm kiếm cho "mod_rewrite". You should come to a line like this: Bạn nên đi đến một dòng như sau:

#LoadModule rewrite_module modules/mod_rewrite.so # LoadModule rewrite_module modules / mod_rewrite.so

Remove the hash sign (#) from the line. Hủy bỏ dấu thăng (#) từ dòng. The # indicates the line is not in effect. Các dòng # chỉ ra là không có hiệu lực. The changed line should looks like this: Dòng thay đổi nên trông như thế này:

LoadModule rewrite_module modules/mod_rewrite.so LoadModule rewrite_module modules / mod_rewrite.so

After that, search for “AllowOverride”. Sau đó, tìm kiếm cho "AllowOverride". You will come to a line like this: Bạn sẽ đến một dòng như sau:

AllowOverride None AllowOverride None

If the above line is contained within default directory (mean the directory declaration is just Nếu dòng ở trên được chứa trong thư mục mặc định (có nghĩa là khai báo thư mục chỉ là ), then it can be left as it is. ), Sau đó nó có thể được trái vì nó. Continue searching and you would come to a second instance of AllowOverride which is contained inside your web server's document root (default for xampp is Tiếp tục tìm kiếm và bạn sẽ đến một trường hợp thứ hai của AllowOverride nào có chứa bên trong tài liệu gốc của máy chủ web (mặc định cho xampp là in Windows). trong Windows). Change the None to All to make the line looks like this: Không có thay đổi để Tất cả để làm cho dòng giống như sau:

AllowOverride All AllowOverride All

Restart the Apache. Khởi động lại Apache. Permalinks is working after restart. Permalinks là làm việc sau khi khởi động lại.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


42 Responses to “WordPress Permalinks Does Not Work in xampp Setup” 42 Responses to "WordPress Permalinks Does Không phải làm việc trong Setup xampp"

Pages: [2] Trang: [2] 1 1 » » Show All Hiển thị tất cả

  1. Sean Sean
    July 14th, 2009 01:06 14 tháng 7 năm 2009 01:06
    42 42

    Thanks, Cảm ơn,

    Love it when someone knows what they are talking about. Tình yêu nó khi có người biết rõ những gì họ đang nói về. Perfect solution! Giải pháp hoàn hảo!

  2. microbia microbia
    June 1st, 2009 23:53 Ngày 01 tháng 6 năm 2009 23:53
    41 41

    Thanks for the tip! Thanks for the tip! You saved my bacon! Bạn lưu bacon của tôi!

  3. atsil atsil
    April 17th, 2009 07:35 17 tháng 4 năm 2009 07:35
    40 40

    perfect solution. giải pháp hoàn hảo. thanx a lot!! thanx rất nhiều!!

  4. Webmist Webmist
    February 17th, 2009 11:56 Ngày 17 Tháng Hai 2009 11:56
    39 39

    Hey I just found this -Wordpress site was working fine online but couldnt get it to show pages on Xampp – your advice was spot on! Hey tôi chỉ tìm thấy này-Wordpress trang web đã được làm việc trực tuyến tốt nhưng couldnt làm cho nó hiển thị các trang trên xampp - tư vấn của bạn đã được chỗ trên!

    Many thanks for sharing your expertise! Rất cám ơn chia sẻ kinh nghiệm của bạn!

  5. Getting Started with Computer » 修改永久链接的问题 Bắt đầu sử dụng máy tính »修改永久链接的问题
    February 13th, 2009 10:10 13 Tháng Hai 2009 10:10
    38 38

    [...] 又找到这一篇: WordPress Permalinks Does Not Work in xampp Setup [...]又找到这一篇: WordPress Permalinks Does Không phải làm việc trong xampp Setup http://www.mydigitallife.info/2006/03/08/wordpress-permalinks-does-not-work-in-xampp-setup/ http://www.mydigitallife.info/2006/03/08/wordpress-permalinks-does-not-work-in-xampp-setup/ [...] [...]

  6. SriMathe SriMathe
    February 11th, 2009 22:03 Ngày 11 tháng 2 năm 2009 22:03
    37 37

    I don I don

  7. Romeo Romeo
    February 5th, 2009 16:56 05 tháng 2 năm 2009 16:56
    36 36

    Thanks a mill you just saved me stress, a headaiche and some serious painkillers Nhờ một nhà máy bạn chỉ cần lưu tôi căng thẳng, một headaiche và một số thuốc giảm đau nghiêm trọng

    But I made all my AllowOverride(s) for it to work and now it's tip-top. Nhưng tôi làm tất cả AllowOverride của tôi (s) cho nó để làm việc và bây giờ nó tip-top.

    Sharp Nhọn sắc

  8. Konc3pto Konc3pto
    November 27th, 2008 06:22 27 Tháng 11 năm 2008 06:22
    35 35

    Thank you so much for this quick help!!! Cảm ơn bạn rất nhiều vì điều này giúp nhanh chóng!
    Sure made my day!!! Chắc chắn làm tôi day!!!

  9. FattIntek FattIntek
    November 19th, 2008 21:11 19 Tháng 11 2008 21:11
    34 34

    Reason why is great to be a gay Lý do tại sao là rất tốt phải là một người đồng tính : P
    You can say anything (”Wow, do my balls hurt!”) and not worry about what people will think. Bạn có thể nói bất cứ điều gì ( "Wow, làm bóng của tôi đau!") Và không phải lo lắng về những gì mọi người sẽ nghĩ. It was joke Đó là câu chuyện đùa : D

  10. sam sam
    October 30th, 2008 23:54 30 tháng mười 2008 23:54
    33 33

    thanks for the quick fix. nhờ những sửa chữa nhanh chóng.

  11. Icon Biểu tượng
    October 24th, 2008 14:18 24 Tháng 10 2008 14:18
    32 32

    I was experiencing the same problem and your post has saved my day. Tôi đã trải qua cùng một vấn đề và bài viết của bạn đã được lưu ngày của tôi. Thanks ! Cảm ơn! : D

  12. Tom Bones Tom Bones
    October 20th, 2008 14:11 Ngày 20 tháng 10 2008 14:11
    31 31

    Thanks for that! Thanks for that! Was wondering why that wouldn't work.. Đã tự hỏi tại sao đó sẽ không làm việc ..

  13. TechPuree TechPuree
    October 10th, 2008 13:09 Ngày 10 tháng 10 năm 2008 13:09
    30 30

    Was facing the same problem with XAMPP in my local installation. Đã phải đối mặt với cùng một vấn đề với cài đặt XAMPP tại địa phương của tôi. Googled for the solution and thankfully came across your post. Googled cho các giải pháp và thankfully đã xem qua bài viết của bạn. Nice and useful write-up. Đẹp và hữu ích write-up. Great!! Great!!

  14. Keir Keir
    October 8th, 2008 19:32 08 Tháng 10 2008 19:32
    29 29

    Awesome post, worked a dream – many thanks! Awesome đăng bài, đã làm việc một ước mơ - nhiều cảm ơn!
    Worth noting the same issue is apparent with installations of Joomla! Cần lưu ý những vấn đề cùng là rõ ràng với bản cài đặt của Joomla! on xampp. trên xampp.

    PS don't forget to save the file once you've edited (speaking from experience – 1 too many 7ups!) PS đừng quên để lưu tập tin một khi bạn đã hiệu chỉnh (nói từ kinh nghiệm - 1 quá nhiều 7ups!)

  15. HydroMan HydroMan
    September 27th, 2008 11:10 27 tháng 9 2008 11:10
    28 28

    I had a similar problem with a LAMP server, issue was due to symlinks not being enabled. Tôi đã có một vấn đề tương tự với một máy chủ ĐÈN, vấn đề là do symlink không được kích hoạt.

    Simply went to vhosts/vhost.conf and added allow all statement.. Đơn giản chỉ cần đi đến vhosts / vhost.conf và thêm vào cho phép tất cả các báo cáo ..

  16. dikma.web.id » Blog Archive » WordPress Permalinks Does Not Work in xampp Setup dikma.web.id »Blog Archive» WordPress Permalinks Does Không phải làm việc trong xampp Setup
    September 25th, 2008 09:29 Ngày 25 tháng 9 năm 2008 09:29
    27 27

    [...] sumber : [...] Nguồn: http://www.mydigitallife.info/ http://www.mydigitallife.info/ [...] [...]

  17. Arhtur Arhtur
    August 15th, 2008 04:59 Ngày 15 tháng 8 năm 2008 04:59
    26 26

    Thanks A LOT! Thanks A lot! Works great! Tác phẩm tuyệt vời!

Pages: [2] Trang: [2] 1 1 » » Show All Hiển thị tất cả

Leave a Reply Để lại một trả lời

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

xampp wordpress permalinks xampp wordpress Permalinks - -- wordpress permalinks xampp wordpress Permalinks xampp - -- xampp permalinks xampp Permalinks - -- xampp mod_rewrite xampp mod_rewrite - -- wordpress permalinks do not work Permalinks wordpress không làm việc - -- permalinks xampp Permalinks xampp - -- xampp htaccess xampp htaccess - -- wordpress permalinks apache wordpress Permalinks apache - -- xampp permalink xampp permalink - -- xampp mod_rewrite windows xampp mod_rewrite cửa sổ - -- xampp htaccess mac xampp htaccess mac - -- xampp wordpress permalink xampp wordpress permalink - -- permalink not found wordpress permalink không tìm thấy wordpress - -- wordpress permalink does not work wordpress permalink không làm việc - -- xampp mod_rewrite not working xampp mod_rewrite không làm việc - -- xampp wordpress rewrite xampp wordpress viết lại - -- wordpress permalinks xampp error wordpress Permalinks lỗi xampp - -- mod_rewrite xampp mod_rewrite xampp - -- wordpress permalinks Not Found wordpress Permalinks Không tìm thấy - -- wordpress permalink not working wordpress permalink không làm việc - -- permalink xampp permalink xampp - -- wordpress permalink apache wordpress permalink apache - -- mod_rewrite windows xampp mod_rewrite cửa sổ xampp - -- xampp htaccess wordpress xampp htaccess wordpress - -- http://polytechnic.edu.na http://polytechnic.edu.na - -- xampp 404 xampp 404 - -- mod_rewrite xampp windows mod_rewrite cửa sổ xampp - -- wordpress permalinks on xampp wordpress Permalinks trên xampp - -- permalinks not working wordpress xampp Permalinks không làm việc xampp wordpress - -- wordpress rewrite not working wordpress viết lại không làm việc - -- xampp .htaccess mac xampp. htaccess mac - -- pretty permalinks xampp khá Permalinks xampp - -- wordpress htaccess xampp wordpress xampp htaccess - -- wordpress xampp permalinks wordpress Permalinks xampp - -- wordpress apache configuration wordpress apache cấu hình - -- wordpress apache rewrite permalink not working wordpress apache viết lại không hoạt động offline - -- wordpress permalink not found on this server wordpress permalink không tìm thấy trên máy chủ này - -- permalinks xampp wordpress Permalinks wordpress xampp - -- wordpress permalink xampp wordpress permalink xampp - -- xamp wordpress xamp wordpress - -- permalink is not working in xampp permalink không làm việc trong xampp - -- mod_rewrite xampp 404 mod_rewrite xampp 404 - -- wordpress xampp permalink wordpress xampp permalink - -- configure XAMPP htaccess for webserver XAMPP htaccess cấu hình cho máy chủ web - -- htaccess xamp htaccess xamp - -- permalinks do not work in wordpress Permalinks không làm việc trong wordpress - -- wordpress permalinks does not work in xampp Permalinks wordpress không làm việc trong xampp - -- how to php wordpress .htaccess xampp làm thế nào để php wordpress htaccess xampp. - -- how to configure xampp to support mod rewrite làm thế nào để cấu hình xampp để hỗ trợ mod rewrite - -- .htaccess in xampp htaccess trong xampp. - --