With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
What I want to do is set up multiple keyword subdomains WITHOUT going through cpanel to do it. Essentially, I have a folder on the server called "subdomains" - in which other folders can be created - keyword1, keyword2, etc. - and files FTP'd to each folder.
So that... if someone types in keyword1.example.com or keyword1.example.com/example.html in their web browser, they see the appropriate files.
I believe I need to set up rewrite rules in my htaccess file which enable me to
1. redirect keyword1.example.com to folder /subdomain/keyword1
so that it shows the index.html file in that folder
2. redirect keyword1.example.com/xxx.html to the matching file (xxx.html) contained within /subdomain/keyword1/
3. and finally... redirect ANY [obscured] requests to the matching [obscured] page
I have added the necessary A record and setup the wildcard server alias correctly, so just need the right rewrite rules for the htaccess file :)
The current htaccess file has:
Sign in or Register to see more