8,728 reputation
21337
bio website smileyhappyflowers.co.uk
location United Kingdom
age 32
visits member for 4 years, 2 months
seen 20 mins ago

Stack Exchange Q&A site proposal: Joomla

profile for w3d on Stack Exchange, a network of free, community-driven Q&A sites


User "penders" on WebmasterWorld.


For some reason this question (from Oct 2010) has more recently been deleted but was still available on stackprinter.com. I had the accepted answer and was looking high and low for it to use as reference on another question.


Oct
13
comment Text Lay Over Header Image
If your CSS file is "/Styles/default.css" then a relative path in your CSS file, such as Images/Damask.png, will refer to "/Styles/Images/Damask.png". Is that correct? You should use root-relative paths (ie. starting with a / - relative to the web root) to avoid this problem.
Oct
13
comment Text Lay Over Header Image
Note that the URL in the CSS is relative to the CSS file, not the HTML - so this is unlikely to be the same as your HTML (unless you use absolute or root-relative URLs).
Oct
13
revised Text Lay Over Header Image
Formatting / code
Oct
13
comment Text Lay Over Header Image
If you know how to put the image in CSS (I assume you mean as a background-image) then why don't you do that? Then it is easy to lay the text over the image. Or is the image intrinsic to the content (but if you are laying text over it then I would guess not)?
Oct
13
comment Apache block all requests but my IP using the config file
You don't have a conflicting entry elsewhere for "/var/www" (which I assume is your servers DocumentRoot) that is perhaps overriding your settings?!
Oct
13
comment How can I set the PNG expires headers in a WordPress site?
If you examine the HTTP response headers yourself, what do you see?
Oct
12
comment Apache block all requests but my IP using the config file
Not AFAIK, apart from as mentioned in my answer (it should be blocking everything as far as I can tell). Assume the directory-path is correct? Assuming your Allow line is of the form: Allow from 123.123.123.123? A little odd perhaps that you enable Indexes for /, but later take it away -Indexes - but that is academic.
Oct
12
comment Apache block all requests but my IP using the config file
Ah! Sorry to ask the obvious, have you restarted Apache after making changes to your main config file?
Oct
12
answered Apache block all requests but my IP using the config file
Oct
12
revised Apache block all requests but my IP using the config file
Code formatting
Oct
12
answered Open Graph protocol: What to do when an image doesn't exist on the page?
Oct
11
reviewed Edit suggested edit on How to make my website resolve to https
Oct
11
revised How to make my website resolve to https
added example for Apache with .htaccess
Oct
11
revised Multiple domains with one google analytics account
Removed thanks, minor formatting
Oct
11
reviewed Approve suggested edit on Should I add rel=nofollow to menu links?
Oct
9
comment Should I avoid using brackets in my URL?
"I can't remember why" - it looks like your application is written in PHP. In PHP the URL parameters (with square brackets) are automatically converted to an associative array, which I assume the developer is using directly in the rest of the code. It would seem to be a "code-shortcut".
Oct
8
comment Always redirecting to https without www
NB: You don't need to put spaces in links if you format the text as a code block (which you seem to have done).
Oct
7
revised How to redirect parked domain to main domain but still show the parked domain in address bar
Reworded title to match logic in question (previously it was the opposite!?)
Oct
7
revised How to redirect parked domain to main domain but still show the parked domain in address bar
Formatting (inline code was not closed)
Oct
7
comment Always redirecting to https without www
I wonder whether the 2nd RewriteRule is necessary? Since the SSL cert is only valid for the bare domain, wouldn't the user be hit by an invalid cert warning first if they tried to access https://www.example.com?