Support

Admin Tools for WordPress

#30312 URL redirection with HtaccessMaker?

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by Chacapamac on Wednesday, 03 October 2018 04:05 CDT

Chacapamac
I want to redirect all old url
—> from an old double WP site — (French site) http://mysite.com/site/fr/ & (English site) http://archeofact.ca/site/en/)

To a new bilingual unique WP site with these URL

https://mysite.com.ca — (French side)
https://archeofact.ca/en/ — (English side)

For now I just want to, at least redirect any coming traffic from these old url (with any page extension...) to the front page/menu in their respective language.

All https://mysite.com.ca/...whateverpageextension to —> https://mysite.com.ca

All https://archeofact.ca/en/...whateverpageextension to —> https://archeofact.ca/en/


Where and how to do that in your HtaccesMaker ?

I look at the documentation, but I’m not sure....

Chacapamac
OOooPS!

All old french pages URL —> http://(www or not)mysite.com.ca/...whateverpageextension to new french homepage —> https://mysite.com.ca

All old english pages URL —> http://(www or not)mysite.com/en/...whateverpageextension to new English homepage —> https://mysite.com/en/

tampe125
Akeeba Staff
Hello,

you can create and test those rules using this website.
When you're happy with them, you can save those rules inside the Htaccess Maker, in the field Custom .htaccess rules on top of the file.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac
Thanks