Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes it does.

    You can add/handle redirects from within your WordPress site using a plugin such as SEO for WordPress by Yoast . Look in edit files once installed and in the .htaccess file box.

    Your redirect will look this using your example:

    redirect 301 /about.html https://www.mydomain.com/about/

    Thread Starter RahStyle

    (@rahstyle)

    Cool, thanks. I actually have that plugin already, but I’ve never messed with an htaccess file before.

    Where in the code do I place all the redirects? (I have approx. 50 of them)

    do i need to include http and the domain with the old url or only the redirect one?

    It’s a good idea to make sure you have host access as well before you make any changes to the htaccess file via the plugin, just if you make a mistake and the site shuts you out.

    I place my redirects at the end of the htaccess file in some type of order or grouping.

    You don’t need to include the http or anything in the first part of the redirect, just everything after the root domain, but include the / in the redirect. Hope that made sense.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you want to redirect all .html files to the same name page (like about.html to /about) you can do that more dynamically.

    Check out https://perishablepress.com/stupid-htaccess-tricks/

    Thread Starter RahStyle

    (@rahstyle)

    awesome tips, thanks dudes ?? That’s actually a pretty handy link ??

    Oh that is good to know, thanks for the link Mika!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘301 Redirects?’ is closed to new replies.