Support » Fixing WordPress » Redirect not SEO Friendly, need help

  • According to this checker, ‘s redirect is not SEO friendly.

    The redirect is in the root of my site, in index.html, and looks like this…

    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""><html xmlns=""><head><title></title><meta http-equiv="refresh" content="0;url=" /></head><body></body></html>

    With that in mind, which method do I use for redirect. This website has a PHP method and a .htaccess method.

Viewing 15 replies - 1 through 15 (of 34 total)
  • Why do you need a redirect in the first place?

    (and just for the record: I don’t see anything WP related in your question!)

    either choice is fine… but the php one is less prone to user error 🙂

    Ok, to answer moshu, I have my entire wordpress page in a directory called /main. I am not being indexed in Google correctly. This SEO redirect checker is telling me the redirect is not friendly. I am running wordpress in my /main folder.

    Ivovic, do I have to put that PHP snippet in my index.html or index.php?

    Please pardon me for any incorrect terminology, or lack of overall web server/SEO knowledge. That is precisely why I am seeking help.

    OK, if you use a redirect – it means you don’t have anything in your root directory ( Right?

    In that case why not apply this technique, instead of redirects which are not liked by search engines (except if it is a 301=permanent redirect)?

    it should be named index.php… and ensure that there are no lines before the php code there.

    Also ensure that you REMOVE your existing index.html, as that is often loaded at higher priority than an index.php in the same spot, so having both could mean your index.php never triggers.

    btw, what moshu posted is a great option, unless you’re just doing this for a short time while you make the rest of your site. If there’s nothing else ever going in the root, then do it right, and make your domain reflect that there’s nothing there but your blog.

    moshu is a rock star.

    I am deathly scared of that method, but it seems like the best option.
    I do not have anything in my root directory.

    Would backing up everything from my webserver be a good idea. In my mind, if something goes terribly wrong, I could place everything back the way it was?

    Backing up the database, (since eveything is stored there!) is always a good idea.
    Although I have been done this kind of “move” many times – if you follow the instructions it should be a smooth process.

    Jeremy Clark



    Jeremy Clark



    Tied that time 🙂

    After lunch, PST, I will give it a whirl. I just don’t want my site being down for long if at all.

    It should be only a few minutues…

    I appreciate the help…don’t go too far away.

    I’m backing up the entire /main directory.

    No real need for that – nothing will ever happen to your files! The WP files (except customized themes which you have anyway on your machine) are always replaceable. No content is in files ever. Everything is in the database – as I said above.

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘Redirect not SEO Friendly, need help’ is closed to new replies.