User Tools

Site Tools


redirect_sogo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
redirect_sogo [2022/07/01 15:30] chrisredirect_sogo [2022/07/01 16:37] (current) chris
Line 11: Line 11:
    sudo nano /etc/apache2/apache2.conf    sudo nano /etc/apache2/apache2.conf
  
-Search for or enter the line LoadModule rewrite_module modules/mod_rewrite.so en un-comment it or write it you self into the file. +Search for or enter the line  
 + 
 +   LoadModule rewrite_module modules/mod_rewrite.so 
 + 
 +and un-comment it or write it you self into the file. 
  
 Also change the lines AllowOverwrride NONE to AllowOverride ALL Also change the lines AllowOverwrride NONE to AllowOverride ALL
Line 19: Line 23:
    nano /var/www/html/.htaccess    nano /var/www/html/.htaccess
  
-   Redirect /yoursite https://the.new.site/you/want/to/go+   Redirect / https://the.new.site/you/want/to/go
  
 Restart the server with: Restart the server with:
redirect_sogo.1656682226.txt.gz · Last modified: 2022/07/01 15:30 by chris