Tagged: x
-
AuthorPosts
-
March 26, 2016 at 11:10 am #853486
Hi, I’m almost ready to launch my website which has been developed on the same server account as my current website.
I’ve noticed that if you select a category from the drop down at the blog index page (http://tomrogerswebdesign.com/blog), it takes you to my current home page (http://tomrogerswebdesign.com).I’m thinking that when my home page (tomrogerswebdesign.com/index.htm) is removed from the server, it will work. But it would be nice to know for sure before going live. Do you think that’s the case, or is there something else going on?
I’ll provide my username and login info in a private reply.
TomMarch 26, 2016 at 11:11 am #853488This reply has been marked as private.March 26, 2016 at 6:20 pm #853715Hi there,
Thanks for posting in.
There is no other way than deleting the index.htm, site’s has their default pages and the priority is depending on how your hosting set it up. This time, index.htm is more prioritized that index.php
A site can only display one default page at a time.
Thanks!
March 27, 2016 at 8:04 am #854146I’m aware of the page priority, and when I want to launch the site will remove the index.htm page.
My question was about how when you select a category from the blog index page, it doesn’t come up with anything but the index.htm page. When I remove the index.htm page, will that thing work properly? Or is there something else going on? Please see screenshot attached.
TomMarch 27, 2016 at 11:09 am #854242Hi there,
Thanks for writing back. Yes if you remove the static html file then it should work as expected. It’s because after selecting the category it will request the index.php page to display the category page. But as you have the HTML file so the execution going on wrong file.
Hope this makes sense.
Cheers!
March 27, 2016 at 12:47 pm #854327Thanks, it’s what I had hoped, but figured better safe than sorry.
March 27, 2016 at 5:14 pm #854468You’re welcome!
-
AuthorPosts