Link to home
Create AccountLog in
Avatar of Coffinated
Coffinated

asked on

redirect dev site requests to live

Hi,

I have been developing a site using www.example.com/new unfortunately googledid index it already. Now the site has been moved to www.example.com and google still points to ./new

How can I redirect all requests from /new to example.com? The website uses open source CMS written in PHP/mysql if it matters.

Appreciate any comments.
ASKER CERTIFIED SOLUTION
Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Just to be clear, put either of the above solutions in /new were the "test" site is/was
Avatar of Coffinated
Coffinated

ASKER

I used the .htaccess file, thank you