SOLVED! *** Redirection domain to subfolder not working

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
HeidyAA
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed May 20, 2015 4:55 pm

SOLVED! *** Redirection domain to subfolder not working

Post by HeidyAA » Wed May 20, 2015 5:14 pm

Hello,

I had redirected my domain to a subfolder where I have installed a Joomla Version 2.5.14 for my site, however, for some reason it is not working now. Now, when I type the name of the site http://www.costaricaluxuryestates.com it gives me a 403 error. The last changes I had done where to change the .htaccess file to include some security settings and I also updated the php version. As soon as I knew the site was give this 403 error, I changed the .htaccess to the previous one I had, but still does not work.

I am pasting here a copy of the .htaccess file I have on the site, hoping you can help me know where the error might be, or if you can tell me if the problem is with the version of php I installed, which is 5.3. By the way, I made a resetting of the file permissions, but still does not redirect. Thank you in advance for you help.

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On
#Cambiar de la URL www para la dirección URL sin www
RewriteCond %{HTTP_HOST} ^www.costaricaluxuryestates.com [NC]
RewriteRule ^(.*)$ http://costaricaluxuryestates.com/$1 [L,R=301]

#Redirection of pages from old site to new Joomla site in subfolder
Redirect 301 /index.htm /clecostarica/index.php
Redirect 301 /About-us.htm /clecostarica/index.php/about-us
Redirect 301 /Properties-Index.html /clecostarica/properties
Redirect 301 /Search-Listings.html /clecostarica/advanced-search
Redirect 301 /Articles-News.htm /clecostarica/articles-news

and the list goes on for all the old pages.
Last edited by HeidyAA on Wed May 20, 2015 7:43 pm, edited 1 time in total.

HeidyAA
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed May 20, 2015 4:55 pm

Re: Redirection domain to subfolder not working

Post by HeidyAA » Wed May 20, 2015 5:43 pm

Okay, following recommendations from a post from another user, I moved the Options +FollowSymLinks down right before the 301 redirects, but did not worked, so I commented out and still not working. Please help!

HeidyAA
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed May 20, 2015 4:55 pm

SOLVED! *** Re: Redirection domain to subfolder not workin

Post by HeidyAA » Wed May 20, 2015 7:42 pm

I solved the problem. Tks!


Locked

Return to “Installation Joomla! 2.5”