Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-06-09 03:44:04

Adam8888
Member
Registered: 2019-05-16
Posts: 15

Redirect to home page

Hi,

I'm trying to redirect all the not found pages (404) to my home homepage. I'm interested to redirect even the not secure connections to existing pages, but not to force everything as I could do in the admin settings. I tried in different ways, all in the root/.htaccess but it's not working

Offline

#2 2019-06-10 05:58:10

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Redirect to home page

.htaccess would be the way, I reckon. Google should have plenty on this. Here's the most recently updated article I was able to locate with a quick search:
https://help.dreamhost.com/hc/en-us/art … ccess-file-


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2019-06-10 19:55:04

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: Redirect to home page

You can see my post on redirect album to home page for inspiration

Offline

#4 2019-06-11 06:31:23

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Offline

#5 2019-06-11 23:37:18

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: Redirect to home page

ErrorDocument 404 /yourpage

Should work

Offline

Board footer

Powered by FluxBB