• Resolved cableghost

    (@cableghost)


    I have tried the following redirect methods, but receive different errors for each. What redirect code should work 100% of the time?

    redirect 301 /index.html http://www.site.org/index.php
    -brwoser redirect error

    RewriteEngine on
    RewriteRule index\.html index.php [NC,R]

    -site 404 error

    <META HTTP-EQUIV="refresh" CONTENT="1;URL=http://site.org/index.php">
    -redirect loop- keeps looping back to index.html

    -Scott

Viewing 2 replies - 1 through 2 (of 2 total)
  • The first method should work. You should hopefully be making changes to your .htaccess file in the root of your site. Here’s a little bit more direction on doing so:

    http://www.isitebuild.com/301-redirect.htm

    I know this may sound simple, but make sure you have an index.php file in the root to be redirected to.

    Hope this helps!

    ~Anthony

    Thread Starter cableghost

    (@cableghost)

    Thank you

    I realized I had to add the index.html redirect inside of the index.php utilizing 301 redirect plug-in. Not certain why it would not work w/ the htaccess file.

    -Scott

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML Redirect to WP’ is closed to new replies.