简体   繁体   中英

How do I redirect index.html to a Wordpress site?

I am trying to move my html website over to a wordpress multisite and can't work out how to redirect the current homepage at www.essexmums.org to www.essexmums.com

I've been trying to use 302 redirects (before I do the 301s) but if I use:

Redirect 302 /index.html http://www.essexmums.com

or even

Redirect 302 / http://www.essexmums.com

I just get a message that it has caused the page to redirect too many times.

What am I doing wrong?

Thanks

edit: I'm not talking about a way of redirecting the whole site as I am setting up more specific redirects for those, I literally just want to redirect the current home/index page to the new one.

IN case anyone else has this problem, I thought I would post my solution.

It turned out my problem came from my .com site being an add-on domain - it was redirecting because it was part of the .org. I've since moved it to a different host and the standard

Redirect 301 /index.html http://www.essexmums.com

works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM