Forums

301 Redirect on Home Page (5 posts)

  1. jsingh1022
    Member
    Posted 8 months ago #

    This is in reference to Experience.com ... When you type in http://www.experience.com to visit our WP website, you will be redirected to http://www.experience.com/entry-level-jobs/

    This 301 redirect is causing us to lose tracking within Google Analytics. Therefore, we would like to stop the redirect. I have just started working within the company and the current dev team is telling me it is not possible. In the words of Kevin Garnett: "Anything is possible."

    Here is the response I have been given:
    For the WordPress redirect from www.experience.com/ to www.experience.com/entry-level-jobs/ this is the way WordPress handles friendly urls. WordPress was originally developed to handle a single page blog and the features that make it look like s full website are sort of a hack on top of the original. To determine if this can be changed in some way will require research.

    I am asking the experts on WordPress.org if there is a solution or a more detailed explanation than they have given me.

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Of course anything is possible, but the limit of 'anything' on a site is actually pretty easy to find. And not a lot of research needed.

    1) Check your .htaccess to make sure there's nothing in there forcing a redirect.

    2) Resave your permalinks (yes, it's stupid).

    3) Turn off all your plugins.

    Out of the box, WordPress does not redirect the main page to another URL. Even if you use a static front page, it keeps the URL as domain.com so ... Your devs are, at a guess, making an excuse to not have to say that something's screwy on your install.

  3. jsingh1022
    Member
    Posted 8 months ago #

    Thank you Ipstenu. I will look into your solution and report back.

    Jay

  4. jsingh1022
    Member
    Posted 8 months ago #

    Question I just thought of - is it more reasonable to say they have installed within a directory called /entry-level-jobs/ ? And that would explain why the site needs to redirect to that directory to display properly.

    In that case, it would probably make sense to move everything from the /entry-level-jobs/ directory to the root / directory - correct?

  5. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    If they installed it in a subfolder called 'entry-level-jobs' then any redirect like that would be eaither by .htaccess in the main directory, or an index.php file.

    You can RUN WordPress out of a subdirectory, but before we get there, go to your fileserver via FTP and see where WP is installed :)

Reply

You must log in to post.

About this Topic