Hi,
The best way to do this would be to create your home page as index.html, then add the following to your .htacess
DirectoryIndex index.html
Note that having an index page that isn’t your main website is bad for SEO.
Kind regards
Jamie
Hi Jamie,
I edited the .htaccess to give priority to index.html and then index.php but when I press the link to index.php from .html it re-load the index.html like in a loop!
What the problem can be?
Hi,
Ah yes. I can see that would be an issue, apologies. The next thing to do is place WordPress in a sub folder say your domain /wp
Kind regards
Jamie
Hi,
and thank you again for your reply!
Does move my WP folder in a sub-folder will mess up all my links, medias and blabla?
And which is the folder that I should move?
WP-content or also the pages that are in the root (for example, the index.php)
Thank you so much again!
Hi,
If you move the entire folder you will also need to update your WordPress url. The easiest way is to add the following to your wp-config.php
define(‘WP_HOME’,’http://example.com/wp’);
define(‘WP_SITEURL’,’http://example.com/wp’);
Kind regards
Jamie
Hi,
I moved all the files in public_html folder into public_html/wp.
I just left index.html (my new frontpage) and .htaccess.
Now if I click “Enter” from the frontpage it took me to the index.php of WP.
But this one has all the links (page, articles and medias) messed up!
How can I repair it?
Thank you so much!
Hi,
Did you change the WordPress installation url as per this guide? http://codex.wordpress.org/Changing_The_Site_URL
Kind regards
Jamie
Hi,
yes I did!
But didn’t worked.
The dashboard is loaded and works, but pages, posts and media miss some documents and links.
I also tried to regenearate all the permalinks and link thanks to a plugin but nothing good happened!
Where is the issue?!
Thanks