Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 19th, 2006, 03:22 PM
Andrew_Smart Andrew_Smart is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,755 Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 23 h 47 m 23 sec
Reputation Power: 59
After rewrite, css doesnt work

if i go to the following location

http://www.impulsive-solutions.co.uk/isweb/about.php

it works fine. If i then in a .htaccess file put the following

Code:
RewriteEngine on
RewriteRule ^about/$ about.php


and then navigate to

http://www.impulsive-solutions.co.uk/isweb/about/

the page loads but the images and css dont work as if they are not in the wrong directory...

Why is this?

Reply With Quote
  #2  
Old January 19th, 2006, 05:06 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,343 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 19 m 10 sec
Reputation Power: 787
It's looking in /isweb/about/style/style.css b/c HTML forms requests based on the original URI, not the rewritten one. The easiest solution in most cases is to use an abolute path in the attribute's value.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old January 21st, 2006, 05:54 AM
Andrew_Smart Andrew_Smart is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,755 Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level)Andrew_Smart User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 23 h 47 m 23 sec
Reputation Power: 59
ah thanks, that makes perfect sense

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > After rewrite, css doesnt work


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway