Skip to content
WJunction - Webmaster Forum

.htaccess help

Status
Not open for further replies.

Apathetic

Experienced Member
899
2011
241
How do i redirect:

Code:
http://localhost/category.php?id=1&page=4

to

Code:
http://localhost/category/id-1/page-4

WHERE:
-the page number is sometimes not entered

so some can access it:

Code:
http://localhost/category.php?id=1

Code:
http://localhost/category/id-1/
 
Status
Not open for further replies.

About the author

A
Experienced Member · Joined
899
Messages
241
Reactions
43
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom