Is my index.php correct to send to my wordpress ?
-
I have my wordpress in a folder, let’s called it “my folder” and I want this folder to appear in my url for SEO reasons. So I create at the root of my site an index.php to forward to my wordpress index inside my folder this way:
<?php header( 'Location: /myfolder/index.php' ); exit(); ?>
It works but my concern is the speed of my web. Pingdom is saying that it takes more than 3 seconds to start loading my web. I don’t know if it is due to this index I create (maybe there is a better way to write it) or because my wordpress is https (are secure web more slow)?
I’m really surprised because before I had a website done in html (and http) and it takes less than 2 seconds with the same structure to load the whole web. Now it’s about 6 seconds (same amount of text and same weight for the images 100Kb for the homepage).
Does somebody know if the index.php I create is ok ? Is there a better way to it but I insist I want the name of my folder to appear in the url for Seo reasons…
Thanks in advance !
- The topic ‘Is my index.php correct to send to my wordpress ?’ is closed to new replies.