can anyone please tell me what to do , i am trying to redirect my site to my url from 6.1.6 but i don't know how to do it , www.madelu.com ( 6.1.6 ) and now it is www.madelu.com/dolphin7
THANK
can anyone please tell me what to do , i am trying to redirect my site to my url from 6.1.6 but i don't know how to do it , www.madelu.com ( 6.1.6 ) and now it is www.madelu.com/dolphin7 THANK |
can anyone please tell me what to do , i am trying to redirect my site to my url from 6.1.6 but i don't know how to do it , www.madelu.com ( 6.1.6 ) and now it is www.madelu.com/dolphin7 THANK go into the inc folder and you will see a header file inc/header.inc.php you need to edit that file. find this: $site['url'] = "your site here"; change this to the site you want to redirect to also find $dir['root'] = "/home6/bbpinpal/public_html/blackberrypinpal/"; and change that part as well |
or you could go into your cpanel and add a redir there. |
THANK YOU VERY MUCH |
Did that work for ya |
$dir['root'] = "/home6/bbpinpal/public_html/blackberrypinpal/"; if i change this one i get blanc page |
Using a .htaccess file, have all requests for the old address be pointed to the new one. Add the following to a .htaccess file and place it at the root of your web server: Options +FollowSymLinks Replace the domain information with your domain name and the new directory on your web server. Also, undo your changes to the header.inc.php file, as this is not the way to redirect your web site. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I was going to comment on this earlier, but I was too curious to find out how that bizarre "redirect" worked out. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
hello Magnussoft thank you for your help. The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
|
Your $site['url'] is set to http://www.madelu.com in http://www.madelu.com/dolphin7/inc/header.inc.php which will put the redirect in an endless loop. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Your $site['url'] is set to http://www.madelu.com in http://www.madelu.com/dolphin7/inc/header.inc.php which will put the redirect in an endless loop. thank you for your help houstonlively. i hope you don't mind but i have a question. when i go to my header.inc.php file, it already shows me this without editing something:
am i looking on the wrong place now? |
Your $site['url'] is set to http://www.madelu.com in http://www.madelu.com/dolphin7/inc/header.inc.php which will put the redirect in an endless loop. thank you for your help houstonlively. i hope you don't mind but i have a question. when i go to my header.inc.php file, it already shows me this without editing something:
am i looking on the wrong place now? you wanna go into the other inc file of your existing dolphin. |
can anyone please tell me what to do , i am trying to redirect my site to my url from 6.1.6 but i don't know how to do it , www.madelu.com ( 6.1.6 ) and now it is www.madelu.com/dolphin7 THANK is this an upgrade from 6 to 7? |
Using a .htaccess file, have all requests for the old address be pointed to the new one. Add the following to a .htaccess file and place it at the root of your web server: Options +FollowSymLinks Replace the domain information with your domain name and the new directory on your web server. Also, undo your changes to the header.inc.php file, as this is not the way to redirect your web site. This will do it for you, your code on the new .htaccess file will be Options +FollowSymLinks --------- If you have installed Dol.6.1.6 be sure you rename the .htaccess you have ther then upload the new .htaccess file to public_html, (I assum you have Dol.6.1.6 installed on public_html and not on sub folder) |
You don't need to modify any D7 code, just create or replace index.php using any php editor and copy it into your host root, mostly is /public_html/. The index.php will include these three lines. <?php If there is a file named default.html under /public_html/, rename it or copy to save and delete it. |
can anyone please tell me what to do , i am trying to redirect my site to my url from 6.1.6 but i don't know how to do it , www.madelu.com ( 6.1.6 ) and now it is www.madelu.com/dolphin7 THANK is this an upgrade from 6 to 7? yes it is |
Using a .htaccess file, have all requests for the old address be pointed to the new one. Add the following to a .htaccess file and place it at the root of your web server: Options +FollowSymLinks Replace the domain information with your domain name and the new directory on your web server. Also, undo your changes to the header.inc.php file, as this is not the way to redirect your web site. This will do it for you, your code on the new .htaccess file will be Options +FollowSymLinks --------- If you have installed Dol.6.1.6 be sure you rename the .htaccess you have ther then upload the new .htaccess file to public_html, (I assum you have Dol.6.1.6 installed on public_html and not on sub folder) i did this but when i do it, i always get the firefox error |
You don't need to modify any D7 code, just create or replace index.php using any php editor and copy it into your host root, mostly is /public_html/. The index.php will include these three lines. <?php If there is a file named default.html under /public_html/, rename it or copy to save and delete it. i found an index.php file in both my dolphin 6 and dolphin 7, but i'm afraid i don't have those 3 lines. when i add them to any of the index.php files, i only get a blank page i do not have a default.html file
it is much appreciated! |
can anyone please tell me what to do , i am trying to redirect my site to my url from 6.1.6 but i don't know how to do it , www.madelu.com ( 6.1.6 ) and now it is www.madelu.com/dolphin7 THANK why not make changes to the domain to point to /dolphin7 dir. and not root |
Why not just swap the 2 locations and update the script. Then no need for redirects, google will still like you in a short amount of time it will find all your new links. DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
Brana: Don't touch any index.php files under dolphin 6 and dolphin 7. Just create the one index.php as I pointed and copy it to your host account root, such as /public_html/, not your d6 or d7 root. When you open your site, this new created index.php under /public_html/ will be called and then reroute to dolphin 7. |
I think Brana has already got enough bad advice. Your index.php "solution" only works if the entry point is the site's web root. Any other entry point won't get redirected. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |