Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

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

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!
Thanks,
LIsa
0
lisafamf
Asked:
lisafamf
  • 4
  • 2
1 Solution
 
WadskiIT DirectorCommented:
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:
<html>
<head>
</head>
<body>
<meta http-equiv="refresh" content="0;url=http://www.example.com" />
</body>
</html>

Open in new window

0
 
WadskiIT DirectorCommented:
Sorry the URL in the code should be: www.example.com/writers.html
0
 
R7AFCommented:
Even better, you can move the original file to that location. No redirect needed.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
WadskiIT DirectorCommented:
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.
0
 
lisafamfAuthor Commented:
Thank you, thank you, thank you!!!!  Worked perfectly.  I am very grateful!
Lisa
0
 
lisafamfAuthor Commented:
How do I give you points? or did that happen already with  my acceptance of your answer?
Sorry be being so dense!
Lisa
0
 
WadskiIT DirectorCommented:
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.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now