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.

Filter by
Sorted by
Tagged with
1
vote
1answer
188 views

Adding a subdirectory to a URL using .htaccess

I am trying to achieve the following: This URL: www.example.com/wis/9-3/1998/0.general Redirected to this URL: www.example.com/9440/wis/9-3/1998/0.general So I'm trying to add this subdirectory to ...
0
votes
1answer
233 views

mod rewrite with two parameters and loading folder

I have domain example.com, when someone go to this domain, I need to automatically redirect to example.com/en/ and need /en/ to be a parameter of variable lang. RewriteCond %{REQUEST_FILENAME} !-d ...
2
votes
2answers
102 views

How would Google react if I redirected currently ranking landing pages to the home page?

I have some tag pages on my website which contain specific keywords. They appear in the Google search results for those keywords. Those pages bring in a fair amount of traffic but the bounce rate is ...
5
votes
1answer
102 views

When an attribute value ends in a slash, can I omit the quotes? It looks confusing when the trailing slash is next to the closing angle bracket

I have been thinking about this case: You want to use canonical on page A directing to example.com/: <link rel=canonical href=example.com/> If I wouldn't use quotation marks like that, could ...
0
votes
0answers
43 views

.htaccess clean url to GET variable with WordPress

I'm struggling to get a .htaccess rule to work. I'm trying to cleanup a URL for a WordPress site. Instead of /illustration?rid=123, I'd like /illustration/123. I've tried solutions from many of the ...
2
votes
1answer
508 views

Redirect to remove everything after the second slash (first directory)

I'm trying to redirect a lot of pages on a website I own. There are a few pages indexed and I need to fix them for example: /vloerafwerking/projecttapijt/raamafwerking/ needs to go to /vloerafwerking/...
0
votes
2answers
29 views

Page URL Modifications and Google response [duplicate]

I need to change the address of one of the pages of my site. I will create a new page with absolutely the same content and the same structure of the page (no changes to the content of the page at all, ...
1
vote
2answers
37 views

How to preserve ALL website's URLS when transferring to a new CMS as well hosting

I am in a position where I have to figure out how to preserve all of the website's pages URLS when transferring it to a new CMS, perhaps potentially Joomla (hasn't been decided yet). New hosting is ...
3
votes
5answers
153 views

Is HTTP to HTTPS redirect required even if site is only on HTTPS?

I have a new website and from day one, it was on HTTPS. For example: https://www.example.com/ Do I still need to redirect HTTP to HTTPS to avoid content duplication? For example, should I still set ...
2
votes
1answer
138 views

Redirecting a user but not Googlebot to solve problem with iFrames in content

TLDR To work around a problem with a third party documentation writing software I need to redirect a page to another page but only if a user in browser is looking at it. I want the google bot to see ...
1
vote
1answer
303 views

Firebase redirects http to https with 307 code (Temporarily Moved), which is bad as per SEO. How to configure it to use 301 code (Permanently Moved)

My website is hosted with Firebase. It offers https out of the box. When a user hits http://example.com, it redirects to https://example.com with 307 code (Temporarily Moved). As per various SEO ...
1
vote
1answer
122 views

how to redirect lower case to upercase

I have a WordPress blog and I made subfolder like this https://example.com/Tourism but when I open this URL with lowercase "t" it shows me 404 not found error: https://example.com/tourism this ...
4
votes
1answer
73 views

What is the most SEO friendly way to redirect the main domain to different subdirectories?

I have a multilingual website (English / Hungarian). I need to redirect my domain (mysite.hu) to subdirectories (/hu, /en), based on chosen user language preference (the default is Hungarian). For ...
2
votes
1answer
47 views

Redirecting /page/*/ to the home page in .htaccess

My problem is that my homepage exists on https://www.example.com/page/2/, /3/, /4/ and so on, it still exists on /1000/. Same duplicate page versions exists on /about and and /contact page of my site. ...
1
vote
2answers
91 views

What is the SEO impact of multiple redirects that return to the current page after setting a cookie?

We have a situation where we need to set a cookie on a user's session. In order to do this we currently have a series of redirects in place: Initial request > 30x to get the cookie > 30xset the ...
2
votes
1answer
285 views

http to https redirect triggers “Duplicate without user-selected canonical”

For some reason, my Main URL (https://www.foxteller.com) cannot be indexed because of my domain redirects in the apache2 config. My redirects go as follows: http://foxteller.com/ > https://www....
0
votes
1answer
130 views

Redirecting a domain works on HTTP but not on HTTPS with IIS server

We built a site for a client to advertise a new block of apartments they had built. The apartments have now all been sold so we have been asked to forward the domain to another domain until there is ...
3
votes
2answers
65 views

Do non-existent 'category' pages in URLs present a problem for search engines?

Say for example if I have a news site and my URL structure is: example.com/news/random-article If there is no page at example.com/news/, in other words it results in a 404 error, is that problematic ...
1
vote
1answer
186 views

Redirect to website with parameters - namecheap

I'm struggling to redirect using the namecheap dashboard. Specifically I want to redirect based parameter. So for example: mywebsite.com/2345 would redirect to otherwebsite.com/query?=2345 Is this ...
2
votes
1answer
222 views

Redirect from www and http to https doesn't work on sub-domains

I am trying to redirect all www and non-https requests to the HTTPS only versions with Apache server. I don't need or want www or non SSL URLs at all. The issue is that with the 2 different snippets ...
1
vote
1answer
99 views

Yoast purge plugin caused crawl errors, getting more even after removing it

I'm using the Yoast SEO plugin on my WordPress site, and when you upload media to WordPress media library, it makes a copy of the image or file and creates a file path (this is normal). However, all ...
1
vote
1answer
46 views

Community homepage: domain root redirect to subpage for logged-in users bad for SEO?

I run a community website. I plan to distinguish between guests (wich also contains search engines) and logged-in users for the domain root, because logged-in uses should see an overview of new ...
0
votes
2answers
60 views

301 redirect in the htaccess file issues

This is driving me crazy, can anybody tell me why this 301 redirect does not work. I just get a 404 error with the old /about page. Here is the code for info: {ENV:WPR_SSL}.html%{ENV:WPR_ENC}" -f ...
4
votes
4answers
2k views

Should I redirect “ugly” URL to friendly URL?

I use mod_rewrite to rewrite https://example.com/?page=some-page&tab=2 to https://example.com/articles/some-page/2. But people can still access both URLs. I want to know: should I redirect the "...
0
votes
2answers
149 views

Do follow link redirection

I am new to SEO and using WordPress. I got a do-follow back link from a website. The link's structure was /2018/03/03/abc/. After that I changed the permalink structure. So the link became /abc and ...
0
votes
1answer
27 views

My team wants to move news section of our website to subdomain [duplicate]

My team wants to move news section of our website to subdomain ex "news.website.com" does it affect SEO? Can anyone tell me pro and cons of this thing?
1
vote
0answers
24 views

Temporarily turn off redirects on all virtualhosts

Is there a configuration parameter I can set in the global configuration to disable redirects in all virtual hosts? I've got a server with a bunch of virtual hosts with varying configurations, many ...
2
votes
1answer
21 views

When redirecting to another domain, to which domain will HSTS apply?

Assuming the following, what domain will be HSTS'ed for the next year, foo.com or bar.com? RTFM (RFC6797) doesn't help much. > GET / HTTP/1.1 > Host: foo.com [ ... ] < HTTP/1.1 301 Moved ...
1
vote
0answers
297 views

LinkedIn & Slack ignore translated meta tags

Our website is a WordPress site with 2 different languages. Original is German and we use Weglot plugin for translation into English. So the problem is that LinkedIn and Slack are picking the German ...
4
votes
1answer
86 views

Reasons to use a custom 404 page that redirects with code vs a 301 redirect?

We are moving a website from Joomla to Mura and some of the pages are going to be located at different URLs. I can set up 301 redirects in the rules section of the web.config file in order to ...
0
votes
1answer
24 views

SEO when forward domain in global rank vs local region?

I have one .ir domain and google map services not works on .ir domains, I want to get .org domain and set SSL EV for this .org domain then forward .ir to .org domain. one web app is installed on this ...
1
vote
1answer
38 views

Wordpress regular expression redirect with redirect plugin

I need to redirect all traffic for a suspended site and what I have tried so far is installing the redirect plugin and adding a redirect (tools->redirection->add new source: ^/(?!.*login.*|...
1
vote
1answer
482 views

.htaccess - redirect the contents of a subdirectory of old domain to new domain (WordPress) [duplicate]

I have problems with the redirection of my old website to our new website under a new domain. The old website was created with Wordpress and the simple redirect 301 was successful. However, some pages ...
1
vote
2answers
250 views

Does redirecting the client using the PHP header function always work in client's modern browsers?

I want to redirect users back to login page if they wrote the wrong password. I usually use header(location: "login.php?msg=wrong password"); when they type the wrong password or something. Does this ...
3
votes
1answer
46 views

If redirects for variations are in place, can I safely consolidate down to one Google Search Console property?

I am redirecting using .htaccess to always use www, always use HTTPS. At this point, can I remove the duplicate Google Search Console properties (non-www and http)?
0
votes
1answer
191 views

SEO: Is a redirect without using 301 but a PHP script, OK?

I've been reading about redirection, and how it can affect (or not if done properly) SEO. I'm changing my website's content platform from Drupal to a PHP custom made code. In my current site I have ...
1
vote
1answer
88 views

IIS 10 giving internal error when attempting to redirect to HTTPS

I've looked at innumerable resources on how to set up a HTTP to HTTPS Redirect, but still it doesn't seem to work. Using IIS10 and the URL Rewrite module, here are my steps: I've generated a Self-...
1
vote
1answer
208 views

When I search for a 301 redirected domain Google shows a message from GoDaddy rather than following the 301 redirect

I have a domain name registered at Godaddy. I also have a website that I created at Google Sites. I forward the URL to go to the Google Site. I did this using the Godaddy Domain Manager Forwarding ...
1
vote
1answer
292 views

RewriteEngine .htaccess rules end up redirecting to example.net/https:/example.net

I'm starting to learn about the Apache .htaccess and I have some issues in my website... RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteCond %{...
2
votes
2answers
73 views

Installing WordPress with /wp path leads to redirect loop when index.html redirects to a shopping cart

So on my site, my shopping cart is located at example.com/zc2 I use this .htaccess file RewriteEngine On Redirect /index.html example.com/zc2/ So that anyone that lands on example.com will be ...
2
votes
0answers
147 views

How to identify the source of 301 redirect loop on a WordPress site when server side caching plugin is enabled? [closed]

Our WordPress site has developed a 301 redirect loop error when web-server caching is enabled. With server caching disabled and caching plugin installed and active the issue doesn't occur, but the ...
2
votes
1answer
42 views

What will happen to SEO if a blog has 100K attachment page redirects with 20k published articles?

Consider that there is an old blog, which has almost 10 or more images in every post they published. As everyone knows, WordPress creates an attachment link for every image we upload in a blog. For ...
1
vote
2answers
188 views

Rewriting URL of WordPress in a Subdirectory

I am renting some webspace and a domain from BlueHost.com on which I run a WordPress site. Let's call it example.com. WordPress is installed in the root folder. As I can run multiple sites on this ...
2
votes
1answer
322 views

How to redirect domain names which use my custom name servers?

My web hosting service allows setting custom name servers. For example, if my website is http://www.example.com/, I can set custom name servers ns1.example.com and ns2.example.com. When other domain ...
2
votes
1answer
2k views

Htaccess redirect pages from subfolder to root directory while preserving any query string

I have moved pages in various sub directories to the root directory and want to set up a 301 redirect for each page and keep any query string that might be present. For example: www.example.com/...
1
vote
1answer
862 views

Is it good for SEO to have domain alias that describes company service? [duplicate]

I have bought a domian that is like service.city.example Where service is eg. "haircut". Is it good to have this kind of domains as aliases to main domain company.example? What would be best for SEO,...
1
vote
2answers
77 views

Pinging Domain doesn't give A Record IP

Should pinging a domain give you the IP the same as the A Record? Are there conditions where it shouldn't? A client's website isn't pointing to the A record IP, it's point to a Cloudflare DNS server. ...
1
vote
0answers
16 views

Download link expired, going back to software presentation page, what redirect method to use?

When someone (user or bot) reaches an old download link like /download/yellow-wallpaper.zip?key=some-expired-download-key , user is sent back to file details page, e.g /yellow-wallpaper.html, where ...
1
vote
0answers
72 views

How can I migrate a single page application to a site with many URLs for SEO?

I will be migrating a single page application (SPA) to a normal URL structured site. Usually I would map the old URLs to the new URLs and use 301 redirects to the relevant URLs. In this case, that ...
1
vote
1answer
32 views

Point multiple domains to single page, with unique button based on source domain

I'm a software dev, but I'm green when it comes to web development and domain management. Let's say I've registered some domains: apples.example bananas.example cherries.example ...and [with a ...

1 2 3
4
5
29