[resolved] Cannot Rewrite wp base URL to bluehost domain (2 posts)

  1. ayunakahara
    Posted 4 years ago #

    I am trying to have my WP website redirect to my bluehost domain.
    This is the domain: http://midnight-scans.com/
    When I click on any of the links, I receive a 404 error from bluehost.

    The following is my .htaccess code. And honestly, I'm not sure if this is the correct code to use to solve my problem:

    #protect wpconfig at all cost
    <Files wp-config.php>
    order allow,deny
    allow from all
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /ms-site/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{HTTP_HOST} ^.*/ms-site/$ [NC]
    RewriteRule ^(.*)$ http://midnight-scans.com$1 [R=301,L]
    # END WordPress
  2. syednayab
    Posted 4 years ago #

    hi, .. my web address is http://www.ilittle.cz.cc but whenever i try to click on the link... for example:: title of my blogpost.. for example it is ... how to do this? ..it shows link.. http://ilittle.cz.cc/o2/07/how-to-do-this but when i click it .. it shows error.. 404 .. why is that.. need help?==========>>>>>

Topic Closed

This topic has been closed to new replies.

About this Topic