Thanks but I have changed the directory name after waiting for someone to help here for hours…
Ok, this is how the .htaccess file looks
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cms/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /cms/index.php [L]
</IfModule>
# END WordPress
What should be the changes?
I donot have any .htaccess file in the directory. What should I do now?