Title: cannot see posts
Last modified: August 20, 2016

---

# cannot see posts

 *  [Famous](https://wordpress.org/support/users/famous/)
 * (@famous)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/)
 * I have a Lion install with native PHP & Apache, and I installed MySQL on my own.
 * I cannot see posts – only?
    [http://localhost/AAA/mySite/2012/06/post-title/](http://localhost/AAA/mySite/2012/06/post-title/)
 * I can hit the homepage fine, but cannot see posts
    [http://localhost/AAA/mySite/](http://localhost/AAA/mySite/)
   <<<<<< hits fine
 * I can also login to my admin, but its a no go on the posts – any ideas?
 * Thanks

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838189)
 * Is mod_rewrite running on your server?
 *  Thread Starter [Famous](https://wordpress.org/support/users/famous/)
 * (@famous)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838202)
 * So the below is what the Apache httpd file looks like:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [Famous](https://wordpress.org/support/users/famous/)
 * (@famous)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838214)
 * By the way I just realized my:
    [http://localhost/blog/2012/06/16/hello-world/](http://localhost/blog/2012/06/16/hello-world/)
 * works!
 * but:
 * [http://localhost/AAA/mySite/](http://localhost/AAA/mySite/)
 * doesn’t work. It redirects to the localhost site as a 404 not found
 *  [loughcorrib](https://wordpress.org/support/users/loughcorrib/)
 * (@loughcorrib)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838359)
 * Have a look at .htaccess rewrite.
    What permalink structure are you using ?
 *  Thread Starter [Famous](https://wordpress.org/support/users/famous/)
 * (@famous)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838388)
 * I meant to say this one doesn’t work:
    [http://localhost/AAA/mySite/2012/06/post-title/](http://localhost/AAA/mySite/2012/06/post-title/)
 * this one does:
    [http://localhost/AAA/mySite/](http://localhost/AAA/mySite/)
 * The .htaccess is below, I took out three lines to fit the code guideline of 10
   lines
 *     ```
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
       RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
       RewriteRule . index.php [L]
       ```
   
 *  Thread Starter [Famous](https://wordpress.org/support/users/famous/)
 * (@famous)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838391)
 * My localhost site shows /blog/2012/06/16/hello-world/, but my directory site 
   won’t.
 * Here is the .htaccess file for the directory site:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * thanks for your help
 *  [loughcorrib](https://wordpress.org/support/users/loughcorrib/)
 * (@loughcorrib)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838405)
 * As per Esmi is rewrite on?
    Also what have you set in permalinks ? The code rewrite
   above just removes index.php from permalink. Any chance you have reversed date
   and title have you this in permalink.
 * /%date%/%post%/
    or similar
 * What is your url ??On pc 127 or local ?
 *  Thread Starter [Famous](https://wordpress.org/support/users/famous/)
 * (@famous)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838406)
 * thanks for the follow through loughcorrib. I looked at this page:
    options-permalink.
   php
 * and at the bottom of the page found this:
    If your .htaccess file were writable,
   we could do this automatically, but it isn’t so these are the mod_rewrite rules
   you should have in your .htaccess file. Click in the field and press CTRL + a
   to select all.
 * Copied the code that it had in the box below it and pasted it to the .htaccess
   file and now it works great.
 * Thanks
 *  [loughcorrib](https://wordpress.org/support/users/loughcorrib/)
 * (@loughcorrib)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838429)
 * Great ! glad you got sorted.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘cannot see posts’ is closed to new replies.

## Tags

 * [no posts](https://wordpress.org/support/topic-tag/no-posts/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 9 replies
 * 3 participants
 * Last reply from: [loughcorrib](https://wordpress.org/support/users/loughcorrib/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/cannot-see-posts-2/#post-2838429)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
