Need help with WP and htaccess files
-
HI,
I set up the latest WP default site in my root and it was fine.
I did not want it seen as I was building it but did want a Under Con page showed when people visited.
I set up a index.html file in root and changed the .htaccess so this showed, not the index.php of WP.
This worked fine. I was able to go into WP admin and make changes etc without being seen.
I then stared adding content but every time I wanted to see what I had done on Preview I was taken to the index.html page I had set up.
I thought maybe I should copy the WP site over to a sub dir which I did and changed the address in Admin.
I was able to go into admin here and all seemed fine, until I once again tried to Preview and I was still taken back to mt root index.html file.
What can I do so I can see the Preview in the sub site and still have the index.html in root still be the once that is seen when going to the primary dom url until I am ready to show it.
I guess it is in the 2 htaccess files, root and sub.. then again maybe not !
Hope you can help.
oz
- The topic ‘Need help with WP and htaccess files’ is closed to new replies.