Low paid system admin

Hi this is my first post.
I am not php, apache htaccess guru. Just low paid administrator and have to get everything working. Please help been looking for days now…

this is my problem.

need some htacces Rewrite rules…

when someone type
http://winstart.se/xxxxx.se

xxxxx.se is any domain that must end with .se

the browser shows
http://winstart.se/xxxxx.se

but getting the same page as when typing in the browser:
http://winstart.se/order/domainchecker.php?domain=xxxxx&tlds[]=.se

{snip}

you save my night, I can go sleep now!

actually I did some small modification:

RewriteEngine On
RewriteRule ^/?([a-zA-Z0-9\-]+)\.se$ /order/domainchecker.php?domain=$1&tlds=.se [L]

but without your help I would still be in the dark!

One question if not hard…

This works now with .SE top domain, how to get it work with more top domains?

All top domains!

Then I have to define what not to use, and that is

.html and .php

and there is two variable …

do you have some sponsor paypal link?

Normally I don’t do code requests, but as this is an easy one (for me anyway) and you sound quite desperate I’ll make an exception :slight_smile:

Here’s what you need:


RewriteEngine On
RewriteRule ^/?([a-zA-Z0-9\\-]+)\\.se$ /domainchecker.php?domain=$1&tld [L]

Glad to have turned on the light :slight_smile:
Sleep well :slight_smile:


RewriteEngine On
RewriteCond %{REQUEST_URI} !\\.html$
RewriteCond %{REQUEST_URI} !\\.php$
RewriteRule ^/?([a-zA-Z0-9\\-]+)\\.([a-zA-Z]+)$ /domainchecker.php?domain=$1&tlds[]=.$2 [L]

Note that this doesn’t work for the new non-western TLDs, as I have NO idea how to get those characters on my keyboard :smiley:
And it works for one TLD at the time, and I don’t really know how I would go about handing several at the same time.

And no, I don’t have a PayPal sponsor link, nor do I intend to get one.
We’re here to help, not to make money :slight_smile: