permalinks problem on MAC
-
Permalinks won’t work. Need help getting my permalinks to work.
http://localhost/mySite/?p=123 <<< works fine
http://localhost/mySite/blog/2013/04/16/sample-post/ <<< will not workI am running a MAC 10.8.3 with Apache and PHP.
When I change this:
Options Indexes FollowSymLinks MultiViews# # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride NoneTo this:
AllowOverride AllI get this error:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.My htaccess is:
RewriteEngine On RewriteBase /mySite/ RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]I also have this in my user/mySite config file
<Directory "/users/mySite"> Options Indexes MultiViews Options +Indexes +FollowSymLinks +ExecCGI Order allow,deny Allow from all AllowOverride all </Directory>Any help is much appreciated. Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘permalinks problem on MAC’ is closed to new replies.