Title: Changing How WordPress Creates URLs
Last modified: August 19, 2016

---

# Changing How WordPress Creates URLs

 *  [Brad](https://wordpress.org/support/users/bman12/)
 * (@bman12)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/changing-how-wordpress-creates-urls/)
 * I am trying to integrate WordPress and I need to change how the URLs are created.
   When a link is created it takes the base URL from the WordPress options, adds
   a “/”, and then a “?” before the “p=3” or whatever for the php code. I need it
   to just add an “&” instead of the “/?”.
 * So:
    instead of “**[http://www.sitename.com/index.php?l=blog](http://www.sitename.com/index.php?l=blog)**_/?
   _p=3″ where the bold is the base URL stored in the WordPress options, and the
   italics is what WordPress is adding automatically, I want: “**[http://www.sitename.com/index.php?l=blog](http://www.sitename.com/index.php?l=blog)**_&
   _p=3″
 * Can anyone show me what I have to change? I’m comfortable editing PHP code, I
   just don’t know how to find it.

The topic ‘Changing How WordPress Creates URLs’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Brad](https://wordpress.org/support/users/bman12/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/changing-how-wordpress-creates-urls/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
