WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] No links are Working Only Homepage - Posts and pages are present in backend (4 posts)

  1. sweetiemansi01
    Member
    Posted 1 year ago #

    i own website http://www.asarkarinaukri.com,
    from today morning my sites pages and posts are not opening, only homepage, sitemap page and wp - backend are working properly.Initially i thought it could be because of some plugins. i removed all plugins but still the problem was there.

    After that i deleted that data from cpanel and uploaded the backup of few days ago, again the same problem the links didn't work.
    Now i removed everything and installed fresh wordpress but still the posts and page links are showing errors.

    i had added the 404.php file also that redirects all 404 to my home page but that also stopped working.

    Kindly help me in solving the issue asap.
    I am in a great need of help and my website back...

  2. pdobariya
    Member
    Posted 1 year ago #

    Hi sweetiemansi01, your problem may with permalink, so goto admin -> settings -> permalinks
    and just click only on save button. thanks

  3. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Temporarily revert to Twenty Twelve theme and see if the problems persist. Keep your plugins (if any) too turned off.

  4. sweetiemansi01
    Member
    Posted 1 year ago #

    no actually the problem was with Better WP- Security plugin
    the plugin made some changes to .htaccess file in File Manager, now my site is working properly as i edited the .htaccess file and replaced everything with the following code

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.