Kontakt

hs-icon-callcenter
Anrufen
hs-icon-callcenter

Rufen Sie uns an

Unser Support-Team hilft Ihnen gerne, egal ob Sie technische oder administrative Fragen haben. Wir sind persönlich für Sie da!

 

+41 (0)84 800 80 80
(Anrufe aus der Schweiz 8 Rappen/Minute)

Administration

Montag bis Freitag
9.00–12.00 Uhr
13.30–17.30 Uhr
 

Technischer Support

Montag bis Freitag
8.00–17.30 Uhr

Samstag
9.00–16.00 Uhr

hs-icon-doc-write
Schreiben
hs-icon-doc-write

Schreiben Sie uns

Damit wir Ihnen so rasch und so gut wie möglich helfen können, bitten wir Sie Ihre Anfrage so spezifisch wie möglich zu formulieren. Sie können uns auch gerne über unsere E-Mail-Adresse erreichen: support@hoststar.com

Alle mit einem «*» markierten Felder sind Pflichtfelder und müssen ausgefüllt werden.

 

Better Search Replace

Support > > CMS

Step 1: Install the Plugin

  1. Log in to your WordPress Dashboard. 
  2. Go to Plugins → Add New. 
  3. Search for Better Search Replace and click Install Now. 
  4. Activate the plugin after installation to start using it. 

Step 2: Open the Plugin

  1. Once activated, you'll find a new menu item under Tools → Better Search Replace. 

Step 3: Set Search and Replace Parameters

  1. In the plugin window, you'll see two important fields: 
    a. Search For: Enter the text you want to search for (e.g., an old URL). 
    b. Replace With: Enter the new text that will replace the old entries (e.g., a new URL). 
  2. Select the database tables where you want the changes to occur (e.g., wp_posts for posts and pages). 
  3. Optional Feature: Run a "Dry Run" to see how many entries will be affected without making actual changes. 

Step 4: Perform the Changes

  1. Once you've entered the search and replace values, click Run Search/Replace to make the changes. 
  2. After the process is completed, you'll receive a confirmation showing how many entries were updated. 
     

 

Important Tips: 

  • Create a Backup: It's advisable to create a backup of your database before making large-scale changes. 

  • Use Cases: The plugin is ideal for updating URLs after a domain change, fixing outdated content, or correcting mistakes across multiple posts at once. 

With this guide, you can easily and efficiently make mass updates to your WordPress database and ensure your website stays up to date. 

Step 5: Add Domain Alias and Change Main Domain

After making the changes in WordPress, you need to add the new domain as an alias in MyPanel and then set it as the main domain: 

 

  • Navigate: 
  • Log into MyPanel and go to Hosting → Settings. 
     
  • Choose Subscription: 
  • Select the hosting subscription where you want to modify the domain settings. 
     
  • Add Domain Alias: 
  • Click on the desired website and choose Domain Aliases. Click on Edit Aliases and add the new domain as an alias. 
     
  • Change Main Domain: 
  • After adding the domain alias, select the new domain in the Domain Aliases section and click Change Main Domain. The new domain will now be used as the main domain. 

 

 

By following these steps, you can successfully add a domain alias and set it as the main domain in MyPanel. 

 

War dieser Artikel hilfreich?