1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Webpage redirection help

Discussion in 'Web Design & Development' started by howard.a.s, Jan 15, 2015.

Thread Status:
Not open for further replies.
  1. howard.a.s

    howard.a.s Thread Starter

    Jul 22, 2005
    I currently have a Wordpress website which is soon to be taken down and replaced by a near identical website constructed entirely in HTML and PHP. The Wordpress version of the website has been operational for roughly 18 months during which time Google has cateloged its pages and included them in search listings. When I change over to the new HTML/PHP version I am concerned that when someone clicks on a Google search listing for my website that it will return a page not found message, as under Wordpress all my pages end without a file extension, whereas the new sites pages will always end with a .html or .php.


    Wordpress site - http://www.mysite.com/contact

    New site - http://www.mysite.com/contact.html

    Wordpress site - http://www.mysite.com/links

    New site - http://www.mysite.com/links.html

    Is there any way that I can include some form of document on the we server that hosts my web site instructing the browser to look for my new pages, perhaps something like: "when http://www.mysite.com/contact redirect to http://www.mysite.com/contact.html". Obviously I'd need to have the document include all my old and new pages urls.

    I realize I could just resubmit a sitemap for my website to all major search engines and have them update listings for my site as they appear in the search listings, but when I've tried this in the past sometimes nothing happens for months, if ever. :confused:

    Any constructive suggestions welcome.
  2. KomputerKid


    Dec 25, 2014
    As long as there's an index.html or index.php file in the folder it should open up. by just adding the name of the folder.



    If there's an index.html file in the main directory you don't have to type in index.html

    The same is true for links, contact or whatever. If you title your page index.html and upload it to the appropriate folder you can just add the folder name and it'll open. I hope you understand what I mean.
  3. colinsp


    Sep 5, 2007
    First Name:
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1141241

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice