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/?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&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.