0

Currently I have mod_rewrite configured as follows:

<VirtualHost *:80>
ServerName  address.website.org
ServerAdmin [email protected]

DocumentRoot /var/www

Redirect permanent / http://www.website.org/site

ErrorLog  /var/log/apache2/connect.website.org-error.log
CustomLog /var/log/apache2/connect.website.org-access.log combined

I need to include a redirect for the following:

http://address.website.org/site/site > http://www.website.org/site/site

I have edited the web addresses for privacy. As you can see, I basically just need to add a breadcrumb somehow, while maintaining the original redirect.

Thanks!

1 Answer 1

0

Answer:

<VirtualHost *:80>
ServerName  address.website.org
ServerAdmin [email protected]

DocumentRoot /var/www

Redirect permanent /site http://www.website.org/site/site
Redirect permanent / http://www.website.org/site

ErrorLog  /var/log/apache2/connect.website.org-error.log
CustomLog /var/log/apache2/connect.website.org-access.log combined

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .