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à
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ể.
Related Articles Bài viết liên quan
- Easily Set Up Web Server with XAMPP Dễ dàng Thiết lập Web Server với XAMPP
- Enable MySQL InnoDB Storage Engine Support in XAMPP Installation Enable MySQL InnoDB Lưu trữ Công cụ hỗ trợ trong XAMPP cài đặt
- Install, Setup and Configure CGI and Perl in Windows XP Cài đặt, cài đặt và cấu hình CGI và Perl trong Windows XP
- How to Move WordPress Blog to New Domain or Location Làm thế nào để Move WordPress Blog đến New Domain hay Địa điểm
- gmmktime Error in WordPress and MagpieRSS gmmktime Lỗi trong WordPress và magpierss
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating hoặc Split WordPress Đăng hoặc Trang với NextPage trong WordPress Không phải làm việc
- Replace Google Blog Search with Technorati for Incoming Links in Dashboard of WordPress Thay thế Google Blog Search với Technorati cho Incoming kết trong Bảng điều khiển của WordPress
- Using Invisible Counter with Official StatCounter Plugin for WordPress Số lượt truy cập bằng cách sử dụng Invisible với chính StatCounter Plugin cho WordPress
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files Bắt đầu từ Apache httpd Không Do không thể mở hay không mod_bwlimited, mod_log_bytes như vậy hay mod_bandwidth Files
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3 Cột Relaxation WordPress Chủ đề ý kiến-paged.php cho paged-Bình luận WordPress Plugin










































July 14th, 2009 01:06 14 tháng 7 năm 2009 01:06
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!
June 1st, 2009 23:53 Ngày 01 tháng 6 năm 2009 23:53
Thanks for the tip! Thanks for the tip! You saved my bacon! Bạn lưu bacon của tôi!
April 17th, 2009 07:35 17 tháng 4 năm 2009 07:35
perfect solution. giải pháp hoàn hảo. thanx a lot!! thanx rất nhiều!!
February 17th, 2009 11:56 Ngày 17 Tháng Hai 2009 11:56
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!
February 13th, 2009 10:10 13 Tháng Hai 2009 10:10
[...] 又找到这一篇: 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/ [...] [...]
February 11th, 2009 22:03 Ngày 11 tháng 2 năm 2009 22:03
I don I don
February 5th, 2009 16:56 05 tháng 2 năm 2009 16:56
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
November 27th, 2008 06:22 27 Tháng 11 năm 2008 06:22
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!!!
November 19th, 2008 21:11 19 Tháng 11 2008 21:11
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

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
October 30th, 2008 23:54 30 tháng mười 2008 23:54
thanks for the quick fix. nhờ những sửa chữa nhanh chóng.
October 24th, 2008 14:18 24 Tháng 10 2008 14:18
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!
October 20th, 2008 14:11 Ngày 20 tháng 10 2008 14:11
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 ..
October 10th, 2008 13:09 Ngày 10 tháng 10 năm 2008 13:09
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!!
October 8th, 2008 19:32 08 Tháng 10 2008 19:32
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!)
September 27th, 2008 11:10 27 tháng 9 2008 11:10
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 ..
September 25th, 2008 09:29 Ngày 25 tháng 9 năm 2008 09:29
[...] sumber : [...] Nguồn: http://www.mydigitallife.info/ http://www.mydigitallife.info/ [...] [...]
August 15th, 2008 04:59 Ngày 15 tháng 8 năm 2008 04:59
Thanks A LOT! Thanks A lot! Works great! Tác phẩm tuyệt vời!