Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Simple .htaccess request

Status
Not open for further replies.
You'll need modrewrite

RewriteEngine On
RewriteRule ^(.+)$ index.php

Something like that should work. TBH, I've not looked into it, and i've just made that up from my head. It will work, but it might not be the most efficient way of doing it...

Jee
Available for hire too ;)
 
You'll need modrewrite

RewriteEngine On
RewriteRule ^(.+)$ index.php

Something like that should work. TBH, I've not looked into it, and i've just made that up from my head. It will work, but it might not be the most efficient way of doing it...

Jee
Available for hire too ;)

Thanks JW - whilst that forwarded it did not 'pick up' the CSS file, so I got basic HTML ? Any ideas?
 
Try this:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php

Basically, it makes sure the request isn't a file or a valid directory (i.e. so you can browse a directory listing etc ;) )

Let me know if that works :
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

Latest Comments

Upcoming events

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom