Tag Info

New answers tagged

0

Create a subdomain. for example: redirect.mydomain.com and add code to index.php (i will use php for redirect): <?php $header = $_SERVER['SERVER_NAME']; $end_p=strlen($header); $header=substr($header,5,$end_p); header("Location: http://$header:8080"); ?> save and close. Create default dns for control: conrtol.domain.com and assign to ...


2

Using 301 permanent redirects from one domain to the other is your better option. In fact, "domain parking" won't achieve what you want at all. Parking a domain generally means that the registrar will put up its own page there. That page will generally say "coming soon" and have advertisements for the registrar's services.


1

For 20 links, you are not going to notice a speed difference with any of those methods. None of them are going to add significant overhead. There is significant overhead added by PHP and WordPress to run your site. The redirects are not going to impact performance at all. For a very large quantity of redirects (thousands), individual rewrite rules ...


0

The Redirect directive doesn't pay any attention to the current host name. Your intention of Redirect short.com/howto http://longdomain.com/tutorials/how-to-do-something appears to be to only redirect when the domain name is "short.com". mod_alias's redirect doesn't suport this syntax. The short.com/howto argument must only be a URI path ...


0

Why not set up a CNAME record from short.com pointing to longdomain.com and then, based on your examples, the incoming requests would work without any short.com .htaccess rules.


1

If, as you say, both apps are useful, you should keep them both. However from what I see, the new one should be an evolution of the first, no? If so, you would be upgrading the first to the second, keeping only one. I would upgrade the new one, make it responsive, look great and then keep just one, upgrading the first. For this you would keep the same URL ...


0

Googlebot is finding your redirect links but it probably can't crawl them because you have disallowed them in robots.txt. It then thinks that your site has additional content and it "indexes" it with the link text. You could get around this by making your links point exteranally, but use JavaScript to write in the tracking. That way Googlebot can see ...


1

I am starting to think I did something incredibly wrong! Did I? Probably not. Can this be fixed and how? This may not be the answer you want to hear, but it should fix itself over time. Whenever you change the URL structure or content of your site in a significant way (and changing what Google perceives as your landing page counts as ...


-2

An easy fix is to put the actual home page on the home page and stop redirecting.


0

Perform a 301 redirect. Since both your websites are using wordpress platform, install this plugin, https://wordpress.org/plugins/simple-301-redirects/ (the best out there) Install the plugin in your old wordpress site and redirect the urls you want to the new website. Thus you wont loose your visitors nor be penalized by Search engines. Note: You need to ...


0

RewriteRule ^about/$ /test/about.php [L] RewriteRule ^about\.php$ /test/about/ [R,L] This is probably just your example, but this shouldn't actually result in a rewrite loop because of the additional /test subdirectory in the substitution. (/test/about.php won't match the pattern ^about\.php$) But anyway, assuming you want to (internally) rewrite ...


0

Please refer below : Moving site from its own domain to sub directory or subdomain - updating Webmaster Tools Same question already asked many times.


1

Here is the one simple answer for your issue. Just Sign in into your domain panel and redirect the new domain name instead of old domain name. In this case what happened is if anyone open the old website it automatically redirect to the new domain website.


2

I don't know what you mean by "current hosting issues", but if any, you should report to your provider. About the question, I understand what is your problem and I had the same question too in the past. In my case I installed Wordpress inside a folder called /news, as it was the purpose of the blog, to act as the news platform of the main site. In terms of ...


0

You also need to configure your web server to (return a 301) redirect from blog.qmery.com to blog.borhancid.com. Simply pointing DNS correctly is not enough.


2

You asked quite a few questions and I suspect you know most of the answers already. So to clear up some confusion, I will address the subject of changing the domain name since this sounds like the new question. If you need more, please let us know. Keywords in domain names mean almost nothing anymore and exact matches rarely happen as a result. That was a ...


1

I finally found the solution to this problem. When setting up the site I had done everything but put the site in the bindings for the domain. I hadn't added the subdomain.mysite.com to the bindings for port 80. I had forgotten this because since I was forcing everything through port 443 with a rewrite, I didn't think I needed to add it. In digging around ...



Top 50 recent answers are included