Error 404 not going after Wordpress Permalink change to custom structure

678 views Asked by At

I am having a lot of problem because error 404 is not going. I have changed the permalinks to /%postname%/ . Since then I am getting 404 when I try to move to any page other than "Home". Home works fine.

Website : http://www.jitechnologies.com (The website is built by a non-professional, so please ignore the design for now). Website is hosted and the hosting company does not allow me to edit the web.config file. So please suggest your resolution accordingly.

I have checked the .htaccess code several times and here it is for your reference:

# 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>
# END WordPress

I have removed all plug-ins. I changed the permalink structure to "Default" then everything works perfectly. but, /%postname%/ again I start getting 404 Errors.

Is there something I am missing out. I request some technical help for this resolution.

Thanks in advance.

1

There are 1 answers

0
BlockchainDeveloper On

I had this same problem before and it was because I didn't upload wordpress to the root folder of my domain. Make sure it is. If that doesn't work, clear the cookies in your browser. If that doesn't work, create a backup of your database through your cPanel and then re-install Wordpress making sure it is in the correct root folder on your domain. Without seeing everything you are talking about, it is hard to say for sure, but I am sure it doesn't have anything to do with your web.config file.

If you do all of these things and re-install wordpress, it should work just fine. Again, this sounds like the exact same thing that happened to me about a year ago, so give it a try. If that doesn't work it must be your permissions.. Check the 'all permissions' box when you create your new database from your cPanel if everything else has still failed. This means you will be starting from scratch essentially, but wordpress has so many good features, this shouldn't be such a terrible thing.