Solved

How can I write .htaccess code to redirect 301 pages?

Posted on 2016-07-25
1
96 Views
Last Modified: 2016-07-25
I have revamped HTML based website into Wordpress based now. I am doing SEO for the website. Now the html pages still found in the search.

I have pages like

Old HTML url : http://www.test.com/profile.html
 
New Wordpress Url : http://www.test.com/profile/

I want to redirect all HTML pages into new WP based URL. It seems it needs to be 301 redirected to respective pages.

How can I write .htaccess code as per this link, https://support.google.com/webmasters/answer/93633?hl=en
0
Comment
Question by:Loganathan Natarajan
1 Comment
 
LVL 6

Accepted Solution

by:
David Sankovsky earned 500 total points
ID: 41727127
This link should get you going.
1

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now