WordPress Permalinks Does Not Work in xampp Setup WordPressÀÇ permalink¸¦ xampp ¼³Ä¡¿¡¼ ÀÛµ¿ÇÏÁö ¾Ê½À´Ï´Ù
xampp provides a convenient way to quickly and easily install and setup a web server that works without much configuration. xampp ½Å¼ÓÇÏ°í Æí¸®ÇÑ ¹æ¹ýÀ» Á¦°øÇÏ´Â À¥ ¼¹ö°¡ ÈξÀ ½±°Ô ¼³Ä¡ÇÏ°í ¼³Á¤À» ±¸¼ºÇÏÁö ¾Ê°íµµ ÀÛµ¿ÇÕ´Ï´Ù. 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. ±×·¯³ª, ºñ·Ï ´ç½ÅÀÌ ¿Ã¹Ù¸£°Ô. htaccess·Î ÆÄÀÏÀ» ¸¸µé±â À§ÇØ ¿µ±¸ ±¸Á¶¸¦ »ç¿ëÀÚ Á¤ÀÇÇÒ ¼öÀÖ½À´Ï´Ù xamppÀÇ ±âº» ¼³Ä¡¿Í ±â´ÉÀ» ¿µ±¸ ÀÛµ¿ÇÏÁö ¾Ê½À´Ï´Ù.
When you click on any permalinks, your WordPress blog will return a 404 error instead, saying the post not found. ¾ðÁ¦°¡ permalink¸¦ Ŭ¸¯Çϸé, ´ç½ÅÀÇ WordPressÀÇ ºí·Î±×¸¦ ´ë½Å Æ÷½ºÆ® 404 ¿À·ù¸¦ ¹ÝȯÇÑ´Ù´Â °ÍÀ̴٠ãÀ» ¼ö¾ø½À´Ï´Ù. Instead, you can only access your blog posts via default permalinks structure, which is in the form of http://www.mydigitallife.info/?p=123. ´ë½Å¿¡, ´ç½ÅÀº ¾î´À http://www.mydigitallife.info/?p=123ÀÇ ÇüÅ´ ±âº»ÀûÀ¸·Î ¿µ±¸ ±¸Á¶¸¦ ÅëÇØ ºí·Î±× °Ô½Ã¹°¿¡ ¾×¼¼½ºÇÒ ¼öÀÖ½À´Ï´Ù.
This is because in xampp, mod_rewrite is not enable by default. ÀÌ xampp ¶§¹®¿¡, mod_rewrite´Â ±âº»ÀûÀ¸·Î Ȱ¼ºÈµÇÁö ¾Ê½À´Ï´Ù. 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. °Ô´Ù°¡, ¾ÆÆÄÄ¡ ȯ°æ ¼³Á¤ ÆÄÀÏ¿¡ allowOverride Áö½Ã¾îµµ ¾øÀ½Àº ±âº»ÀûÀ¸·Î ¾î¶°ÇÑ ¿øÀÎÀº ¾ÆÆÄÄ¡ À¥ ¼¹ö¸¦ ¹«½ÃÇϵµ·Ï ¼³Á¤µÇ¾îÀÖ½À´Ï´Ù.´Â °Ô½Ã¹°ÀÇ permalink¸¦ ÀçÀÛ ¼ºÇÏ´Â µ¥ »ç¿ëµÇ´Â ½ÇÁ¦ URL·Î htaccess·Î ÆÄÀÏ,.
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). ¿öµå¿¡¼ - xampp¿¡ ¼³Ä¡µÈ ±â¹Ý ¼¹ö¸¦ httpd.conf ÆíÁý permalink¸¦ »ç¿ëÇÏ·Á¸é C¿¡¼ ã½À´Ï´Ù : \ Program Files¸¦ \ xampp \ ¾ÆÆÄÄ¡ \ confÀÇ µð·ºÅ丮 (Æú´õ). Open httpd.conf in any text editor, search for ¡°mod_rewrite¡±. ¸ðµç ÅØ½ºÆ® ÆíÁý±â¿¡¼ ¿±â¸¦ httpd.conf, °Ë»ö "mod_rewrite". You should come to a line like this: ÀÌ °°Àº ¶óÀο¡ ¿Í¼ÇؾßÇÑ´Ù :
#LoadModule rewrite_module modules/mod_rewrite.so # LoadModule rewrite_module ¸ðµâ / mod_rewrite.so
Remove the hash sign (#) from the line. ¶óÀÎ (#)¿¡¼ ÇØ½Ã ±âÈ£¸¦ Á¦°ÅÇÕ´Ï´Ù. The # indicates the line is not in effect. # ¶óÀÎÀ» ³ªÅ¸³À´Ï´Ù¿¡ Àû¿ëµÇÁö ¾Ê½À´Ï´Ù. The changed line should looks like this: º¯°æµÈ ¶óÀÎÀ»ÇØ¾ß ÀÌ·¸°Ô º¸ÀÔ´Ï´Ù :
LoadModule rewrite_module modules/mod_rewrite.so LoadModule rewrite_module ¸ðµâ / mod_rewrite.so
After that, search for ¡°AllowOverride¡±. ¿¡ ´ëÇÑ ±× ÈÄ, °Ë»ö "allowOverride". You will come to a line like this: ÀÌ °°Àº ¶óÀο¡ ¿Ã °ÍÀÌ´Ù :
AllowOverride None allowOverride ¾øÀ½
If the above line is contained within default directory (mean the directory declaration is just ¸¸¾à À§ÀÇ ¶óÀÎÀ» ±âº» µð·ºÅ丮 ³»¿¡ Æ÷ÇԵǾîÀÖ½À´Ï´Ù (µð·ºÅ丮 ¼±¾ðÀ» ±×³É ¶æÀº
AllowOverride All allowOverride Àüü
Restart the Apache. ¾ÆÆÄÄ¡¸¦ ´Ù½Ã ½ÃÀÛÇÕ´Ï´Ù. Permalinks is working after restart. permalink¸¦ ´Ù½Ã ½ÃÀÛÇÑ ÈÄ ÀÏÇϰíÀÖ´Ù.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. Áß¿ä :ÀÌ ±â°è´Â "º¸Áõµµ¾øÀÌÀÖ´Â ±×´ë·Î"Á¦°øµË´Ï´Ù ÆäÀÌÁö¸¦ ¹ø¿ªÇß´Ù. Machine translation may be difficult to understand. ±â°è ¹ø¿ªÀ» ÀÌÇØÇϱ⠾î·Á¿ï ¼öÀÖ½À´Ï´Ù. Please refer to À» ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù original English article ¿ø·¡ ¿µ¾î ¹®¼ whenever possible. ¾ðÁ¦µç °¡´ÉÇÕ´Ï´Ù.
Share and contribute or get technical support and help at °øÀ¯¿Í ±â¿©Çϰųª ±â¼ú Áö¿ø°ú¿¡ µµ¿òÀÌ My Digital Life Forums ³» µðÁöÅÐ »ýȰ Æ÷·³ .
Related Articles °ü·Ã ±â»ç
- Enable MySQL InnoDB Storage Engine Support in XAMPP Installation MySQLÀÇ ½ºÅ丮Áö ¿£ÁøÀ» Áö¿øÇÏ´Â À̳ë Ȱ¼ºÈ XAMPP¿¡ ¼³Ä¡
- Easily Set Up Web Server with XAMPP ½±°Ô ¼³Á¤ÇÒ À¥ ¼¹ö¿Í XAMPP
- Install, Setup and Configure CGI and Perl in Windows XP ¼³Ä¡, ¼³Ä¡ ¹× ±¸¼º Windows XP¿¡¼ CGI¿Í ÆÞÀ»
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files ¾ÆÆÄÄ¡ httpd´Â ¶Ç´Â No µî mod_bwlimited mod_log_bytes ¶Ç´Â mod_bandwidth ÆÄÀÏÀ» ¿ ¼ö ¾ø´Ù ½ÇÆÐ·Î ÀÎÇØ ½ÃÀÛ
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 3 À¥ ¼¹ö¸¦ ¼³Ä¡ Windows XP¿¡¼ Apache2, php5¿Í MySQL4 - Á¦ 3 ºÎ
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page ¾ÆÆÄÄ¡ »óÅ (whm - ¼¹ö - »óÅÂ)ÀÇ cPanel WebHost °ü¸®ÀÚ ¹Ýȯ¿¡ ºó ÆäÀÌÁö
- gmmktime Error in WordPress and MagpieRSS ¿öµå¿Í MagpieRSS¿¡ gmmktime ¿À·ù
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept : ºñµ¿±â AcceptEx ½Ã½ºÅÛ ¾ÆÆÄÄ¡ ·Î±×¿¡ ¿À·ù ½ÇÆÐ
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working WordPressÀÇ Paginating ¶Ç´Â ½ºÇø´ Æ÷½ºÆ® ¶Ç´Â ÆäÀÌÁö Nextpage ÇÔ²² ¿öµå¿¡ ¾È µÊ
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 2 À¥ ¼¹ö¸¦ ¼³Ä¡ Windows XP¿¡¼ Apache2, php5¿Í MySQL4 - Á¦ 2 ºÎ

































October 30th, 2008 23:54 10 ¿ù 30 ÀÏ 2008 23½Ã 54ºÐ
thanks for the quick fix. ºü¸¥ ¼öÁ¤ ÇÁ·Î±×·¥À» °¡Á® Áּż °¨»çÇÕ´Ï´Ù.
October 24th, 2008 14:18 10 ¿ù 24 ÀÏ 2008 14:18
I was experiencing the same problem and your post has saved my day. ³ª´Â µ¿ÀÏÇÑ ¹®Á¦°¡ ¹ß»ýÇß´Ù ±ÍÇÏÀÇ °Ô½Ã¹° ³» ÇÏ·ç°¡ ÀúÀåµÈÀÖ´Ù. Thanks ! °¨»çÇÕ´Ï´Ù!
October 20th, 2008 14:11 10 ¿ù 20 ÀÏ 2008 14:11
Thanks for that! ±× Áּż °¨»çÇÕ´Ï´Ù! Was wondering why that wouldn¡¯t work.. ÀÛµ¿ÇÏÁö ¾ÊÀ» ÀÌÀ¯°¡ ±Ã±Ý ÀÖ¾ú ..
October 10th, 2008 13:09 10 ¿ù 10 ÀÏ 2008 13:09
Was facing the same problem with XAMPP in my local installation. ³» ·ÎÄà ¼³Ä¡¿¡ XAMPP¿Í µ¿ÀÏÇÑ ¹®Á¦¸¦ Á÷¸éÇÏ°í ´Ù³æ¾î¿ä. Googled for the solution and thankfully came across your post. ¼Ö·ç¼Ç¿¡ ´ëÇÑ °Ë»ö ´ÙÇàÈ÷ ±ÍÇÏÀÇ °Ô½Ã¹° °Ç³Ê ¿Ô¾î¿ä. Nice and useful write-up. ´Ï½º¿Í ¾²±â - ÃÖ´ë À¯¿ëÇÕ´Ï´Ù. Great!! ±×·¹ÀÌÆ®!!
October 8th, 2008 19:32 10 ¿ù 8 ÀÏ 2008 19:32
Awesome post, worked a dream - many thanks! ³¡³» °Ô½Ã, ²Þ - ¸¹Àº °¨»ç ÀÏÇß´Ù!
Worth noting the same issue is apparent with installations of Joomla! JoomlaÀÇ ¼³Ä¡¿Í ÇÔ²² °¡Ä¡ÀÖ´Â °ÍÀ» °°Àº ¹®Á¦¸¦ °Þ°íÀÖ´Ù! on xampp. xampp¿¡.
PS don¡¯t forget to save the file once you¡¯ve edited (speaking from experience - 1 too many 7ups!) ÀÏ´Ü ´ç½ÅÀÌ (¸»ÇÏ´Â °æÇè¿¡¼ - 1 ³Ê¹« ¸¹Àº 7ups ¼öÁ¤ÇÑÀÇ PS ÆÄÀÏÀ» ÀúÀåÇÏ´Â °ÍÀ» ÀØÁö ¸¶¼¼¿ä!)
September 27th, 2008 11:10 9 ¿ù 27 ÀÏ 2008 11:10
I had a similar problem with a LAMP server, issue was due to symlinks not being enabled. ³ª´Â ¹®Á¦·Î ÀÎÇØ¿´´Ù ·¥ÇÁ ½Éº¼¸¯ ¸µÅ©°¡ Ȱ¼ºÈµÇÁö ¾Ê´Â ¼¹ö¿Í ºñ½ÁÇÑ ¹®Á¦°¡ ¾ø¾ú´Ù.
Simply went to vhosts/vhost.conf and added allow all statement.. ´Ü¼øÈ÷ vhosts¿¡ °¬¾ú / vhost.conf ±×¸®°í .. ¸ðµç ¼º¸íÀ» Çã¿ëÇß´Ù
September 25th, 2008 09:29 9 ¿ù 25 ÀÏ 2008 09:29
[...] sumber : [...] sumber : http://www.mydigitallife.info/ [...]
August 15th, 2008 04:59 8 ¿ù 15 ÀÏ 2008 4½Ã 59ºÐ
Thanks A LOT! °í¸¿±¸³ª! Works great! ÈǸ¢ÇÑ ÀÛǰ!