Get exclusive CAP network offers from top brands

View CAP Offers

How to set a re-direct for all sub-pages?

livegirl1 asked 3 years ago
Hi there,

I have just started re-designing my website and since I don’t know php (yet) and don’t use the CMS system, most of my work is done manually. That is fine and enough for the purpose of my sites for now (news will be added via built-in blog) but I have a problem with changing the names of my sub-pages.

I hear that I should use a re-direct 301 but tbh I have never done it so can someone advise if that’s what I need here?

Basically, I’m changing sites from, eg. http://www.mysite.com/i-like-you.html to http://www.mysite.com/ilikeyou.html
So should I keep the other site on server and just re-write it with re-direct script? Or should I create that htaccess file and it will re-direct all invalid subpages to the main page for me? (I would like that!)

Hope you can help! Thanks :hattip::hattip:

11 Answers
livegirl1 answered 3 years ago
hey maybe it’s going to sound dumb but i created the .htaccess file in my notepad and put the lines as suggested by you , eg
Redirect permament /50pounds.html http://www.live-roulette866.com

and submitted it into the desired directory but nothing happens. did i miss something? did i save the file wrong?