Hoping someone can help me – I’m having trouble with the permalinks but not the same trouble as other posters (as far as I can tell)
My permalinks work, but because I have an unusual structure to my site, the permalinked pages are missing the necessary css stylesheet, obviously because the stylesheet is located in my site’s root folder, and the permalinks refer to a subdirectory that is domain/2006/11/21/post_title that is at least virtually several levels below where the stylesheet is located.
I could use a absolute reference to my stylesheet – e.g. http://www.domain.com/stylesheet.css but I would prefer to do that only if necessary –
I am not using any WP themes but had to create my own layout to match what the customer is using for their site redesign (not yet live) and it was critical to keep their existing directory and filename structure as they had pages that ranked well for some of their keywords – so to make a long story short I just inserted the appropriate PHP code for the Posts into the part of their home page where they wanted the “blog” to appear – they also insisted that it remain named index.html, not index.php so I added a line to the .htaccess file to allow php to run from within an html page.
I used the direct (relative) reference to their stylesheet because I could not figure out where WP wanted it to be in order to use the <?php bloginfo(‘template_url’); ?>
If someone can tell me how to put in a <?php command to find the stylesheet wherever it lives, or where I can put a copy of the stylesheet so that the permalinks can find it, this should solve my problem.
- The topic ‘Permalink problem – not the usual sort’ is closed to new replies.