Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
.htaccess is affecting my CSS!!
Old 01-24-2008, 05:55 PM .htaccess is affecting my CSS!!
andyp's Avatar
Extreme Talker

Posts: 165
Name: andy patterson
Trades: 0
I Posted A thread About Search engine friendly links and i got results from your instrunctions so i changed my .htaccess to;
Code:
RewriteEngine On
RewriteRule ^(.*)/(.*)/(.*) $1.php?$2=$3
my css file is at http://ap-gfx.com/template/themes/style.css
and that is how i linked it to http://ap-gfx.com/index.php
i'm total gutted because i was on a roll on finishing my site but this has put me back a couple of days.
so if anybody knows how to make my layout appear and tell me what i've done please, please give ideas.
andyp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2008, 06:17 PM Re: .htaccess is affecting my CSS!!
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
As I remember I gave you the rewrite rule. This was a general rule that would work for your particular problem. However if you had given more info I would suggested an alternative.,

Code:
RewriteEngine On
RewriteRule ^article/(.*)/(.*) article.php?$1=$2
RewriteRule ^index/(.*)/(.*) index.php?$1=$2

Last edited by maxxximus; 01-24-2008 at 06:36 PM..
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 01-24-2008, 09:25 PM Re: .htaccess is affecting my CSS!!
carloncho's Avatar
Skilled Talker

Posts: 80
Name: Carlos
Trades: 0
Yes, you must to write more exactly the rewrite rule, because all the files and directories are take by the rule and nothing will work
Only the archives that you want to apply the rewite rule you apply it, like maxxximus show.
__________________
-----------------------

Please login or register to view this content. Registration is FREE
carloncho is offline
Reply With Quote
View Public Profile Visit carloncho's homepage!
 
Old 01-25-2008, 08:17 AM Re: .htaccess is affecting my CSS!!
andyp's Avatar
Extreme Talker

Posts: 165
Name: andy patterson
Trades: 0
so how would i link my css to index/category/php could youpost the example code to use for the css link
andyp is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to .htaccess is affecting my CSS!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45185 seconds with 12 queries