[Pro] URL question

My customer ran and ad with this URL www.weathermaster-window.com/angie. but the .html is not in his ad.
If I try to launch the page in a browser without the .html I get a 404 page not found.
Any suggestions on how to make this work for him without running a new ad?
As always thanks.
John


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

I would use a 301 redirect in your .htaccess file:

# 301 permanent redirect
Redirect 301 /angie     /angie.html

I haven’t tested that, but it should work. Here’s a helpful article on the .htaccess file if you haven’t worked with it before: http://calebgrove.com/articles/understanding-htaccess-for-humans


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hi John,
Is the full stop/period in the ad as well? The easiest method will be to add a folder to your site called ‘angie’ and place a copy of the ‘angie.html’ page into it but rename it ‘index.html’. That way you’ll be able to go to either www.weathermaster-window.com/angie http://www.weathermaster-window.com/angie or www.weathermaster-window.com/angie.html http://www.weathermaster-window.com/angie.html and see a copy of the same page.

You can do this either by FTPing into the server and adjusting the files from there or, better still, simply duplicate the page in Freeway and move it into a newly created folder from the site panel. This way Freeway will update all of the links to the images and stylesheets for you automatically.

Another option is to use an .htaccess file to redirect requests for one URL to the correct page but we won’t go there just yet as it can be quite involved if you aren’t used to working with server redirection.
Regards,
Tim.

On 4 Dec 2015, at 15:37, John Robinson email@hidden wrote:

My customer ran and ad with this URL www.weathermaster-window.com/angie http://www.weathermaster-window.com/angie. but the .html is not in his ad.
If I try to launch the page in a browser without the .html I get a 404 page not found.
Any suggestions on how to make this work for him without running a new ad?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks Guys


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Caleb
I have an existing htacces file on server. Do I add the code you wrote to that file?
John


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Yep, just add it at the bottom.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Last question. Is the space supposed to be in this code?

301 permanent redirect

Redirect 301 /angie /angie.html

Have great weekend. Thanks John


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Those extra spaces between /angie and /angie.html are just there to make it easier to read, if that’s what you were asking about.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Caleb
Yes that is what I was referring to.
Thanks John


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options