PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 9, 2022

[FIXED] htaccess find last name after slash to redirect to an other page

 January 09, 2022     codeigniter, java, php, yii, zend-framework     No comments   

Issue

I want from htaccess url like this example http://www.clubrowcreations.co.uk/marketing-mistakes-general/thank-you all url end with (/thank-you) redirect to main url

how do i do from htaccess


Solution

hi guy i found the answer for it RewriteRule ^([a-zA-Z0-9_-]+)/thank-you$ page/45/thank-you.html [L] this will direct all thank-you in the end url to page/45/thank-you.html page



Answered By - rasvi
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing