.htaccess - Redirect htaccess automatic -


initially had site /beta/, , google me indexed pages, when 1 goes http: //miosito.ext/beta/blabla become automatically http: //miosito.ext/blabla

i tried redirect /beta/^([a-za-z0-9_-]+)$ http://miosito.ext/^([a-za-z0-9_-]+)$ not work ...

any idea how can do?

try

rewriterule   "^beta\/(.+)"  "http://miosito.ext/$1"  [r,l] 

reference rewriting url:

http://httpd.apache.org/docs/2.4/rewrite/remapping.html


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -