Making "external link" the home page - work-a-round
Moderators: pe7er, 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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Making "external link" the home page - work-a-round
Hello
Is there a work-a-round for making "external link" menu item the home page?
Thanks
Is there a work-a-round for making "external link" menu item the home page?
Thanks
- imanickam
- Joomla! Master
- Posts: 28209
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Making "external link" the home page - work-a-round
I doubt it. When someone types your site's URL and you want it to show a different site, you might as well use domain forwarding service from you host service provider - no need to build a site.
You could try using a menu item of the type Wrapper. With this menu item type, the external site would show within your site.
You could try using a menu item of the type Wrapper. With this menu item type, the external site would show within your site.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, imanickam.
Is domain forwarding service the same as redirect?
Is domain forwarding service the same as redirect?
- imanickam
- Joomla! Master
- Posts: 28209
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Making "external link" the home page - work-a-round
Figuratively, Yes; but Not Technically.
You can get more information between the differences between forwarding and redirect in the web.
You can get more information between the differences between forwarding and redirect in the web.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you very much, imanickam.
Appreciate you assistance very much.
Appreciate you assistance very much.
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
You could create a menu item iframe as default menu item
Or if you want a splash page
Create a html page (with a link to index.php) call the html page index.html then edit the .htaccess to use the index.html before index.php.
What is it you are trying to achieve ? (and no setting item type external url is not what you are trying to achieve it is what you think the solution is )
Or if you want a splash page
Create a html page (with a link to index.php) call the html page index.html then edit the .htaccess to use the index.html before index.php.
What is it you are trying to achieve ? (and no setting item type external url is not what you are trying to achieve it is what you think the solution is )
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, Webdongle.
I think you are right
" (and no setting item type external url is not what you are trying to achieve it is what you think the solution is "
Here is my problem:
I have 2 sites site-a is the major site, site-b is a part of site-A (but a separate site).
Actually, site-b can be called from a menu item in site-a.
Problem is- when site-a is launched I want it to redirect to site-b.
That can be done by redirect, but I need site-a to be available, either in a different window/tab or can be launched from site-b
I hope that I have explained it clearly.
I think you are right
" (and no setting item type external url is not what you are trying to achieve it is what you think the solution is "
Here is my problem:
I have 2 sites site-a is the major site, site-b is a part of site-A (but a separate site).
Actually, site-b can be called from a menu item in site-a.
Problem is- when site-a is launched I want it to redirect to site-b.
That can be done by redirect, but I need site-a to be available, either in a different window/tab or can be launched from site-b
I hope that I have explained it clearly.
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
A redirect in the .htaccess of site #B ... if accessed by other than site #A perhaps ? Based on the IP of site #A ?
Which one of us will find the code first ?
AddendumWhere 123.45.67.89 is the IP of site #A anything that is not equal (!=) is redirected. I put the url part but code from http://stackoverflow.com/questions/8985 ... s-but-mine
btw
More than one way to skin a rabbit
Which one of us will find the code first ?
Addendum
Code: Select all
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !=123.45.67.89
RewriteRule index.php$ http://www.yoursitea.com [R=301,L]
btw
More than one way to skin a rabbit
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, Webdongle, wonderful.
I may seem slow, but I want to make sure I get it right.
Please indulge me a question.
Shouldn't it be a redirect in the .htaccess of site #A, since it is site #A the visitor will type (http:site#A.com) then site #B will be displayed?
btw
"More than one way to skin a rabbit" is also my belief and commitment.
I may seem slow, but I want to make sure I get it right.
Please indulge me a question.
Shouldn't it be a redirect in the .htaccess of site #A, since it is site #A the visitor will type (http:site#A.com) then site #B will be displayed?
btw
"More than one way to skin a rabbit" is also my belief and commitment.
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
My bad I misread the #A/#B part because I thought that it #B was secondary but it is primary. Yes put the redirect in site #A using the IP of site #B as the not (!) condition. http://centralops.net/co/ will give you the IP
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, Webdongle.
That explains it.
There is just 1 more hurdle - both sites have the same IP address.
Will this cause a problem, since the URL is also entered.
That explains it.
There is just 1 more hurdle - both sites have the same IP address.
Will this cause a problem, since the URL is also entered.
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
%{REMOTE_ADDR} might have a url equivalent so you can see if it has. But try it with the IP
Addendum
http://stackoverflow.com/questions/3812 ... emote-addr
Addendum
http://stackoverflow.com/questions/3812 ... emote-addr
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Hello Webdongle.
I do not seem to be getting to work.
Is it possible for you to take a look at the setup for me, to see if everything is in the right place?
I do not seem to be getting to work.
Is it possible for you to take a look at the setup for me, to see if everything is in the right place?
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
I can only advise because I have never done that and it is not a Joomla issue. Occasionally I have a quick look at the Joomla Admin but I don't touch anything to do with the sever, .htaccess etc. Look at the links again and double check the syntax. Also make sure rewrite is working and allow for the server caching the .htaccess(if it does). Failing that see how your Domains are set in the DNS settings.
The way you "... do not seem to be getting to work" will help you locate why it fails. e.g. if it's a cannot resolve error then it could be the DNS settings. But if the sites work but fail to redirect then it could be rewrite is not enabled or the command is missing from the .htaccess.
The way you "... do not seem to be getting to work" will help you locate why it fails. e.g. if it's a cannot resolve error then it could be the DNS settings. But if the sites work but fail to redirect then it could be rewrite is not enabled or the command is missing from the .htaccess.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, Webdongle. I understand.
Please, could you take a look at the content of the .htaccess
# Options +FollowSymlinks
# RewriteEngine on
# RewriteCond %{REMOTE_ADDR} !=37.60.247.66
# RewriteRule index.php$ https://www.conference2017.maroons=jamaica.com [R=301,L]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://maroons-jamaica.com/$1 [R=301,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^maroons\-jamaica\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.maroons\-jamaica\.com$
RewriteRule ^/?$ "http\:\/\/www\.maroons\-jamaica\.com\/q" [R=301,L]
Please, could you take a look at the content of the .htaccess
# Options +FollowSymlinks
# RewriteEngine on
# RewriteCond %{REMOTE_ADDR} !=37.60.247.66
# RewriteRule index.php$ https://www.conference2017.maroons=jamaica.com [R=301,L]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://maroons-jamaica.com/$1 [R=301,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^maroons\-jamaica\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.maroons\-jamaica\.com$
RewriteRule ^/?$ "http\:\/\/www\.maroons\-jamaica\.com\/q" [R=301,L]
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
Code: Select all
# RewriteCond %{REMOTE_ADDR} !=37.60.247.66
# RewriteRule index.php$ https://www.conference2017.maroons=jamaica.com [R=301,L]
RewriteEngine On ... only needs to be declared once and before the RewritRule
You don't need
Code: Select all
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://maroons-jamaica.com/$1 [R=301,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^maroons\-jamaica\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.maroons\-jamaica\.com$
RewriteRule ^/?$ "http\:\/\/www\.maroons\-jamaica\.com\/q" [R=301,L]
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Hello Webdongle,
I commented out the code you gave me because it did not work and these are live sites.
This code is used to force the HTTPS connection for the site
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://maroons-jamaica.com/$1 [R=301,L]
The site is located at maroons-jamaica.com/q. The code below is used to redirect maroons-jamaica.com to maroons-jamaica.com/q so that the visitor will only need to enter maroons-jamaica.com.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^maroons\-jamaica\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.maroons\-jamaica\.com$
RewriteRule ^/?$ "http\:\/\/www\.maroons\-jamaica\.com\/q" [R=301,L]
conference.maroons-jamaica.com is a separate site, but is setup to be launch from a menu item (external link) of maroons-jamaica.com. Everything works fine.
The problem is that I want that menu item to be the HOME, so that when maroons-jamaica.com is launched conference.maroons-jamaica.com is displayed.
Joomla does not allow EXTERNAL LINK to be HOME. The only other thing that I know can be used is the WRAPPER, but the look and feel is not acceptabe.
Can we get your method to work?
I have found a solution, but it is not exactly what I need. Using ENGAGE BOX a get conference.maroons-jamaica.com to open on top of maroons-jamaica.com/q, but I need something better.
Please see it here https://maroons-jamaica.com
I commented out the code you gave me because it did not work and these are live sites.
This code is used to force the HTTPS connection for the site
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://maroons-jamaica.com/$1 [R=301,L]
The site is located at maroons-jamaica.com/q. The code below is used to redirect maroons-jamaica.com to maroons-jamaica.com/q so that the visitor will only need to enter maroons-jamaica.com.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^maroons\-jamaica\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.maroons\-jamaica\.com$
RewriteRule ^/?$ "http\:\/\/www\.maroons\-jamaica\.com\/q" [R=301,L]
conference.maroons-jamaica.com is a separate site, but is setup to be launch from a menu item (external link) of maroons-jamaica.com. Everything works fine.
The problem is that I want that menu item to be the HOME, so that when maroons-jamaica.com is launched conference.maroons-jamaica.com is displayed.
Joomla does not allow EXTERNAL LINK to be HOME. The only other thing that I know can be used is the WRAPPER, but the look and feel is not acceptabe.
Can we get your method to work?
I have found a solution, but it is not exactly what I need. Using ENGAGE BOX a get conference.maroons-jamaica.com to open on top of maroons-jamaica.com/q, but I need something better.
Please see it here https://maroons-jamaica.com
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Hello Webdongle.
Please see attachment.
Please see attachment.
You do not have the required permissions to view the files attached to this post.
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
What you are trying to do will cause an infinite loop.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, Webdongle.
That is why I am seeking help.
How can I avoid the LOOP?
or
Is there any Joomla Component that will allow me to link to an external site and can be assigned as HOME?
That is why I am seeking help.
How can I avoid the LOOP?
or
Is there any Joomla Component that will allow me to link to an external site and can be assigned as HOME?
-
- Joomla! Apprentice
- Posts: 20
- Joined: Mon Mar 20, 2017 6:19 am
Re: Making "external link" the home page - work-a-round
No, slowlyjam. I think joomla does not have.slowlyjam wrote:Thank you, Webdongle.
That is why I am seeking help.
How can I avoid the LOOP?
or
Is there any Joomla Component that will allow me to link to an external site and can be assigned as HOME?
Do not get confused! here explained how to redirect one website homepage to another with htaccess file.
https://my.bluehost.com/cgi/help/htaccess_redirect
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Making "external link" the home page - work-a-round
A good link by @Jaypatel5. I would also ask why not using the redirect options as offered in any control panel of your hosting account? That is the very easy way
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
- Webdongle
- Joomla! Master
- Posts: 44116
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Making "external link" the home page - work-a-round
Me thinks he only wants to redirect (from the subdomain to the main domain) when the subdomain is accessed by other than the main domain. Then have the landing page of the main domain be that of the subdomain (which would mean the main domain would be redirecting to the subdomain). Which in turn would mean that the main domain could never be reached. It's a bit like saying 'I want the main door of Asda to be in Tesco but I don't want people to go in Tesco.'leolam wrote:... I would also ask why not using the redirect options as offered in any control panel of your hosting account? ...
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Hello, Webdongle.
That is correct for the most part except the subdomain will have a menu item that would take the visitor back to the main domain when pressed. Something like "goto maroons-jamaica.com".
Is that possible, can it work?
That is correct for the most part except the subdomain will have a menu item that would take the visitor back to the main domain when pressed. Something like "goto maroons-jamaica.com".
Is that possible, can it work?
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Thank you, Jaypatel5.
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Hello, leolam.
"That is the very easy way"
Could you explain further?
"That is the very easy way"
Could you explain further?
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Making "external link" the home page - work-a-round
Why don't you read the messages and digest the links given to you? You don't take the advise we give to you as an option which is a bad habit
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Making "external link" the home page - work-a-round
Look at the link and READ (about cPanel redirects)for instance since you do not digest what is posted to you?slowlyjam wrote:Hello, leolam.
"That is the very easy way"
Could you explain further?
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 25
- Joined: Sat Mar 18, 2017 2:33 am
Re: Making "external link" the home page - work-a-round
Hello, Webdongle.
Please take a look at the attachment and let me know if you think it can/will work.
Thank you all.
Please take a look at the attachment and let me know if you think it can/will work.
Thank you all.
You do not have the required permissions to view the files attached to this post.
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Making "external link" the home page - work-a-round
Do you actually read and digest what we post?
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -