defining siteurl variable
-
Let me start by saying that I know that it was recommended that WP be installed in the root directory, but nevertheless I have it installed in mydomain.com/blog/ and on my site I use php commands to simply grab the content, title, date, etc. I have multiple categories setup so that different pages on my site can grab only their relevant content. All of this works fine.
The problem is that the different pages all reside in different folders, so when I set the $siteurl variable in options the archives links are setup incorrectly. I know you can manually specify variables like $blog and $cat in each individual page (that’s what I do) but is there a way to specify the $siteurl so that different pages can have different values instead of having one $siteurl variable for the entire blog? Thanks in advance.
- The topic ‘defining siteurl variable’ is closed to new replies.