Forum Moderators: phranque
I'm jazzed.
But, I ran into a problem along the way that I thought I would share with other nubes.
I lost my style sheet. Pages looked like crap. Couldn't figure out what was going on...
Then it struck my - my new [mysite.com...] - was being seen as a new directory by the server. Changed my relative URL for the stylesheet to an absolute URL and the pages now display as they should.
WBF
<LINK rel="stylesheet" type="text/css" href="style.css">
did not work, but when I changed it to,
<LINK rel="stylesheet" type="text/css" href="http://www.mysite.com/style.css">
it immediately began working.
Now, as I was scratching my head looking at the non-working version, the thought hit me that it must be interpreting the page as being in a new folder, since that is how the URL appears, so the fix would be the full URI to the style sheet.
This is the .htaccess I am using:
Options +FollowSymLinks
RewriteEngine on
RewriteRule find-farm/(.*)/(.*)/$ /my-file.php?$1=$2
So, any insight into what's up?
WBF
(By the by, the rewrite is just too simple when it works. Wish Ihad done this loooong ago :))
<LINK rel="stylesheet" type="text/css" hre[b]f="/s[/b]tyle.css"> The form you have specified -- using the canonical URL -- is equally valid but makes it difficult to use the code across multiple sites. This is a big concern for some, and of no consequence whatsoever for others.
Jim