This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Help with Vhost and redirecting
#4
RE: Help with Vhost and redirecting
It would be smarter to move the files as Me.B mentioned and do the DB edits. Or, you can try .htaccess rules in the domain's root folder (/var/sentora/hostdata/[username]/public_html/gfisys_info/.htaccess):
Code:
# This allows you to redirect your entire website to any other domain
Redirect 301 / http://gfisys.info/wp/

Or maybe even (not tested):
Code:
# This redirects all traffic to domain.com/wp but shows the visitor domain.com
RewriteEngine on
RewriteRule ^/?wp.* / [P]
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
Help with Vhost and redirecting - by fachex - 02-24-2017, 12:45 PM
RE: Help with Vhost and redirecting - by Me.B - 02-24-2017, 11:00 PM
RE: Help with Vhost and redirecting - by fachex - 02-24-2017, 11:53 PM
RE: Help with Vhost and redirecting - by TGates - 02-26-2017, 03:05 AM
RE: Help with Vhost and redirecting - by TGates - 02-25-2017, 04:48 AM
RE: Help with Vhost and redirecting - by Me.B - 02-28-2017, 09:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
sentora creates vhost but it displays the apache start page timce2000 4 9 ,879 06-17-2018, 11:31 AM
Last Post: TGates
Strange vhost issue graveyardboogie 11 20 ,524 05-10-2018, 01:43 AM
Last Post: TGates
Make a change in httpd-vhost.conf whitewolf101 2 7 ,023 11-20-2017, 07:28 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)