• 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 !

Viewing 1 replies (of 1 total)
  • Hello Catburlow,

    The load time of a website is NOT an absolute. Not unless you have your own dedicated fiber cable direct to the ISP and there’s no traffic on the network or server other than yours. The type of hosting that you’re using will also be a factor. If you’re on a shared server (the cheapest type of hosting), then you will be sharing a server with many other websites. Depending on the load of the server at that time, your site might load slower or faster. If you want complete control of your host server (and it’s resources), you will need to have your own dedicated hosting server (typically the most expensive type of hosting service). If you can provide your site URL, we can take a look at the site and look to see what might be causing your site to load a little slower. If you want to check it yourself, a good site to use for performance indication is Gtmetrix.com.

    Secure websites are not slower. And, if your site is truly as small as you’re saying, then the index.php shouldn’t be a factor unless you’re doing something pretty obtuse. We would need the URL in order to see what’s happening, though. If you can provide that information then we can make more objective observation of your site’s performance.

    Hope that helps to answer your questions!

    Arnel C.

Viewing 1 replies (of 1 total)
  • The topic ‘Is my index.php correct to send to my wordpress ?’ is closed to new replies.