WordPress front page display issues - php

I've developed my theme locally and I have the Reading Settings > Front page displays > Front page displays > Your latest posts.
This would then mean the template file would be home.php and this all works fine on my local machine. Though when I push this to my live site and have the same settings the front-page.php file is being displayed even though I deleted it and cleared my cache.
You can view the site here: www.eatsleepkayak.com
The home page should be displaying a blog feed not the current quotes landing page.
Im not sure why this is happening and how to resolve it.

After move live Permalink re-save.
Note: .htaccess should be writable.
or create template file and assign to any other page. Use this page as front page.

Related

Wordpress Site only showing main page under Xampp

Sorry for the same problem again, but I have tried various solutions provided by other people and still cannot solve this problem.
I have twice pulled a live website (which works fine) down to run locally under XAMPP Version 5.6.31. The first time I did everything manually, but could not solve this problem. I deleted that installation and tried again using the Duplicator plugin, but ended up with the same problem.
The website main page has a menu on it which takes the user to different pages (not posts) on the website. Each page is based on an individual template which loads the page. Examples of the standard codes used to move from one page to another are:
1. user Login
2. echo "<script type='text/javascript'> document.location = '/index.php/user-login/'; </script>";
The localhost website files are in c:\xampp\htdocs\mywebsite. I can login to Wordpress and edit the website pages, view the plugins etc.
I have set the wp-config.php to the correct database-name/root/no-password settings, tried saving the permalinks (pressing SAVE twice), tried changing the permalinks, checked the .htaccess file, corrected the Xampp config settings of "AllowOverride" and "mod_rewrite", checked I can access the database using Xampp MySQL, checked the database permissions and tried different settings in "c:\xampp\htdocs\index.php".
If I type "http://localhost/mywebsite/index.php/user-login" into the browser, the correct login page is displayed. If I hover over the menu option on the main page of mywebsite, "localhost/index.php/user-login" shows in the bottom left corner of Firefox. Pressing that just refreshes the main page - it does not take me to the login-page.
c:\xampp\htdocs\index.php includes the lines:
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/mywebsite/index.php');
Any ideas will be greatly appreciated - thanks.

Wordpress homepage not loading and redirects to Host server

I am quite new to the area of website development and am having an issue with my website's homepage. I was running Wordpress 3.5.x and yesterday updated to Wordpress 4.7.1. I updated Wordpress manually by deleting all the files/folders (except wp-content, wp-config.php) and replacing them from a fresh download of Wordpress.
And now the homepage for my website does not load. All the other pages are loading fine.
Homepage -> http://isas.hu
Other page -> http://isas.hu/university/the-university/ - This, for example, and all other pages work absolutely fine.
When I try to go to the homepage it redirects to my Host server and gives a message in Hungarian, which translates to: "The website is not uploaded" and "The space is provided by Mediacenter"
I tried replacing the new index.php file with the old one. I also replaced the new template-loader.php (in the wp-includes folder) with the old one but nothing seems to work. Any help would be greatly appreciated.

My wordpress admin page shows white screen

I was asked to change this site
http://www.ellabar.com/ ,so i created a new test site as a sub domain of the main one as
http://test.ellabar.com/
Once the test site was done i was supposed to change the url to main one. I changed the url to main through general settings. Which i should not have done. Everything disappeared. I could not login to my wordpress login.
I searched a lot of topics to find a solution of changing urls in functions.php file of my theme folder. That worked but after sometime again it stopped working. Now someone suggested this to me on wordpress forum
See:
You'll need to use FTP or Cpanel to change those back - the functions.php file method is pretty easy to do.
If the functions.php file is messed up, using FTP change the name on your active theme's folder - which will force WP to use a default theme (twentyfifteen). Then use the same functions.php file method to change the site URL's back in that twentyfifteen theme.
Now this is what happens.
If i change the name of functions.php to anything else say wpfunctions.php than i can see the wordpress login page, correctly log into the dashboard and work in back end of wordpress but the website disappears. If i rename it to functions.php than website works correctly but wordpress login becomes a white screen. I want both the site and dashboard working. Can anyone help me with this please. I really need to make this site live in one day for my client.
Im using wordpress 4.0 and default theme is twenty fourteen.
Deactivating the current theme and re-installing it, fixed the white screen error.

Test Page not showing up inside a wordpress installation

I tried to display a test page localhost/wordpress/test.html inside my wordpress installation.
However, even though the page exists in this location wordpress simply displays the File Not Found Page.
How can I fix this and get my localhost/wordpress/test.html to show up?
Fixed it.
It was a wordpress theme redirect inside the .htaccess file

Why would this wordpress site be redirecting

Ok so i have this wp site and for some reason it always redirects to a page i just created. The page i just created was named (our other brands)...I even tried deleting the page and the file that i create page-our-other-brands.php but the redirect is still there. I looked in the htaccess and nothing and i have no idea what is causing this redirect ...any ideas
Go to admin site there is a link for configuration/setting go there
and there is an option to set the home page for wordpress site change it.
Go to Administration > Settings > Reading panel and change it.
Read http://codex.wordpress.org/Creating_a_Static_Front_Page

Categories