Need help with htaccess and Peermalinks, please?
-
I just upgraded to WP 3.3.
My WP install is at https://www.Domain.com/blog.
In my site control panel, it’s at /poublic_html/blog.I set my Permalink settings to Month and Name.
The following code appeared: /%year%/%monthnum%/%postname%/
I’m expecting this to generate a post name like domain.com/blog/2011/12/postnameA message tells me to update my HTACCESS file with the following:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /index.htm/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.htm/index.php [L] </IfModule>
(HTACCESS is in my root directory, not the /blog/ directory.)
I read other posts saying to edit the HTACCESS code because I’m not at root.
I came up with this:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/index.htm/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.htm/index.php [L] </IfModule>
Unfortunately, my computer can’t find my posts!
Not VIEW, not PREVIEW.I know this has been answered a thousand times!
I just can’t find the answer that fixes my situation.
A drop-kick in the right direction is greatly appreciated!!Ed
- The topic ‘Need help with htaccess and Peermalinks, please?’ is closed to new replies.