Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
1.36/5 (4 votes)
See more:
hii....

I am creating a coupon website in my local as URL structure
www.couponcoderock.com/merchant.php?cid=12
this page has godaddy merchant
Now i need as this
www.couponcoderock.com/godaddy-coupon-code
so what can i do for this...i need to use .htaccess file or any other way...
we have tried in .htaccess file but it shows error as not found 404 error
plz guys let me know...
Posted
Updated 19-Jan-23 22:40pm

1 solution

Such problems can be solved using URL rewriting: http://en.wikipedia.org/wiki/Rewrite_engine[^].

As this is Apache, you can use this:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900