Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Ly Long Ly Long Friend
    #859649

    Hello,
    We use JA University to build a website using .htaccess and it worked OK on our old hosting with SEO Settings option Search Engine Friendly URLs and Use URL rewriting is set to Yes

    But 1 week ago, we move the website to new hosting and something went wrong. We can’t use the url newsletter.asia or http://www.newsletter.asia to open site on browser(The index.html is opened – Welcome to Parallels!…)

    We searched on the internet and added there rule in .htaccess file
    RewriteCond %{HTTP_HOST} ^newsletter.asia$ [NC]
    RewriteRule ^(.*)$ http://www.newsletter.asia/index.php$1 [R=301,L]
    So we can use url: newsletter.asia to open the site on browser(But still can’t use http://www.newsletter.asia – Welcome to Parallels!.. )

    Document on the internet said might be the error is on Godaddy hosting, but not sure it’s correct

    Could you check it to see if i make any mistake!

    Adam M Moderator
    #862740

    Hi @ly Long Ly Long,

    Due to your description (The index.html is opened) so there must be a problem with your hosting (it opened an index.html file by default rather than index.php by default), please kindly contact your hosting provider for better assistance in this case.

    Ly Long Ly Long Friend
    #863976

    Many thanks for the advice, I searched on the internet and found out that I only need to add these code below in file .htaccess and everything still work Ok:

    DirectoryIndex index.php index.html index.htm

    Best regard,

    Adam M Moderator
    #864199

    Hi @ly Long Ly Long,

    Glad to hear that you managed to sort it out. Since your problem has been solved, I’m going to close this thread now. If you still have any question or need further assistance, don’t hesitate to let us know.

    Best regards,

    Adam.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Adam M 8 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum