• I have changed the name of a course that I run and want to redirect the old page URL to the new one.

    I’ve duplicated etc the page, so I have a sales page all ready to go.

    Is it possible to redirect without adding a plug in?

    Thanks for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You can create a 301 redirect from your .htaccess file in your site root (the same level as your wp-admin/wp-content directories). This is a powerful and sensitive file, so you should take a backup copy of it before you make any changes. To create a permanent redirect, add the following code before, after, but NOT inside your # BEGIN WORDPRESS and #END WORDPRESS code:

    # 301 redirect
    Redirect 301 /old-page-name/ http://www.yoursitename.com/new-page-name/

    EDITED

    Thread Starter thehappyeater

    (@thehappyeater)

    Thanks Barnez!!

    hmm, I’m not sure how to even find the directories file you’re talking about. In cpanel? Or can I get to it from my dashboard?

    I understand what you’re saying to do if I can find the right spot!

    No problem.

    You’ll need to use your file manager in the cPanel. Navigate into the public_html directory/folder (this name can vary depending on your host’s setup), and you will find your site’s directories (wp-admin / wp-content, etc) and a list of individual files. You should see the .htaccess around the top of the list.

    Thread Starter thehappyeater

    (@thehappyeater)

    thank you so much!

    Thread Starter thehappyeater

    (@thehappyeater)

    Barnez I can’t find the access file.
    I’ve gone to CPanel, public_html and thought it should be at that level. I can see the wp-admin wp-content folders that you mention but not the access file. Any idea where it would be?

    Thanks for your help!!

    Thread Starter thehappyeater

    (@thehappyeater)

    I figured it out, it was a hidden file.

    Thanks Barnez!

    Great. As you found found out, all files beginning with “.” are hidden by default in the cPanel file manager.
    Now that you have set them to be visible, they will remain so on future visits.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘redirect’ is closed to new replies.