Title: .htaccess And Custom Program
Last modified: August 19, 2016

---

# .htaccess And Custom Program

 *  [pyrogod117](https://wordpress.org/support/users/pyrogod117/)
 * (@pyrogod117)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/htaccess-and-custom-program/)
 * OK, I have searched the forums here but I can’t seem to find something that matches
   what I’m looking to do. Basically I used WordPress to create a website, but I
   also had to build a custom inventory management system in PHP. They integrate
   fine, but my problem is the URLs. I want to make them a certain way and I really
   can’t figure it out, no matter what I tried putting in the .htaccess file.
 * Here are some examples of what I’m looking to do:
    [http://www.cyclehousenj.com/](http://www.cyclehousenj.com/)(
   this is the main website, also lists everything in the inventory on this main
   page). The inventory system is coded in PHP, and has its own paging system. What
   I’m looking to do is make the URLs like this:
 * [http://www.cyclehousenj.com/page-2/](http://www.cyclehousenj.com/page-2/) (if
   I’m browsing from the main page viewing all categories)
    [http://www.cyclehousenj.com/used-motorcycles-nj/page-2/](http://www.cyclehousenj.com/used-motorcycles-nj/page-2/)(
   used motorcycles nj is a page created in WP and it has a custom template that
   includes the proper page for the gallery – used motorcycles is a category of 
   the inventory system)
 * Basically the format will be:
 * [http://www.cyclehousenj.com/%category%/page-(page](http://www.cyclehousenj.com/%category%/page-(page)
   number)/
 * By %category% I mean category in the inventory system, which is also a page in
   WP.
 * My current .htaccess file is this:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * The last 2 lines are what I tried to put together from what I found on the internet,
   but it doesn’t work and I really don’t understand .htaccess.
 * I would really appreciate it if anyone can help me out. Hopefully I have made
   this clear enough.
 * Thanks,
    Kevin

The topic ‘.htaccess And Custom Program’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [pyrogod117](https://wordpress.org/support/users/pyrogod117/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/htaccess-and-custom-program/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
