Page Not Found Error PHP
<p>I have updated my website on server home page is working fine but innerpages are not working fine</p>

<pre><code> home page url-http://54.174.90.227/  - working
 innerpage url-http://54.174.90.227/advertise/  - not working
</code></pre>

<p>i checked my .htaccess file
RewriteEngine is on</p>

<pre><code>     # enable apache modRewrite module #
     RewriteEngine on

     AddDefaultCharset utf-8

     #Protect - DOS
       LimitRequestBody 10000000

      # set files headers
     &lt;IfModule mod_headers.c&gt;
      &lt;FilesMatch "\.(css|js|png|gif|jpg|jpeg|htc)$"&gt;
      Header set Cache-Control "max-age=2678400, public, must-revalidate"
     &lt;/FilesMatch&gt;
     &lt;/IfModule&gt;

   &lt;IfModule mod_headers.c&gt;
    &lt;filesMatch "(thumb_resize\.php|thumb_resize_fixed\.php|image_url\.php)$"&gt;
     Header set Cache-Control "max-age=2678400, must-revalidate"
    &lt;/filesMatch&gt;
     &lt;/IfModule&gt;

        #+SymLinksIfOwnerMatch
      Options All -Indexes

  &lt;Files .htaccess&gt;
  order allow,deny
  deny from all
  &lt;/Files&gt;

  # deflate static content
   &lt;IfModule mod_deflate.c&gt;
 AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/x-component 

  text/css application/x-javascript application/javascript
</code></pre>

<p></p>

<pre><code>RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

  ErrorDocument 403 "/public/error/404.php/"
   ErrorDocument 404 "/public/error/404.php/"
 ErrorDocument 406 "/public/error/404.php/"


# Pages User
 RewriteRule ^([a-zA-Z0-9-\_\.]+)$ index.php?usr=$1 [QSA,L]

# Pages Search
RewriteRule ^search/(.+)$ index.php?q=$1 [QSA,L]

 # Pages Static
RewriteRule ^([a-zA-Z0-9-_]+)/$ index.php?page=$1 [QSA,L]

# Pages Status
 RewriteRule ^([a-zA-Z0-9-_]+)/(status)/([0-9]+)$ index.php?   usr=$1&amp;action=$2&amp;id_status=$3 

[QSA,L]

  # Pages User Action
 RewriteRule ^([a-zA-Z0-9-\_\.]+)/(followers|following|favorites|media|info)$ index.php?usr=

$1&amp;action=$2 [QSA,L]

#Thumb Resize Images
RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^thumb/([a-z0-9-_\.\/]+)$ thumb_resize.php?x=$1 [QSA,L]

 #Thumb Resize Images Fixed
RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^thumb_fixed/([a-z0-9-_\.\/]+)$ thumb_resize_fixed.php?x=$1 [QSA,L]

#sitemaps
RewriteRule ^public/sitemaps/sitemaps\.xml$ public/sitemaps/sitemaps.php [L]
</code></pre>

<p>please suggest me something.</p>