The following questions are prompted when you set up a permalink:
If you have
.htaccess
Filecan be written, we can automatically modify it. But it seems that it is not writable, so we have listed below your
.htaccess
the URL rewrite rules that should be included in the file. Click on the text area below and pressCTRL+ aTo select all. you need to write the following code to the. htaccess file<ifmodule mod_rewrite.c>Rewriteengine onrewritebase/wordpress/rewriterule ^index\.php$-[L]rewritecond%{request_filename}!-fRewriteCond%{ Request_filename}!-d
is to really build one with "." Instead of "file name. htaccess".
Open Text edit to create a new text file and rename it, you will be prompted not to do so. That involves a problem with the Mac system showing hidden files. Enter the following command in the terminal to show or hide hidden files:
Show hidden files defaults write Com.apple.finder Appleshowallfiles-bool true
Instead of displaying input defaults write Com.apple.finder Appleshowallfiles-bool false
After that, you can name the file at the beginning of the "dot", place the named. htaccess file in the root of the Web page, and refresh the page to make the fixed link changes.
Create. htaccess file for Apache under Mac