Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    May 2015
    Posts
    1
    Member #
    49636

    Please Help! htaccess redirect not working properly

    this situation is a little more complicated than what i am used to.

    i am redirecting old domain .CFM pages to .HTML pages on a new domain --> this works fine
    i am also redirecting other specific pages from the old domain to new domain --> this works fine
    but...
    the redirect from old-domain.net to new-domain.com ends up at new-domain.com/index.html
    (i want to arrive at http://new-domain.com/)
    i have tried everything that i can possibly think of in the htaccess file on the old-domain
    i even tried putting the following code in an htaccess file on the new-domain:
    RewriteEngine On
    RewriteRule ^index\\.html$ http://newdomain.com/ [L,R=301]

    (this didn't work either)

    any ideas?

    any help, thoughts, or ideas would be greatly appreciated!
    Last edited by madgenius; May 09th, 2015 at 07:54 AM.

  2.  

  3. #2
    Senior Member sasha_bolcina's Avatar
    Join Date
    Sep 2014
    Location
    Serbia
    Posts
    274
    Member #
    40099
    Liked
    47 times
    Check if target starting file, on "http://new-domain.com/" is maybe redirecting to index.html, and check what is going on target side (what file is loading)
    If not, post htaccess code here, maybe we can find something...

  4. #3
    Banned
    Join Date
    May 2015
    Posts
    24
    Member #
    49599
    paste the code here, if you are not comfortable in sharing the url of your site, then do check Stackoverflow, they have very good examples of .htaccess redirect codes


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 08:16 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com