• Resolved mixnbix

    (@mixnbix)


    Hallo everyone
    I’m making a lot of rookie mistakes and my latest one is that I made a copy of my site at a “staging” file in my public_html file and recently deleted it after it broke, but now I find that Google is listing it, now I know that I can redirect it in the .htaccess file but my question is:
    Is it possible to write a code that will just redirect all URL to the corresponding live URL?
    I mean like mysite.com/home instead of mysite.com/staging/home
    So it will just ignore the “staging/” part?
    Thanks ahead

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search engine listing deleted file’ is closed to new replies.