Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-26 Thread Mark Stanton
I think that only for stolen sites comment is a little off. For example I'll often develop something on my local machine on a URL like http://localhost/project-name and then deploy it on its own URL. base is invaluable in this sort of situation. -- Mark Stanton Gruden Pty Ltd

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-26 Thread Mordechai Peller
Kay Smoljak wrote: www.example.com/foo/bar/ rather than www.example.com?foo=bar. In this situation, the relative links no longer make sense But using a leading slash eliminated the need for the base. Also, mod_rewrite works fine with relative addressing. When Apache doesn't find the .htaccess

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-26 Thread Mark Stanton
Mordechai: base affects what the leading slash actually points to. You could have a little app in http://localhost/myApp and code all your pages up to use img src=/myApp/images/myImage.gif, but when you move the app into another directory (eg. http://localhost/yourApp) you then need to do a find

RE: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-26 Thread Patrick Lauke
If you are using base from day one you only need to change the path within one tag. But you still need to do it for every page in your site that uses it... So we are comparing the merit of making find/replaces site wide for all links vs. find/replace site wide for a specific tag. Or am I

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Mordechai Peller
Anders Nawroth wrote: Chris Stratford wrote: just have the header point to: styles/sheet.css Use /styles/sheet.css. In most cases that's probably best. However, another option is to use mod_rewrite to also adjust the CSS location. It's even possible to have only one main file which takes

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Lachlan Hardy
Lee Roberts wrote: That is what I use. Of course the directories and filenames are different, but you get the idea. I often just use a base tag. http://www.w3schools.com/tags/tag_base.asp Although, I very rarely see other people use it. Since it has come up, why don't folks use this tag?

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Neerav
Lachlan I use links relative to the root directory everywhere for example: link rel=stylesheet type=text/css media=print href=/print.css/ link rel=shortcut icon href=/favicon.ico / div id=mainnav ul lia href=/Home/a/li lia href=/portfolio.phpPortfolio/a/li lia href=/article/Articles/a/li

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Lachlan Hardy
Neerav wrote: If you use a base tag than you cant run a local mirror of sites for testing. Eg: I run Apache/PHP/MySQL etc on my pc to make sure everything is running fine before I upload to the clients FTP server Sure, you can. I just generate the base tag I was thinking there must be some other

RE: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Lee Roberts
Base is a good tag, but in my opinion it has worn out its usefulness. The only reason one might find it good now is if one has their site stolen. Rookies that steal your web site won't know what base is and would therefore end up linking into your site. When we started HTML development years

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Kay Smoljak
On Sun, 25 Jul 2004 23:00:59 -0500, Lee Roberts [EMAIL PROTECTED] wrote: Base is a good tag, but in my opinion it has worn out its usefulness. I use the base tag for my Fusebox/ColdFusion sites, which use SES (search engine safe) style URLS - ie, the urls are in the format

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-25 Thread Lachlan Hardy
Kay Smoljak wrote: I use the base tag for my Fusebox/ColdFusion sites, which use SES (search engine safe) style URLS - ie, the urls are in the format www.example.com/foo/bar/ rather than www.example.com?foo=bar. In this situation, the relative links no longer make sense, which is where the base

[WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-23 Thread Chris Stratford
Hey WSG, I have recently been playing with mod_rewrite, and I LOVE IT! It is great, and I have read that it helps a lot with SEO, Bookmarking and even Web Accessability. (Email clients often strip query data etc...) What are your tips and pointers for using mod_rewrite. Some problems I have

RE: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-23 Thread Lee Roberts
Chris, Put your CSS file in a real directory. Then do the following: ../styles/site-styles.css That is what I use. Of course the directories and filenames are different, but you get the idea. Lee Roberts http://www.roserockdesign.com http://www.applepiecart.com

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-23 Thread Chris Stratford
Hmmm. Sorry forgot to mention one crucial detail... I import a HEADER.PHP file. for every PHP page loaded. Every php file is actually in the base directory with the CSS file in a folder called STYLES. So originally my method worked fine! just have the header point to: "styles/sheet.css" but

Re: [WSG] Web Accessability, SEO, Bookmarking - mod_rewrite

2004-07-23 Thread Anders Nawroth
Chris Stratford wrote: So originally my method worked fine! just have the header point to: styles/sheet.css Use /styles/sheet.css. It points to the same location from everywhere in your site. /AndersN * The discussion list for