Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


URL not found when I don't  type in HTML at the end

Posted on 2007-12-03
Medium Priority
Last Modified: 2010-04-21
I had to give URL to our magazine editor to have printed in our magazine.  I accidentally left out the .html so that the reader types that in when going to the link.  Is there a way to code in the background so the user does not have to type in the .html?  Example:  www.example.org/writers.
Since this isn't a link on a webpage, they are typing it in from a magazine, I'm not sure I can do anything about it, but if I can, I would sure be extremely grateful for any help anyone can provide!
Question by:lisafamf
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 16

Accepted Solution

Wadski earned 2000 total points
ID: 20396330
Should be as simple as creating a folder called writers within the website root folder and putting index.html in there with the following code to redirect:
<meta http-equiv="refresh" content="0;url=http://www.example.com" />

Open in new window

LVL 16

Expert Comment

ID: 20396337
Sorry the URL in the code should be: www.example.com/writers.html
LVL 13

Expert Comment

ID: 20396356
Even better, you can move the original file to that location. No redirect needed.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 16

Expert Comment

ID: 20396452
If you move the page you will have to potentially update all the links of the website to match the redirected page.

If you create a redirect as described you can quite easily add some page monitoring code to the and be able to report back to your boss on how many people have visited your site from the magazine publication.

Author Closing Comment

ID: 31412353
Thank you, thank you, thank you!!!!  Worked perfectly.  I am very grateful!

Author Comment

ID: 20396758
How do I give you points? or did that happen already with  my acceptance of your answer?
Sorry be being so dense!
LVL 16

Expert Comment

ID: 20396790
It already happened.  

The site calculated it from your mark and the points on offer.  So 500 points and an A grade = 2,000 Expert points.

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question