Wednesday, November 23, 2016

404 Errors With Permalinks Set To %postname%


Once time you need to transfer you website from one host to another hosting.
1st select which hosting platform is your required site.
2nd try to take a backup of your required site and your database also. If not possible then contact with hosing support via live chat.
3rd select your domain platform. Ex go Daddy and change your required main server name. We can get this server name form your hosing company where you will add or replace your site.
4th go to your hosing where we will up load your website.
1) replace your domain name and upload your file on public_html root as a zip file then extract your all file.
5th create a database name and user name and add to each other.
6th go to php my admin click on your database name and import your database backup file.
Thank's it.
Problem: It will be live. You face a problem menu url is not response 404 error.
1st solution: to do setting> permalink and see. If it will already select post name just save or not then select post name and save it.
2nd solution: If page id is working not post name is not working then create a .htaccess file on public_html root and past this code.
code:
# BEGIN WordPress

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

 If you need any help of migration. Just Knock me. I'm with you. Thanks.
Location: Badda, Dhaka, Bangladesh

0 comments:

Post a Comment