Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1415111
Want to improve this question? Update the question so it's on-topic for WordPress Development Stack Exchange.
Closed 12 years ago.
Improve this questionI'm running WordPress locally on 127.0.0.1 on Mac OS X Lion. All links work fine. Problem is when I add pages, and set permalinks to the page, and then associate the page with one of my template themes, as shown in this link below:
I get this:
Not Found The requested URL /gps-products was not found on this server.
Now I have the same code (including the .htaccess file) and same database on two different Macs running Lion, and it works fine on one but not the other, so I believe the issue is related to the Apache configuration.
Closed. This question is off-topic. It is not currently accepting answers.Want to improve this question? Update the question so it's on-topic for WordPress Development Stack Exchange.
Closed 12 years ago.
Improve this questionI'm running WordPress locally on 127.0.0.1 on Mac OS X Lion. All links work fine. Problem is when I add pages, and set permalinks to the page, and then associate the page with one of my template themes, as shown in this link below:
I get this:
Not Found The requested URL /gps-products was not found on this server.
Now I have the same code (including the .htaccess file) and same database on two different Macs running Lion, and it works fine on one but not the other, so I believe the issue is related to the Apache configuration.
Share Improve this question edited Aug 25, 2019 at 20:44 Glorfindel 6093 gold badges10 silver badges18 bronze badges asked Jul 2, 2012 at 17:47 JohnMerlinoJohnMerlino 2193 gold badges5 silver badges13 bronze badges 1- Close-voted as off-top since this deals specifically with server configuration. This might get more attention at Server Fault or Stack Overflow. – Brian Fegter Commented Sep 21, 2012 at 7:07
1 Answer
Reset to default 1This is really an Apache and OS X question and not specifically WordPress, but you may need to edit Apache's httpd.conf file to allow .htaccess files to work on the one Mac.
Go to /etc/apache2/ (That's for 10.6; Lion may be different) with the Finder's Go >> Go to Folder... menu item (or via terminal) and edit httpd.conf and uncomment the instances of AllowOverride All
in one or more <Directory ...>
blocks. There may be several. Then restart Apache or reboot the Mac.
See http://akrabat/php/setting-up-php-mysql-on-os-x-10-7-lion/ for the whole process, including editing httpd.conf
本文标签: permalinksThe requested URL was not found on this server
版权声明:本文标题:permalinks - The requested URL was not found on this server 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745216177a2648179.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论