Solved

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

Posted on 2016-07-25
1
110 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 7

Accepted Solution

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

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connect MySql database to wordpress site 3 52
text on slider doesn't resize nicely 5 38
WordPress Header Issue 9 37
Divi Them Help with Full Width header 20 13
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

21 Experts available now in Live!

Get 1:1 Help Now