• hello everyone,

    recently I created a new wp site in a subdomain (https://www.severineautin.com/soielin/)
    and asked for an alias https://www.soie-lin-soit-lautre.com.

    as my previous webmaster cannot help me, I tried to modify the .htaccess file (but I am not aware of the language) like this :
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /soielin/
    RewriteRule ^index.php$ – [L]
    RewriteCond %{HTTP_HOST} https://www.soie-lin-soit-lautre.com
    RewriteCond %{REQUEST_URI} !^/soielin
    RewriteRule . /soielin/index.php [L]
    </IfModule>
    # END WordPress

    but…. it is not working properly :
    the redirection leads to https://www.severineautin.com, domain which then appears in the address bar in the browser (which I do not want)

    Please can you help me ?
    Best regards,
    Severine

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,
    If you have created the subdomain soielin it is accessed via https://soielin.severineautin.com

    If you want to link a new domain to serve the content from the subdomain, instead of adding a subdomain, link the new domain as Addon Domain. Addon Domains section is available if you’re using cPanel. Check with your web host whether your package supports Addon Domains. Sometimes you might need to upgrade your hosting package to get this.

    If you intend to use the subdomain https://soielin.severineautin.com, remove the .htaccess file you have created. Then try accessing the site.

    Let me know whether the above step solves the problem.

    Good day!

Viewing 1 replies (of 1 total)
  • The topic ‘redirecting domain alias’ is closed to new replies.