Tagged Questions
1
vote
1answer
44 views
.htaccess Redirect based on subdomain
I'm looking for some help in accomplishing redirects based on the subdomain. For example if some tries to access:
http://1.test.com
it will redirect to:
/file.php?test=something
and if ...
0
votes
0answers
39 views
domain and subdomain working with drupal
I have a domain let its called www.example.com and I have a Drupal instance of this as a subdomain called dev.example.com. example.com is place directly at the root of public_html while the Drupal ...
3
votes
2answers
86 views
Redirecting WWW.website.com to website.com
I ranked my site at Nibble.com and i was going through everything, checking for ways to improve my website, and I noticed that www.website.com was classed as a duplicate of website.com. How do I ...
0
votes
1answer
61 views
Most efficient way to forward domain.com to example.com/subfolder?
Title says my entire question. I think I saw someone forward domain.com to example.com/subfolder and have spent about a week trying to figure out how to best do this..
My goal is to have user type in ...
2
votes
0answers
207 views
Seeking htaccess help: Converting multiple subdomains (both http and https) to www.domain.com using .htaccess
I've been trying to get an answer to this question on other forums (the folks at SuperUser thought this was the place I needed to post) and via my connections, but I haven't gotten very far. Hopefully ...
3
votes
1answer
126 views
Subdomain In Addon Domain Is Not Working
I added a new addon domain to my cPanel hosting. With the new added addon domain, I try to make some subdomain of it. But, the subdomain is not working like subfolder does.
This is my situation:
...
2
votes
1answer
422 views
.htaccess 301 Redirect for wildcard subdomains
I run WordPress in Network mode, which means I can have multiple websites running off one installation of WordPress. Each website runs as a subdomain. WordPress handles this using .htaccess, and a ...
1
vote
1answer
144 views
.htaccess Forward all mail subdomains to /webmail/
I would like to write a .htaccess rewrite command that takes any url with a subdomain mail and forwards them to whatever domain included that subdomain with /webmail at the end.
e.g.
mail.zane.com ...
0
votes
1answer
130 views
How to silently auto-load from a subdirectory, but allow internal paths to think the file is located at site root?
I have files in my site root, and also files in its "Iternet_IE" directory. I need to:
1.) be able to call/include other files (e.g. headers or footers) from within files at either of those ...
1
vote
1answer
575 views
Redirecting a subdomain to an HTTPS website
I need to redirect a subdomain on my website to a third party HTTPS website. We have our website hosted on GoDaddy and I tried their subdomain forwarding mechanism but that didn't work. That's when I ...
4
votes
1answer
155 views
Do Dynamic Subdomains Harm SEO or not?
I am establishing a new website for just resumes, and I structured my htaccess as to provide dynamic subdomains as:
marketing.resumedomain.org/index.html
sales.resumedomain.org/index.html
...
5
votes
2answers
1k views
.htaccess directory to subdomain
I have been trying to make a subdomin from a directory (made by .htaccess) to be used as the main page starting like http://domain.com/sub/2/3/4.html and turning into http://sub.domain.com/2/3/4.html.
...
5
votes
2answers
604 views
Redirect/rewrite dynamic URL to sub-domain and create DNS for subdomain
I have created an application in PHP, I would like to re-direct the following URL to corresponding sub-domain.
Dynamic URL pattern:
http://mydomain.com/mypage.php?user_name=testuser
I wish to ...
1
vote
0answers
67 views
Setting up a subdomain for an already existing subfolder [duplicate]
Possible Duplicate:
Subfolder won't permenantly redirect to subdomain
I have a forum installed in a subdirectory (http://www.example.com/forums/), but I want to have it accessed through ...
0
votes
1answer
305 views
Adding 1 subdomain using .htaccess
Alright, so unlike other solutions I only want one subdomain to appear to be added.
Say I wanted example.com/folder/page.php to be displayed as foo.example.com/folder/page.php, how would I go about ...
0
votes
1answer
341 views
.htaccess mod_rewrite domain to subdomain
I need to redirect any domain to a sub-domain. I know this has got to be possible but for the life of me i can not figure it out. Any help is appreciated.
For example:
domain1.com
domain2.com
...
2
votes
3answers
483 views
Subdomains vs folders, for multi account/users application
So, for a multi user web app, what is better:
http://username.domain.com
Or
http://domain.com/username
I would like to get feedback about security, scalability and maintenance specifically, app ...
2
votes
1answer
402 views
Duplicate content for sub domains i.e. example.com/subdomain/index.php seen the same as example.com/subdomain/ [duplicate]
Possible Duplicate:
What is duplicate content and how can I avoid being penalized for it on my site?
I have a website with some sub domain folders and seomoz is picking them up as both ...
2
votes
2answers
5k views
Redirect/Rewrite Subdomain to Subfolder
I'm trying to redirect a subdomain to a subfolder e.g. forums.domain.com to www.domain.com/forums
Note that I started the forums in the subfolder format but worried that members might mistakenly try ...
1
vote
3answers
91 views
mod_rewrite: rewriting http://$SOMETHING.app.example.com/ to http://www.example.com/app/$SOMETHING
I'm trying to make http://$SOMETHING.app.example.com/ transparently rewrite to http://www.example.com/app/$SOMETHING.
The config below is giving me a 404 and I'm not sure why.
ServerName ...
3
votes
4answers
1k views
How to create .htaccess to block access to a subdirectory that hosts a separate domain
So I am pretty noob at with creating code in .htaccess, but I know it is what I need to accomplish a pretty simple task. So here is what I want to do.
I have a main domain, (me.com), and I am hosting ...
2
votes
2answers
121 views
Implications on automatically “open” third party domain aliasing to one of my subdomains
I have a domain, let's call it www.mydomain.com where I have a portal with an active community of users.
In this portal users cooperate in a wiki way to build some "kind of software".
These software ...