MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

How to redirect old url pattern to new url pattern using htaccess

0
Started on: 30 March 13
Participants: 1
Using .htaccess how to redirect my below url to new url
My old url => http://www.mysite.com/page/2

want to redirect to => http://www.mysite.com/newpage/2

I tried
RedirectMatch 301 ^/page/2/ /newpage/2/ , its is working but i want to make it dynamic , please help







Using .htaccess how to redirect my below url to new url

My old url => http://www.mysite.com/page/2

want to redirect to => http://www.mysite.com/newpage/2

I tried
RedirectMatch 301 ^/page/2/ /newpage/2/ , its is working but i want to make it dynamic , please help

Related Posts:

.htaccess (hypertext access)file

 

Initiator

Aravinthan
Aravinthan
  Follow

I am passinate about IT & PHP , Let's do it

More posts by: Aravinthan Asokan

Please to reply this post
Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.

1 Suggestion

  1. 27 May 13
    0

    if your site have an cms based sites then you can allow some strings and quote that convert page dynamically and genrate useful redirection but if you have static pages so you need to give seprate redirection. Once be clear because above redirectoin will with many cms

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top