Hi all!
I've got a question, is it possible and how to change the default home page? I am not talking about settings-reading-static page; what i want to do is to havea custom index.html when the domain in accessed.
Possible?
Hi all!
I've got a question, is it possible and how to change the default home page? I am not talking about settings-reading-static page; what i want to do is to havea custom index.html when the domain in accessed.
Possible?
Yes.
But not how you think. Put your custom page in a *theme*. Change the theme on that main blog to your custom theme. There ya go.
Pardon?
The default home page is rendered from the theme that is set on the main blog.
So if I replace index.php in my theme directory with my index.html it will become the home page yet wordpress will still be working fine?
I recommend to make custom page for it and then change your default home page to new one. You need to create yournewpage.php, more instruction:
http://codex.wordpress.org/Pages
Thank you. I already jave created a custom page index.html I will just change the extension to php.
My question or rather fear is; if I got it right, I should replace index.php in my theme directory with my custom page and wordpress will still be working fine?
OK, took a risk and replaced and all is working fine, one thing though, how do I access the home site of the blog now?
anyone?
Now this has messed up my site a bit.. .When a new blog is created for example test.domain.com it too redirects to my cutom page when accessed. How to fix it?
Are the other blogs using that theme too? If so, that's why.
Or you put the new index.php in the wrong place.
To see your blog posts, make a page called "blog" in the backend. Go to Setting -> Reading and pick that page to show posts on. Make sure you linked to it from your custom page.
Yes the blogs are using the same theme, how do I make the main site use one theme and rest of the blogs use other theme as default?
OK I've managed to fix it, copied the default theme, named it default2 with my custom page inside and set it as the theme for my main site. Other newly registered blogs still have the default theme intact and use it.
Thanks for your help!