Folder URL Rewrite

I have tried about 20 or so different options for doing a rewrite/redirect and all of which have failed. I am trying to redirect/rewrite

mydomain.com/folder

to

mydomain.com/Folder

 

Any suggestions? Thanks in advance.

caredesign.net
Quote · 11 Sep 2013

 

I have tried about 20 or so different options for doing a rewrite/redirect and all of which have failed. I am trying to redirect/rewrite

mydomain.com/folder

to

mydomain.com/Folder

 

Any suggestions? Thanks in advance.

 I know you changed this in the header.inc.php

$site['url']               = "http://yoursite.come/Folder";

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Sep 2013

thats the point - i dont want to have to change that - I want it to go to the same place whether a user types in mydomain.com/Folder or mydomain.com/folder

caredesign.net
Quote · 12 Sep 2013

got it situated - just used the cpanel to do the redirect. I normally dont mess with the cpanel and completely forgot I could do it there

caredesign.net
Quote · 12 Sep 2013

 

got it situated - just used the cpanel to do the redirect. I normally dont mess with the cpanel and completely forgot I could do it there

Cool, forewarned, Google (search engines) do not like redirects, you may see a drop in rank. 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Sep 2013

fortunately this is not a project in which we would really want to be ranked - it is technically a private site and only specific persons would be viewing it. It would be great if it never made it in the search engines. But just in case someone who is asked to go to the site types in the lowercase or uppercase, just want to make sure they get to the correct place.

caredesign.net
Quote · 12 Sep 2013

OK, I thought I had it situated, but this morning I checked and it wsa not working properly. So, after more trying and fiddling around with things - as well as contacting my server provider - this is what I have managed to get working consistently In case anyone else needed this information. In my .htaccess file I added this at the bottom:

RewriteCond %{HTTP_HOST} ^mydomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$
RewriteRule ^folder\/?(.*)$ "http\:\/\/mydomain\.com\/Folder\/index\.php$1" [R=301,L]

caredesign.net
Quote · 12 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.