Moved Content From Root To Subdomain And Need To Redirect Visitors
Mar 16, 2007
I moved my content from www,mysite,com to subdomain,mysite,com. I'd like to direct people who come to my site from search engines to the new location of the content.
For example, if they searched for pink purse and the search result was www,mysite,com/pink_purse,html, when they click that link, I'd like for them to redirected to subdomain,mysite,com/pink_purse.html. Can this be accomplished with some .htaccess magic?
View 4 Replies
ADVERTISEMENT
Aug 20, 2008
We have an established site for which we want to add a 'mobile-appropriate' subdomain geared to phone surfers.
Our host (1and1) confirms their servers detect mobile visitors but they couldn't help me with how to read the server flag(?) or whatever and then redirect the server to our mobile subdomain when appropriate.
Can anyone point to an appropriate how2? (Note I don't need "mobile code" help help - just help with how to redirect mobile visitors transparently off our main site and into its mobile subdomain).
View 3 Replies
View Related
Sep 6, 2007
I just moved my site to point to a new server (changed nameservers) and everything is working fine but a subdomain.
My subdomain links.example.com still points to old site when example.com points to the new site.....
Should I delete that subdomain at the old host?
Should I just be patient?
Should I change nameservers for subdomain at old host?
The subdomain is configured at the new host already.....
View 0 Replies
View Related
Feb 25, 2008
could not find a solution for this reversed blocking
I would like to redirect users who access the site from any IP address to be redirected like this:
RedirectMatch /(.*)$ hxxp://extranet.domainname.com
and have anyone from an IP address of 123.123.123.123 to just access/view the regular site, so not to be redirected.
how I can do this in my .htaccess file?
View 4 Replies
View Related
Nov 5, 2009
I have what seems to be a simple redirect question. I have a dedicated server and a few static IP addresses, but I want to make it so if someone were to type in my IP address in their browser, Apache will redirect them to the domain name. (Typing in [url]
What happens now is that if you were to type in my server's IP address, it will show you the FIRST VirtualHost container that's listed in httpd.conf. This is not so bad since I've placed my main company site at the start of the list, but I'd rather redirect the IP into the domain name I use.
I read somewhere that you can place Mod RewriteRules directly in the VirtualHost container rather than using .htaccess, but the few "rules" that I tried didn't seem to do anything. And yes, I restarted Apache each time I edited httpd.conf.
Is there an easy way to do this?
ALSO, is there a way to redirect the name server address too? If you type in [url]into the browser, it acts the same way. I would ultimately like to redirect both the nameservers and the IP address(es) to the domain name.
View 4 Replies
View Related
Nov 5, 2007
My client has just purchased hosting (not through my hosting company but one they wanted to use) for their main domain but they also have a number of more specific domains that need to be pointed to a specific page in the website. The trouble is that for these additional the new host say they can only point to the main domain (IP address) at DNS level and not to a specific page.
Any idea how to go about this (apart from using another host!)? Can I use a script that can tell what url they have typed into their browser and forward them to the correct page? I want to avoid the need for a hosting package for each domain just for a simple redirect page!
View 7 Replies
View Related
Jul 14, 2014
We're running Plesk 11.5 on a CentOS 6.5 VPS and we would like to resolve the following problem:
We've configured a physical subdomain, lets say sub1.mydomain.com, and set up a couple of aliases for that domain in Plesk under:
Web Server Settings for sub1.mydomain.com > Additional Apache directives > "Additional directives for HTTP"
Code:
ServerAlias mysub1.mydomain.com
ServerAlias mysub2.mydomain.com
And
Web Server Settings for sub1.mydomain.com > Additional Apache directives > "Additional directives for HTTPS"
Code:
ServerAlias mysub1.mydomain.com
ServerAlias mysub2.mydomain.com
This config is working fine until we try to load resources from the alias over ssl, I believe something is missing in the Nginx config. I'm not getting any info using the logs.
For example:
http://sub1.mydomain.com/img/myimage.jpg --> works!
https://sub1.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> not loading
http://mysub2.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> not loading
Do we need to specify alternative directives for Nginx?
View 1 Replies
View Related
Feb 15, 2009
I am trying to do is have a redirect so the files get redirected to a subdomain. So domain.com gets pointed to domain.newdomain.com. However, I want to keep the current URLs, so say I got [url], the below code is just redirecting that url to [url]rather than
[url]
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule (.*) [url]/$1 [R=Permanent]
RewriteCond %{HTTP_HOST} domain.com$
RewriteRule (.*) [url]$1 [R=Permanent]
View 6 Replies
View Related
Jul 10, 2009
I wasn't able to just export and import so I had to manually recreate content. I used the same permalink structure in hopes that I "might" be able to do a re-direct. Just now sure if A)It is possible or B)How to do it.
Example:
OLD LINK:
[url]
NEW LINK:
[url]
Am I able to redirect all traffic that comes in and replace the "www.cgcookie.com/articles" with "cg.cgcookie.com"?
View 4 Replies
View Related
Apr 23, 2008
I have 2 dedicated server.
on server a I created an account.
on this account I created a subdomain named test.mydomain.com
on server b I created a new account with dedicated IP .
now, I want redirect test.mydomain.com to my dedicated IP on server b .
I have cpanel on both server .
I changed the A record of IP of in mydomain.com , but this is not work
View 1 Replies
View Related
Jun 26, 2008
on pointing a sub-domain to an ip address.
I would like to have [url]point to my hope IP address which is static.
View 2 Replies
View Related
Oct 30, 2008
Is there any way to redirect a subdomain on a machine A to point to an IP adress on a second machine B.
View 11 Replies
View Related
Jun 1, 2008
How do I redirect to subdomains with discountasp hosting?
They give an example in their knowledge base (won't let me link it), example, they are assuming you're a programmer.
Is there any code that works that I can just paste into a Visual Studio 2008 web app project and upload that to my site? Or is it more complicated than that?
Customer service was no help at all.
Am I expected to be an experienced ASP.NET programmer in order to use discountasp as my hosting? I am learning asp.net and c# and I got discountasp because they seemed to have all the cutting edge Microsoft technologies.
View 1 Replies
View Related
Oct 9, 2014
creating a basic redirect. What I need is to redirect the root of my server 173.x.x.x to a file called test.php in the root of my folder.example: when I go to http://173.x.x.x I get redirected to http://173.x.x.x/test.php..
View 3 Replies
View Related
Jun 22, 2008
I am a bit confused about domain and sub-domain setup for my website.
I have Wordpress and VBulletin Forum on my website like this:
/www/mywebsite/wordpress
/www/mywebsite/vbulletin
Right now, my domain points to this folder:
[url]
I have a .htaccess file there which redirects it to the wordpress folder i.e.
Redirect permanent /index.php http://www.mywebsite.com/wordpress
DirectoryIndex index.php
But, I would like my domain name point directly to the wordpress folder like this:
[url]
But the problem when i do that is my "VBulletin" forum get's messed up because then:
[url]----------resolves to--------->
[url]
I m thinking to resolve this issues, I will have to add a subdomain for forums like this:
[url]-> [url]
But I am wondering if I do that, won't it fail again, because it will do this:
[url]-----will resolve to----->
[url]
View 5 Replies
View Related
May 12, 2015
Wordpress installation (WPML with 3rd level domain es. site. com, fr. site. com).I need to redirect page from old subdomain to a new subdomain
Example:
esp.site.com/oldpage -> es.site.com/newpage (different subdomain)
esp.site.com/oldpage1 -> es.site.com/newpage
esp.site.com/oldpage2 -> es.site.com/newpage
Source site is very chaotic (static pages + wp pages) and there are no clear rule for redirection (no regex ).So I need to redirect every single page but syntax:
Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage doesn't work!I think "esp.site.com" in source page is not acceptable syntax..which is the correct syntax ? Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ?
View 1 Replies
View Related
Nov 28, 2006
I searched URL....but I still could not get this to work.I need a redirect to a certain folder when people visit the root directory of my site.
View 7 Replies
View Related
Sep 12, 2013
I would like to do do following using basic authentication:
1. non authenticated users have access to the index page: [URL] .....
2. there are other pages, e.g: [URL] .... but these would require basic auth
3. if users are not authenticated they would be redirected to [URL] .... otherwise authenticated users would have access to [URL] .... or anything else under that domain
View 1 Replies
View Related
May 31, 2008
there is no one didnot hear about the Price increased @ LT
so i may need to know and ask evry body..
where did you moved ?
or
where are you think to be moved to?
i'll be more than happey if you help us and tell us with why did you moved to this one
View 14 Replies
View Related
Sep 17, 2007
Is it possible to send subdomain2.subdomain1.domain.com to a Windows 2003 IIS server thats different than the one where domain.com is hosted on?
View 1 Replies
View Related
Apr 23, 2015
I want to add a subdomain foo.bar.com to a master domain bar.com in the subscription bar.com. Normally this works but if I set the hosting type of the master domain to forward, I cannot add subdomains anymore. If I have already added a subdomain, I cannot change the hosting type of the master domain. Also it is not possible to add a second domain to the subscription anymore.
View 6 Replies
View Related
Mar 13, 2013
I am trying to setup a subdomain and/or virtual host to redirect to a specific port and path. I have setup my server with DDYNS through my domain name registar. Through the ddyns client I have set it to assign a subdomain of "outside.name.com" so that my server will have a easy name to get to instead of a dynamic ip address.
I have also setup on my registrars host records another subdomain of "inside.name.com" with a static IP address for internet network accessing to my server.My problem is that I have a service/program on my server that I need access to both internally and externally and this service can only be access through a port of 32400 and HTTP address of /web. (e.g. outside.name.com:32400/web or inside.name.com:32400/web)...
Is there a way that I can create a VirtualHost or Subdomain of "service.*.name.com" that redirects them to ":32400/web" of the hostname they're on? (e.g. service.outside.name.com automatically forwards or proxies--to keep it pretty--to service.outside.name.com:32400/web)
View 1 Replies
View Related
Mar 12, 2013
I am trying to setup a subdomain and/or virtual host to redirect to a specific port and path. I am, however, having great difficulties doing this.
I have setup my server with DDYNS through my domain name registar.
Through the ddyns client I have set it to assign a subdomain of "outside.name.com" so that my server will have a easy name to get to instead of a dynamic ip address.
I have also setup on my registrars host records another subdomain of "inside.name.com" with a static IP address for internet network accessing to my server.
My problem is that I have a service/program on my server that I need access to both internally and externally and this service can only be access through a port of 32400 and HTTP address of /web. (e.g. outside.name.com:32400/web or inside.name.com:32400/web)
This is annoying for others to type out and I am just wanting to make it look pretty. Is there a way that I can create a VirtualHost or Subdomain of "service.*.name.com" that redirects them to ":32400/web" of the hostname they're on? (e.g. service.outside.name.com automatically forwards or proxies--to keep it pretty--to service.outside.name.com:32400/web)
View 1 Replies
View Related
Nov 25, 2008
I have read that although chained root ssl certificates can be more difficult to install they are actually more secure since the root certificate cannot be compromised, only the intermediary.
Is this true? It looks like both google and amazon both use chained SGC certs.
View 0 Replies
View Related
Oct 9, 2007
Since I moved to vps emails are some how being blocked by hotmail.
I have a forum which needs email activation but those registering with hotmail do not receive emails
View 14 Replies
View Related
Jun 7, 2007
Now cpanel is having some issues. Certain places acknowledge the new IP, others don't. IE all of my nameservers are still set to the old IP's and I can't seem to change them because they are already asigned to the old ones, etc. What can I do to try to fix all of this? Is there an easy tool? Is there a file I can just change?
View 1 Replies
View Related
Jun 5, 2007
Question for people who have moved to InnoDB: I wonder if it is worthwhile?
I don't care about ACID compliance, my only interest is in the row level locking which I do not get with large MYISAM tables which do table locking and clog up everything. I have a huge database that needs frequent updates, like 50,000 per hour. I also don't care about InnoDB's large size of indexes and such, I have lots of hard disk to throw at it.
My fear is with the backup of InnoDB tables, and the fact that it is not as simple to "fire up" the tables when I restart the database. MySQL manual suggests something like a query to "Warm up" the tables.
Any thoughts would be great, and if possible, any help with what settings you use. FYI, I am on a 4GB RAM machine with dual Core2Duo procs. When I tried the following in my.cnf for the InnoDB stuff ---
Code:
#skip-innodb
innodb_buffer_pool_size=1G
# Set the log file size to about 25% of the buffer pool size
innodb_log_file_size=250M
innodb_log_buffer_size=8M
innodb_data_file_path=/idbdata1:200M:autoextend
innodb_additional_mem_pool_size=20M
innodb_log_group_home_dir = /iblogs
innodb_log_files_in_group = 2
innodb_flush_log_at_trx_commit=1
innodb_lock_wait_timeout=10
--- the MySQLD wouldn't start! Question about the stuff in red: what're those paths for?
Do I need to create those paths?
View 6 Replies
View Related