Support » Fixing WordPress » somewhere working somewhere not

  • Hello everyone,

    I have one site

    Recently, I have installed the wordpress on the directory:

    Somewhere is working and somewhere it is not. Getting this error 🙁

    Not Found

    The requested URL /ghaziabad/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    But is working everywhere.

    I have two .htacess files:

    .htacess file code for
    Options +FollowSymLinks
    RewriteEngine On

    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

    .htacess file code for
    # BEGIN WordPress
    RewriteEngine on

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

    Please help me in this 🙁 what’s wrong here?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Krishna



    Have you tried these steps:
    – deactivate all plugins and see if the problem persists. If it solves the problem, activate plugins one by one until you find the problematic one
    – revert to Twenty Twelve theme and see if the issue is theme-specific
    – delete any inactive plugins
    reinstall WordPress manually from a freshly downloaded copy except wp-content. Delete all existing files before uploading new files.

    Use FTP or your hosting control panel if you cannot access dashboard.
    Backup your site including database so that you can restore your site in case anything goes wrong.

    Thanks Krishna for your valuable time. I have deleted all plugin once and tried. Problem was same. Also, Same thing was happening in case of Twenty Twelve Theme. Moreover, I have reinstalled WordPress Manually also, case was same. Now, I am thinking it’s some server issue.

    What you think?





    Now, I am thinking it’s some server issue.

    You may, though I don’t see any reason for such 404 errors.

    You can also try these:
    1. Just re-save your permalinks settings without making any changes
    2. Copy your permalinks to your computer and delete it. Then re-save the permalinks (a) without changing anything in the settings, and (b) it it does not help, change permalinks to default, save, and reset again to your current settings and save. While doing so, WordPress will re-create your permalinks correctly and possibly the errors may go away.

    Krishna firstly, again thanks for your precious time.

    Yes, I tried all the possible things with the permalinks and reset it to my current settings. Now I am going to test the site on the different places. I hope it will work. I will back to you soon.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘somewhere working somewhere not’ is closed to new replies.