How to Redirect a URL to Another URL Via WordPress and .htaccess

How to Redirect a URL to Another URL Via WordPress.

Redirect is a way for your website to send a quick message to your reader’s browser and tell them that the page they want to visit has been moved, so their browser can automatically point them to the new page of your choice.

Step 1 – To set the redirection in wordpress, initially install the plugin called as Redirection                                                 

Step 2 – Once installed and activated, choose Tools >> Redirection to setup your redirects.  In source URL >> enter the URL which you to redirect and In Target URL >> set the destination URL .

Step 3 – For example, once you have set the redirection from http://mydomainname.in/wp1/about/ to https://twitter.com/.  then you can enter the URL or click path it will automatically redirect to destination point.

How to Redirect a URL to Another URL via .htaccess in two steps.

Step 1 – Create a .htaccess file in your cPanel under the directory which you want to redirect.

Step 2 – Once created, You can add the code below preferably at the end of your .htaccess file and save changes.

 Redirect /mark/index.html http://gmail.com/

Step 3 – once done, when you the index.html it will redirect to your gmail.com account, based on your need you can set the redirection.

Related posts

11 Thoughts to “How to Redirect a URL to Another URL Via WordPress and .htaccess”

  1. Great infоrmation. Lucky me I came across your website by accident (stumbleupon).
    I’ve saved as a fɑvorite for later!

    my web page :: địa điểm bán tranh sơn mài tphcm

  2. Its like you read my mind! You appear to know so much
    about this, like you wrote the book in it or something.
    I think that you can do with some pics to drive the message home
    a little bit, but instead of that, this is excellent blog.
    A fantastic read. I’ll certainly be back.

  3. I really like what you guys tend to be up too. Such clever work and reporting!

    Keep up the amazing works guys I’ve added you guys to blogroll.

  4. Ꮃrite mоrе, tһats alll І havе to ѕay. Literally,
    it ѕeems аs thߋugh y᧐u relied on tһe video to makе
    yօur poіnt. Yoou cⅼeаrly knnow ѡһat yoսre talking
    ab᧐ut, why throw aѡay үouг intelligence onn juѕt posting vdeos
    tօ yur site ѡhen you ϲould ƅe giving us s᧐mething informative
    to read?

    Here is my blog post – Túi xách nữ hàng hiệu

  5. Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

  6. Very great post. I simply stumbled upon your weblog and wanted to
    mention that I have truly enjoyed surfing around your blog posts.
    In any case I will be subscribing in your feed and I’m hoping you write once
    more soon!

  7. Тhanks in supporet of sһaring such a fastidioսs thought, post What is lacquer painting pleasant, thats whү i have
    read it entirely

  8. I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  9. Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  10. I just could not depart your site before suggesting
    that I actually enjoyed the usual info an individual provide for your visitors?
    Is gonna be again incessantly to investigate cross-check new posts

  11. With havin so much content do you ever run into any issues of plagorism or copyright violation? My website has a lot of exclusive content I’ve either created myself
    or outsourced but it seems a lot of it is popping
    it up all over the web without my permission. Do you know any ways to help stop content from being ripped
    off? I’d definitely appreciate it.

Leave a Comment