Wordpress Pages Display Homepage

5 replies
On one of my sites, if you click on a page, it just shows the homepage.

I have been looking for solutions and nothing I tried so far has work. I know it has something to do with the .htaccess and permalink structure, but I don't know how to fix it.

Any help would be appreciated!
#display #homepage #pages #wordpress
  • Profile picture of the author bloodyuber
    hey Mike does this happen in all the pages you click on? (on this site)
    if so, dump the .htaccess file here and will see whats going on
    {{ DiscussionBoard.errors[6738566].message }}
  • Profile picture of the author Mike Hlatky
    Yes, this happens on all the pages. Here is a current copy of the .htaccess file:

    Code:
    # 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>
    
    # protect wpconfig.php
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>
    
    # END WordPress
    {{ DiscussionBoard.errors[6738876].message }}
  • Profile picture of the author ALicenseToCode
    Have you manually set a permalink structure in your wordpress? If so make sure that you have the title of the page/post as one of the variables or it might not pull it up properly. Can you give us an example of the url that doesn't work i.e. is it just yourdomain.com/page-name/ knowing what your structure is would definitely let me give you a solution.
    {{ DiscussionBoard.errors[6739328].message }}
    • Profile picture of the author Mike Hlatky
      Originally Posted by ALicenseToCode View Post

      Have you manually set a permalink structure in your wordpress? If so make sure that you have the title of the page/post as one of the variables or it might not pull it up properly. Can you give us an example of the url that doesn't work i.e. is it just yourdomain.com/page-name/ knowing what your structure is would definitely let me give you a solution.
      Yes, that is what the structure is.

      I am using /%postname%/
      {{ DiscussionBoard.errors[6739575].message }}
  • Profile picture of the author teguhyuliantos
    I think you should be check it first your script code or dashboard control panel.
    {{ DiscussionBoard.errors[6741659].message }}

Trending Topics