Manual Weiterleitung Wordpress-Installation/en
Aus EUserv Wiki
Languages: |
Deutsch • English |
Creating a redirection of a Wordpress installation to your main domain
Inhaltsverzeichnis |
Creating a redirection of a Wordpress installation to your main domain
General
If you have an EUserv Webspace contract, you have the possibility to use Wordpress. Wordpress can be installed using the Software-Installer via the EUserv customer panel.
How you can install Wordpress with the Software-Installer you can find here: Kundencenter Webspace Software-Install.
To redirect your Wordpress site to your main domain, you can find in the following Wiki guide:
Implementation
To redirect your main domain of your webspace to created directory from Software-Installer, please proceed as follows:
- Open an editor of your choice (e.g. Notepad).
- Copy the following code to your editor:
RedirectMatch (^((?!^\/<DIRECTORY>.*$).)*$) http://www.<DOMAIN>.<TLD>/<DIRECTORY>$1
- Replace <DIRECTORY> with your desired directory name (e.g. wordpress-321), <DOMAIN> with yur domain name (e.g. myhomepage) and <TLD> with the top level domain (e.g. com).
- Save this file as .htaccess.
- Login to our FTP server with your FTP client (e.g. FileZilla). Where you can find your FTP data, can be found here: Kundencenter Webspace FTP-Accounts
- Change to main directory www/data.
- Make a backup of your existing .htaccess file in the main directory.
- Upload your created .htaccess file to the main directory.
Application exmaple
In the following example the Wordpress installation should be reachable under "www.myhomepage.com". To redirect your domain to the folder "wordpress-321", please proceed as follows:
- Open an editor of your choice (e.g. Notepad).
- Copy the following code to your editor:
RedirectMatch (^((?!^\/wordpress-321.*$).)*$) http://www.myhomepage.com/wordpress-321$1
- Save this file as .htaccess.
- Login to our FTP server with your FTP client (e.g. FileZilla). Where you can find your FTP data, can be found here: Kundencenter Webspace FTP-Accounts
- Change to main directory www/data.
- Make a backup of your existing .htaccess file in the main directory.
- Upload your created .htaccess file to the main directory.
Please notice: If you want delete the redirection, just delete the existing .htaccess file and upload your backup.