regex - 301 redirect domain and all its pages -


we have 2 sites on same niche , same content, going close 1 of them , 301 1 keeping, content same difference url structure of pages:

in 1 301:

www.domaintobeclosed.com/browse-{keyword}-url string.html

in 1 redirected to:

www.domaintokeep.com/browse-url string.html

so here difference in domain keeping url structure doesnt have keyword.

the other difference in single page url structure:

in 1 301:

www.domaintobeclosed.com/title.html

in 1 redirected to:

www.domaintokeep.com/keyword/title.html

so difference domain keep has keyword before actual title

any on appreciated.

thanks in advance.

so like:

redirectmatch 301 ^/(browse)-keyword-(.*)$ http://www.domaintokeep.com/$1-$2 redirectmatch 301 ^/([^/])\.html$ http://www.domaintokeep.com/keyword/$1.html 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -