• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

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.
Top Bottom