Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [redirects]

A page, link or command that points URL requests to another URL in the world wide web. Redirects can be either server-side or client-side through the use of javascript.

1
vote
0answers
62 views

Are there security concerns with migrating a sub-sub domain to a new platform, leaving another in place, and abandoning a third?

I have been tasked with launching a website for my organization. It is a dept. within a parent organization. Parent Organization Administers domain.com Dept. Organization Administers sub.domain.com ...
4
votes
6answers
213 views

Should my users' profile page URL be /user/bob or just /bob?

Currently, the URL to a user's page is this: website.com/user/bob But I'm considering changing this to be: website.com/bob Without the /user/ part. It comes across as much cleaner and easier to ...
4
votes
1answer
387 views

Redirect 301 directive for Apache has no effect for URL with query string

I have this old link http://www.example.com/?page_id=617/ that I want to redirect to the home page. I've tried to implement this redirect with: Redirect 301 /?page_id=617/ https://www.example.com/ ...
5
votes
3answers
467 views

Temporarily redirect WordPress url with query string from root directory to new url

This post seems to have my answer: How can I redirect old WordPress URL (with a query string) to new URL using .htaccess? However, this does not seem to play nicely with WordPress' previous rewrite ...
2
votes
1answer
40 views

I couldn't create .htaccess redirect

From /etiket/(any page) to /konu/(any page). How can I do it? In .htaccess file. I searched and applied it but couldn't. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase ...
3
votes
2answers
523 views

How bad is it for SEO to use at 302 redirection instead of 301 redirection for HTTPS?

Recently my client has configured HTTPS. I recommended that he implement 301 redirection to 200. His developer could not do that and it is still using 302 redirects. How bad it can affect a website ...
1
vote
1answer
178 views

Moving product website to company subdomain without losing SEO rankings

I manage a website related to a product, let's say www.product.com. The company used for years its company domain (let's say "www.company.com") as a redirect to www.product.com. Now we need to ...
1
vote
0answers
105 views

Months after implementing 301 redirects to a new domain name, the old domain still appears in Google but with snippets from the new domain

Background I had a single domain with 2000+ articles on a wide range of topics. For several reasons, I decided to split this site into several smaller, distinct sites, each on a separate domain name. ...
2
votes
0answers
50 views

though 301 website redirect from .de to .com, google indexes .de Website

I had a website example.de . Than I changed the domain with example.com . I added example.com also in google search console and than I did every steps in https://support.google.com/webmasters/answer/...
5
votes
2answers
298 views

When the root URL of a domain doesn't have a specific site, how should visitors be directed to language folders?

My question is not technical (how to do it using X technology), it's about choosing proper approach that is good for SEO. Description Let's say I have a website example.com. It's a multilingual site,...
1
vote
1answer
31 views

What could cause my site to redirect to its IP address using Apache2?

I've been playing around with various web configurations in Debian for about a year now. I've set up DNS for a fow domains in the process and have never really had an issue. I: Go to Google domains ...
1
vote
1answer
784 views

Why is my domain redirecting to a sponsored ads page when hosted by 123-reg?

I recently purchased a domain from 123-reg and am hosting the site on pythonanywhere.com I tried to redirect the non-www domain to a www domain using the methods 123-reg specified but it resulted in ...
1
vote
0answers
196 views

Correct way to redirect from HTTP domain to a different HTTPS domain on the same server?

Hello I have two different domain names pointing to the same server (same IP in DNS records). One domain (example1.com) has SSL enabled and has a fully working website on it. The other domain's (...
1
vote
1answer
36 views

Google search console reports redirects from my preferred www setting (Canonicalization seems to be working backwards?)

I have two variations of my domain on webmasters. One is http://www and the other is non-www. I have set my preferred domain to be non-www. I have used the function "Fetch as Google" and have had ...
2
votes
1answer
211 views

Is it OK for SEO to send a 200 status when I'm actually rewriting the request to a controller and then outputting content to a page dynamically?

After reading endless pages about redirects and best practice, I'm still unsure if what I'm doing here is good, bad, or indifferent as far as SEO is concerned. I have a table in a database that holds ...
2
votes
1answer
316 views

My website keeps redirect to the “index.php” account on Instagram app

My htaccess code allows example.com/username redirect to any username on Instagram app. But when I open example.com it redirects to an Instagram account called index.php. How can I fix it? Here is my ...
2
votes
1answer
540 views

How can I redirect example.com/username to Instagram app directly open from deep link?

I'm trying to redirect from example.com/username​ to Instagram deep link instagram://user?username=anyusername Here is my htaccess code RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^(www\...
1
vote
1answer
34 views

Changing domain through 301 redirects - will I lose ranking position?

I have a few articles that are in the top 3 of Google search results. They are currently accessed by the URL http://example.com/myarticle1. Now, I want to move that article to the other URL http://...
1
vote
1answer
60 views

Address Bar and Google Search lead to different websites for the same URL

How is it possible that the same URL, when typed in the address bar, leads to a different website, when searched for in Google leads to a different one? Example: If you type in mdgpartners.com in ...
1
vote
1answer
34 views

We have two domains with links pointing into both. Right now one 301 redirects to the other. What should I do for SEO?

We have a web site example.com and domain example.org which is 301 redirecting to example.com. Both of these domain names are promoted in web. Because redirection is badly affecting SEO, instead of ...
2
votes
1answer
173 views

When mass redirecting URLs from the old site, can I redirect everything to the home page of the new site for SEO?

I need to redirect thousands of URLs to my new site (its the same domain, but now is on Wordpress), I don't want to lose all the SEO from the old posts, but I don't know how to redirect each old link ...
2
votes
0answers
465 views

Redirecting domains, sub domains and single pages on Siteground

I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However, that server configuration was very different so I cannot copy what we ...
1
vote
1answer
51 views

Can a user or a crawler see the source of a page that has been redirected via a 301?

Is it possible for a user or a web-crawler to see the contents/source code of a webdocument that is automatically redirected to another page via a 301 redirect? If it is possible? How could a user ...
3
votes
2answers
1k views

How to implement WordPress in a subdirectory, hosted on a different server?

I am working with a client who already has a custom e-commerce website set up at their own domain e.g. example.com We want to host their WordPress blog at a subdirectory of their domain e.g. example....
1
vote
2answers
44 views

How do I create 301 redirections for changed permalinks

I recently learned that the default WP permalink with post date is not SEO friendly. So I had to change the links for all 270 posts on my blog. However, the old links still display on Google search ...
2
votes
0answers
86 views

.htaccess to show a page from the main site on another domain

I have 2 x domain names https://www.example.com - This is my main site. http://www.example-liverpool.com This is my Liverpool sub website example.com/liverpool I've presently got URL forwarding ...
1
vote
3answers
88 views

When converting a WordPress site from HTTP to HTTPS, do all hard-coded HTTP references need to be updated?

We have a Wordpress HTTP site which we wish to convert to HTTPS or SSL. Do we have to find all mentions of hard coded HTTP resources or can we simply do a 301 redirect in .htaccess, and how do we do ...
2
votes
1answer
280 views

2 websites same company- different countries. How to set up?

My friend is selling his niche product in the US, and myself will do the same here in Australia. We will have 2 websites almost identical and we are thinking of linking to each other on our websites, ...
1
vote
2answers
40 views

Should a development domain that is indexed better than the real domain be deleted or redirected if I want to re-use it later?

I am a Web Developer and now almost nothing about server management. I setup a test server for one of our project at mypersonaldomain.com so that I would have a permanent URL to send to my coworkers ...
0
votes
1answer
250 views

.htaccess redirect based HTTP_REFERER [closed]

Our webpage was redesigned and moved to a web CMS platform. This means some of our blog posts shared via Twitter just link to a 404 page. I am wondering if it is possible using .htaccess or something ...
1
vote
1answer
774 views

.htaccess doesn't redirect my pages from HTTP to HTTPS

It seems like .htaccess doesn't redirect my pages from http to https. My domain is redirected to https but not my pages… Can it be a bad configuration from my web host? Here is what I have done ...
3
votes
1answer
213 views

Redirect first time visitors to an introduction page without getting penalized by Google

I am working with a client that wants an automatic redirect to a special "intro" page for first-time visitors to his site. We are using a website builder platform that does not allow any access to the ...
1
vote
1answer
38 views

What redirection should I use whether I am not sure it is temporary or permanent?

I know that 301 redirection for permanent redirection. 302 for temporary redirects. I want to redirect author pages to BuddyPress profile pages in WordPress. I am not sure that it will be permanent. ...
1
vote
2answers
52 views

Make local requests from webapp to header and footer files work without redirects for the default website

We have a server that is configured to serve several sites. One of these sites is a WordPress site, and some of its pages are really Java web applications hosted by Tomcat. The Java web applications ...
8
votes
3answers
1k views

When you move a site via a 301 redirect should you setup a robots.txt disallowing robots to crawl the old address?

A site I am working on moved a subdomain to another subdomain via a 301 redirect. However when checking robots.txt of the old subdomain, it has a robots.txt which disallows search engine web crawlers ...
2
votes
0answers
291 views

Does Yoast support regular expression redirects to remove the date from post URLs?

I have to setup as redirect from "Date and Name" Format to "Post Name" Format. For example: /2010/10/post-url/ it must be redirected to /post-url/ I am using Yoast for redirect. I don't know what ...
2
votes
0answers
42 views

How to move blogs from BlogSpot to my own domain without harming SEO? [closed]

I am website (riddles) http://example.blogspot.com/ and the solution site http://example2.blogspot.com To my bad i created 2 blogs. Now I am planning to move these 2 blogs into a single site (say ...
1
vote
1answer
149 views

SEO benefits of linking directly to a scientific paper opposed to linking through a more stable digital object Identifier (DOI) redirect

Different sources show that the type of outgoing links on a site have a minor effect on its ranking (https://searchenginewatch.com/2016/11/02/guide-to-google-ranking-factors-part-9-outbound-links/). ...
2
votes
1answer
74 views

Slow PHP redirects lead to loss of marketing clicks

Ok so we are running liquid web server For some reason we are losing around 70% of all of our clicks that we are tracking on our end than we are seeing on Hasoffers tracking platform. These are ...
2
votes
2answers
414 views

How to tell google that domain no longer exists but still make redirects from that domain

I have two domains: example.com and dev.example.net. example.com is the active one and dev.example.net should be invisible to Google. dev.example.net has 301 redirects to example.com and it has its ...
2
votes
0answers
568 views

Using AutoSSL/LetsEncrypt To Give Cert to SubDomain Pointing to Separate Server

Background I have a primary website hosted on a LAMP-based VPS, with WHM and cPanel. I've installed the Let's Encrypt cPanel plugin to use with AutoSSL, and that is working for the main site. ...
3
votes
1answer
920 views

URL-path with encoded question mark results in incorrect redirect when copied to target URL

I have a simple RewriteRule, appending a string to some URLs: RewriteRule ^labels/([^/]+)/?$ /labels/$1/releases/ [R=301,L,NC] The links are database driven, and this is working very well. Well, ...
2
votes
0answers
46 views

Googlebot following some 301 that doesn't exist for root domain

We have locale versions of our site www.example.com (UK), us.example.com (USA), fr.example.com (France) etc. In Google webmaster tools I have configured each of these domains with their country and we ...
1
vote
1answer
585 views

External links to internal link and redirect

There is s similar question for this (Does external linking with internal link and redirect benefit the target website?) , but it is not extracly similar to this question and it did not give a answer ...
2
votes
1answer
438 views

After redirecting site to HTTPS Google Search Console index status dropping for HTTP but staying at 0 for HTTPS

I moved my HTTP site to HTTPS last month. Earlier I had a search console property for http://www.example.com. Now I created a new property for https://www.example.com (also created property for http:/...
4
votes
2answers
977 views

Website is redirected to scam site only when clicking from Google search results

I am trying to investigate a weird attack on a Joomla 3.6.5 website: If you access the website directly through its URL, everything works as expected. However, if you search for the website using ...
2
votes
1answer
480 views

Buying and redirecting domains - White Hat Linkbuilding?

There was a time when buying snapped/old expired domains with a lot of backlinks and just 301-redirect them to your website was a thing. This was risky, black hat and no longer work. Non-expired ...
2
votes
2answers
69 views

SEO impact of converting a small site to a single page with scrollable sections

I have to redesign a website that has many sections with different URLs: Home, Contact, Services, Who are we?, etc. I want to put them all into just one scrollable index page, with a menu in which I ...
1
vote
1answer
104 views

Which is longer cached by SE robots or browsers, redirect 301 or 302

I have looked on Stack Exchange but didn't find the solution for my problem. The problem: I have a website and want to become an SEO hero. So, I also need to choose status codes... I know that there ...
6
votes
2answers
1k views

Redirecting robots.txt when moving to a new domain

I'm moving a site to a new domain, to a local tld. I already redirected everything successfully to the new domain, except the robots.txt. My question would be that is it needed to redirect the ...