httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Braccini <>
Subject [users@httpd] Redirection single pages from subdomain to another subdomain htaccess
Date Tue, 12 May 2015 08:16:49 GMT
I'm working with a Wordpress Installation (WPML with 3rd level domain, com, ) on LAMP.

I need to redirect many pages from subdomain to a new subdomain (with .htaccess)

Example: -> (different subdomain and
different page names) ->  (no clear schema: many
old pages to one new page) ->

Old site is very chaotic (static pages + wp installation etc) and
there are no clear rule for redirection and no correspondence from old
url to new url  (I think no regex is possible )

So I need to redirect every single page, but syntax:

Redirect 301

doesn't work!

which is the correct syntax ?

Can I manage all from one .htaccess file in main root (www) or should
I create old third domain language directory  (eng, esp, fra)  point
old subdomain to it  (one for every language) and put .htaccess in
every directory with redirection in this way:
for esp/ directory

Redirect 301 /oldpage

Can I do all from .htaccess in root domain (www.) ?

Thank you

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message