masaharu Posted November 7, 2014 Report Share Posted November 7, 2014 Database migration from xampp localhost to shared host didn't go well. Images are displayed, I can login, URL of posts are correct, top page is displayed but other pages are 404. Theme is customizr and i use child theme. Setting of customizr is also lost. Allow me explain what i did. Upload new wordpress files to public_html folder upload theme, plugin, upload to wordpress folder in public_html folder Export sql file from local phpmyadmin I saved screenshot of export options in my google drivehttps://drive.google.com/file/d/0B1l4Jo3Y_WwJdXhFVmYwcENXUU0/view?usp=sharing Open SQL file with notepad++ replace all http://localhost/promoteyourappinjapan to http://lokalizer.biz replace promoteyourappinjapan to lokalizer.biz I didn't change wp-config.php I doubt that I should keep localhost as it is in some case because host name is localhost Thanks, Quote Link to comment Share on other sites More sharing options...
Tony Posted November 7, 2014 Report Share Posted November 7, 2014 What it sounds like you missed doing was uploading your .htaccess file which makes the pretty URL's work properly. Quote Link to comment Share on other sites More sharing options...
masaharu Posted November 8, 2014 Author Report Share Posted November 8, 2014 Hello TOny, Thank you very much for response. I've uploaded it to public_html directory. The content is below but nothing changed. I can access to wp-admin so problem might not be url. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /http://lokalizer.biz/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /http://lokalizer.biz/ [L] </IfModule> # END WordPress Quote Link to comment Share on other sites More sharing options...
Tony Posted November 8, 2014 Report Share Posted November 8, 2014 Hello, Your .htaccess code seems to be incorrect. You'll probably want the default mod_rewrite rules: # 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.