I have just had a new site built in php. My site at the moment is html and is popular so I don't want to lose it. I need someone to insert 301's for me on every page, I don't want to risk doing it on my own in case of a misshap. PM please if anyone can offer this service. Thank You
They don't go on the page. They are created in the cPanel or other control panel that you are using. I can tell you how for free. Doing it for you we would have to discuss.
Are you just converting them from HTML to php or something? Give more details on what exactly it is you need.
mod rewrite would be easiest - if its just the extension that's changed you can automatically 301 redirect every .html page to its .php page?
Sorry to hijack the post but i have the same question, I'm in the process of re doing my site and going to use .php instead of .htm / .html extentions. (some of my current pages use the .htm and some have .html.............will it make a difference????) i've never used mod rewrite before and have no idea of where to start, the site have about 800+ pages and its going to take long enough to do the redesign and dont want to have to sit down and do 301 redirects on cpanel afterwards. How easy is it to set up mod rewrite?
create htaccess. file #start - copy text below RewriteEngine On RewriteRule (.*)\.html $1.php [L] RewriteRule (.*)\.htm $1.php [L] #last line should be empty should be working
Be careful with that kind of rewriting.. not only will search engines not transfer your pages rankings to the php pages, you'll might also get penalized for duplicate content. To avoid that, remember to put in the R=301 flag. Unless you want to keep the appearance of all pages being .html but behind the scenes point to the php scripts - i.e. once you've redone the site, you continue to use .html in all the links so the .php pages are never accessed directly?